instance1 192 lib/pacemaker/pcmk_sched_instances.c cmp_instance_by_colocation(const pcmk_resource_t *instance1, instance1 198 lib/pacemaker/pcmk_sched_instances.c pcmk_node_t *current_node1 = pcmk__current_node(instance1); instance1 203 lib/pacemaker/pcmk_sched_instances.c pcmk__assert((instance1 != NULL) && (instance1->parent != NULL) instance1 212 lib/pacemaker/pcmk_sched_instances.c apply_parent_colocations(instance1, &colocated_scores1); instance1 222 lib/pacemaker/pcmk_sched_instances.c instance1->id, node1->weight, pcmk__node_name(node1), instance1 228 lib/pacemaker/pcmk_sched_instances.c instance1->id, node1->weight, pcmk__node_name(node1), instance1 300 lib/pacemaker/pcmk_sched_instances.c const pcmk_resource_t *instance1 = (const pcmk_resource_t *) a; instance1 305 lib/pacemaker/pcmk_sched_instances.c pcmk__assert((instance1 != NULL) && (instance2 != NULL)); instance1 308 lib/pacemaker/pcmk_sched_instances.c div1 = strrchr(instance1->id, ':'); instance1 310 lib/pacemaker/pcmk_sched_instances.c div1 = strrchr(instance1->id, '-'); instance1 358 lib/pacemaker/pcmk_sched_instances.c const pcmk_resource_t *instance1 = (const pcmk_resource_t *) a; instance1 361 lib/pacemaker/pcmk_sched_instances.c pcmk__assert((instance1 != NULL) && (instance2 != NULL)); instance1 363 lib/pacemaker/pcmk_sched_instances.c node1 = instance1->fns->active_node(instance1, &nnodes1, NULL); instance1 373 lib/pacemaker/pcmk_sched_instances.c instance1->id, nnodes1, instance2->id, nnodes2); instance1 379 lib/pacemaker/pcmk_sched_instances.c instance1->id, nnodes1, instance2->id, nnodes2); instance1 387 lib/pacemaker/pcmk_sched_instances.c can1 = node_is_allowed(instance1, &node1); instance1 391 lib/pacemaker/pcmk_sched_instances.c instance1->id, instance2->id); instance1 396 lib/pacemaker/pcmk_sched_instances.c instance1->id, instance2->id); instance1 401 lib/pacemaker/pcmk_sched_instances.c if (instance1->priority > instance2->priority) { instance1 403 lib/pacemaker/pcmk_sched_instances.c instance1->id, instance2->id, instance1 404 lib/pacemaker/pcmk_sched_instances.c instance1->priority, instance2->priority); instance1 407 lib/pacemaker/pcmk_sched_instances.c } else if (instance1->priority < instance2->priority) { instance1 409 lib/pacemaker/pcmk_sched_instances.c instance1->id, instance2->id, instance1 410 lib/pacemaker/pcmk_sched_instances.c instance1->priority, instance2->priority); instance1 417 lib/pacemaker/pcmk_sched_instances.c instance1->id, instance2->id); instance1 421 lib/pacemaker/pcmk_sched_instances.c crm_trace("Assign %s after %s: active", instance1->id, instance2->id); instance1 425 lib/pacemaker/pcmk_sched_instances.c crm_trace("Assign %s before %s: active", instance1->id, instance2->id); instance1 434 lib/pacemaker/pcmk_sched_instances.c instance1->id, instance2->id); instance1 439 lib/pacemaker/pcmk_sched_instances.c instance1->id, instance2->id); instance1 444 lib/pacemaker/pcmk_sched_instances.c node1 = pcmk__top_allowed_node(instance1, node1); instance1 449 lib/pacemaker/pcmk_sched_instances.c instance1->id, instance2->id); instance1 454 lib/pacemaker/pcmk_sched_instances.c instance1->id, instance2->id); instance1 459 lib/pacemaker/pcmk_sched_instances.c instance1->id, instance2->id); instance1 466 lib/pacemaker/pcmk_sched_instances.c instance1->id, instance2->id); instance1 471 lib/pacemaker/pcmk_sched_instances.c instance1->id, instance2->id); instance1 476 lib/pacemaker/pcmk_sched_instances.c can1 = did_fail(instance1); instance1 480 lib/pacemaker/pcmk_sched_instances.c instance1->id, instance2->id); instance1 484 lib/pacemaker/pcmk_sched_instances.c instance1->id, instance2->id); instance1 489 lib/pacemaker/pcmk_sched_instances.c rc = cmp_instance_by_colocation(instance1, instance2); instance1 495 lib/pacemaker/pcmk_sched_instances.c rc = pcmk__cmp_instance_number(instance1, instance2); instance1 498 lib/pacemaker/pcmk_sched_instances.c instance1->id, instance2->id); instance1 501 lib/pacemaker/pcmk_sched_instances.c instance1->id, instance2->id); instance1 504 lib/pacemaker/pcmk_sched_instances.c instance1->id, instance2->id);