instance1 776 lib/pacemaker/pcmk_sched_resource.c cmp_instance_by_colocation(const pe_resource_t *instance1, instance1 782 lib/pacemaker/pcmk_sched_resource.c pe_node_t *current_node1 = pe__current_node(instance1); instance1 787 lib/pacemaker/pcmk_sched_resource.c CRM_ASSERT((instance1 != NULL) && (instance1->parent != NULL) instance1 796 lib/pacemaker/pcmk_sched_resource.c apply_parent_colocations(instance1, &colocated_scores1); instance1 806 lib/pacemaker/pcmk_sched_resource.c instance1->id, node1->weight, pe__node_name(node1), instance1 812 lib/pacemaker/pcmk_sched_resource.c instance1->id, node1->weight, pe__node_name(node1), instance1 883 lib/pacemaker/pcmk_sched_resource.c const pe_resource_t *instance1 = (const pe_resource_t *) a; instance1 888 lib/pacemaker/pcmk_sched_resource.c CRM_ASSERT((instance1 != NULL) && (instance2 != NULL)); instance1 891 lib/pacemaker/pcmk_sched_resource.c div1 = strrchr(instance1->id, ':'); instance1 893 lib/pacemaker/pcmk_sched_resource.c div1 = strrchr(instance1->id, '-'); instance1 941 lib/pacemaker/pcmk_sched_resource.c const pe_resource_t *instance1 = (const pe_resource_t *) a; instance1 944 lib/pacemaker/pcmk_sched_resource.c CRM_ASSERT((instance1 != NULL) && (instance2 != NULL)); instance1 946 lib/pacemaker/pcmk_sched_resource.c node1 = pe__find_active_on(instance1, &nnodes1, NULL); instance1 956 lib/pacemaker/pcmk_sched_resource.c instance1->id, nnodes1, instance2->id, nnodes2); instance1 962 lib/pacemaker/pcmk_sched_resource.c instance1->id, nnodes1, instance2->id, nnodes2); instance1 970 lib/pacemaker/pcmk_sched_resource.c can1 = node_is_allowed(instance1, &node1); instance1 974 lib/pacemaker/pcmk_sched_resource.c instance1->id, instance2->id); instance1 979 lib/pacemaker/pcmk_sched_resource.c instance1->id, instance2->id); instance1 984 lib/pacemaker/pcmk_sched_resource.c if (instance1->priority > instance2->priority) { instance1 986 lib/pacemaker/pcmk_sched_resource.c instance1->id, instance2->id, instance1 987 lib/pacemaker/pcmk_sched_resource.c instance1->priority, instance2->priority); instance1 990 lib/pacemaker/pcmk_sched_resource.c } else if (instance1->priority < instance2->priority) { instance1 992 lib/pacemaker/pcmk_sched_resource.c instance1->id, instance2->id, instance1 993 lib/pacemaker/pcmk_sched_resource.c instance1->priority, instance2->priority); instance1 1000 lib/pacemaker/pcmk_sched_resource.c instance1->id, instance2->id); instance1 1004 lib/pacemaker/pcmk_sched_resource.c crm_trace("Assign %s after %s: active", instance1->id, instance2->id); instance1 1008 lib/pacemaker/pcmk_sched_resource.c crm_trace("Assign %s before %s: active", instance1->id, instance2->id); instance1 1017 lib/pacemaker/pcmk_sched_resource.c instance1->id, instance2->id); instance1 1022 lib/pacemaker/pcmk_sched_resource.c instance1->id, instance2->id); instance1 1027 lib/pacemaker/pcmk_sched_resource.c node1 = pcmk__top_allowed_node(instance1, node1); instance1 1032 lib/pacemaker/pcmk_sched_resource.c instance1->id, instance2->id); instance1 1037 lib/pacemaker/pcmk_sched_resource.c instance1->id, instance2->id); instance1 1042 lib/pacemaker/pcmk_sched_resource.c instance1->id, instance2->id); instance1 1049 lib/pacemaker/pcmk_sched_resource.c instance1->id, instance2->id); instance1 1054 lib/pacemaker/pcmk_sched_resource.c instance1->id, instance2->id); instance1 1059 lib/pacemaker/pcmk_sched_resource.c can1 = did_fail(instance1); instance1 1062 lib/pacemaker/pcmk_sched_resource.c crm_trace("Assign %s before %s: failed", instance1->id, instance2->id); instance1 1066 lib/pacemaker/pcmk_sched_resource.c instance1->id, instance2->id); instance1 1071 lib/pacemaker/pcmk_sched_resource.c rc = cmp_instance_by_colocation(instance1, instance2); instance1 1077 lib/pacemaker/pcmk_sched_resource.c rc = pcmk__cmp_instance_number(instance1, instance2); instance1 1080 lib/pacemaker/pcmk_sched_resource.c instance1->id, instance2->id); instance1 1083 lib/pacemaker/pcmk_sched_resource.c instance1->id, instance2->id); instance1 1086 lib/pacemaker/pcmk_sched_resource.c instance1->id, instance2->id);