instance1 232 lib/pacemaker/pcmk_sched_instances.c cmp_instance_by_colocation(const pe_resource_t *instance1, instance1 238 lib/pacemaker/pcmk_sched_instances.c pe_node_t *current_node1 = pe__current_node(instance1); instance1 243 lib/pacemaker/pcmk_sched_instances.c CRM_ASSERT((instance1 != NULL) && (instance1->parent != NULL) instance1 252 lib/pacemaker/pcmk_sched_instances.c apply_parent_colocations(instance1, &colocated_scores1); instance1 262 lib/pacemaker/pcmk_sched_instances.c instance1->id, node1->weight, pe__node_name(node1), instance1 268 lib/pacemaker/pcmk_sched_instances.c instance1->id, node1->weight, pe__node_name(node1), instance1 339 lib/pacemaker/pcmk_sched_instances.c const pe_resource_t *instance1 = (const pe_resource_t *) a; instance1 344 lib/pacemaker/pcmk_sched_instances.c CRM_ASSERT((instance1 != NULL) && (instance2 != NULL)); instance1 347 lib/pacemaker/pcmk_sched_instances.c div1 = strrchr(instance1->id, ':'); instance1 349 lib/pacemaker/pcmk_sched_instances.c div1 = strrchr(instance1->id, '-'); instance1 397 lib/pacemaker/pcmk_sched_instances.c const pe_resource_t *instance1 = (const pe_resource_t *) a; instance1 400 lib/pacemaker/pcmk_sched_instances.c CRM_ASSERT((instance1 != NULL) && (instance2 != NULL)); instance1 402 lib/pacemaker/pcmk_sched_instances.c node1 = instance1->fns->active_node(instance1, &nnodes1, NULL); instance1 412 lib/pacemaker/pcmk_sched_instances.c instance1->id, nnodes1, instance2->id, nnodes2); instance1 418 lib/pacemaker/pcmk_sched_instances.c instance1->id, nnodes1, instance2->id, nnodes2); instance1 426 lib/pacemaker/pcmk_sched_instances.c can1 = node_is_allowed(instance1, &node1); instance1 430 lib/pacemaker/pcmk_sched_instances.c instance1->id, instance2->id); instance1 435 lib/pacemaker/pcmk_sched_instances.c instance1->id, instance2->id); instance1 440 lib/pacemaker/pcmk_sched_instances.c if (instance1->priority > instance2->priority) { instance1 442 lib/pacemaker/pcmk_sched_instances.c instance1->id, instance2->id, instance1 443 lib/pacemaker/pcmk_sched_instances.c instance1->priority, instance2->priority); instance1 446 lib/pacemaker/pcmk_sched_instances.c } else if (instance1->priority < instance2->priority) { instance1 448 lib/pacemaker/pcmk_sched_instances.c instance1->id, instance2->id, instance1 449 lib/pacemaker/pcmk_sched_instances.c instance1->priority, instance2->priority); instance1 456 lib/pacemaker/pcmk_sched_instances.c instance1->id, instance2->id); instance1 460 lib/pacemaker/pcmk_sched_instances.c crm_trace("Assign %s after %s: active", instance1->id, instance2->id); instance1 464 lib/pacemaker/pcmk_sched_instances.c crm_trace("Assign %s before %s: active", instance1->id, instance2->id); instance1 473 lib/pacemaker/pcmk_sched_instances.c instance1->id, instance2->id); instance1 478 lib/pacemaker/pcmk_sched_instances.c instance1->id, instance2->id); instance1 483 lib/pacemaker/pcmk_sched_instances.c node1 = pcmk__top_allowed_node(instance1, node1); instance1 488 lib/pacemaker/pcmk_sched_instances.c instance1->id, instance2->id); instance1 493 lib/pacemaker/pcmk_sched_instances.c instance1->id, instance2->id); instance1 498 lib/pacemaker/pcmk_sched_instances.c instance1->id, instance2->id); instance1 505 lib/pacemaker/pcmk_sched_instances.c instance1->id, instance2->id); instance1 510 lib/pacemaker/pcmk_sched_instances.c instance1->id, instance2->id); instance1 515 lib/pacemaker/pcmk_sched_instances.c can1 = did_fail(instance1); instance1 519 lib/pacemaker/pcmk_sched_instances.c instance1->id, instance2->id); instance1 523 lib/pacemaker/pcmk_sched_instances.c instance1->id, instance2->id); instance1 528 lib/pacemaker/pcmk_sched_instances.c rc = cmp_instance_by_colocation(instance1, instance2); instance1 534 lib/pacemaker/pcmk_sched_instances.c rc = pcmk__cmp_instance_number(instance1, instance2); instance1 537 lib/pacemaker/pcmk_sched_instances.c instance1->id, instance2->id); instance1 540 lib/pacemaker/pcmk_sched_instances.c instance1->id, instance2->id); instance1 543 lib/pacemaker/pcmk_sched_instances.c instance1->id, instance2->id);