node1 76 include/pcmki/pcmki_sched_utils.h extern int compare_capacity(const pe_node_t * node1, const pe_node_t * node2); node1 81 lib/pacemaker/pcmk_sched_clone.c pe_node_t *node1 = NULL; node1 119 lib/pacemaker/pcmk_sched_clone.c node1 = current_node1; node1 121 lib/pacemaker/pcmk_sched_clone.c if (node1) { node1 122 lib/pacemaker/pcmk_sched_clone.c pe_node_t *match = pe_hash_table_lookup(resource1->allowed_nodes, node1->details->id); node1 126 lib/pacemaker/pcmk_sched_clone.c node1 = NULL; node1 159 lib/pacemaker/pcmk_sched_clone.c if (node1 == NULL && node2 == NULL) { node1 164 lib/pacemaker/pcmk_sched_clone.c if (node1 != node2) { node1 165 lib/pacemaker/pcmk_sched_clone.c if (node1 == NULL) { node1 174 lib/pacemaker/pcmk_sched_clone.c can1 = can_run_resources(node1); node1 185 lib/pacemaker/pcmk_sched_clone.c node1 = parent_node_instance(resource1, node1); node1 187 lib/pacemaker/pcmk_sched_clone.c if (node1 != NULL && node2 == NULL) { node1 190 lib/pacemaker/pcmk_sched_clone.c } else if (node1 == NULL && node2 != NULL) { node1 195 lib/pacemaker/pcmk_sched_clone.c if (node1 == NULL || node2 == NULL) { node1 200 lib/pacemaker/pcmk_sched_clone.c if (node1->count < node2->count) { node1 204 lib/pacemaker/pcmk_sched_clone.c } else if (node1->count > node2->count) { node1 220 lib/pacemaker/pcmk_sched_clone.c if (node1 && node2) { node1 297 lib/pacemaker/pcmk_sched_clone.c node1 = g_hash_table_lookup(hash1, current_node1->details->id); node1 300 lib/pacemaker/pcmk_sched_clone.c if (node1->weight < node2->weight) { node1 301 lib/pacemaker/pcmk_sched_clone.c if (node1->weight < 0) { node1 302 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s > %s: current score: %d %d", resource1->id, resource2->id, node1->weight, node2->weight); node1 307 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s < %s: current score: %d %d", resource1->id, resource2->id, node1->weight, node2->weight); node1 312 lib/pacemaker/pcmk_sched_clone.c } else if (node1->weight > node2->weight) { node1 313 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s > %s: current score: %d %d", resource1->id, resource2->id, node1->weight, node2->weight); node1 330 lib/pacemaker/pcmk_sched_clone.c node1 = g_list_nth_data(list1, lpc); node1 332 lib/pacemaker/pcmk_sched_clone.c if (node1 == NULL) { node1 343 lib/pacemaker/pcmk_sched_clone.c if (node1->weight < node2->weight) { node1 348 lib/pacemaker/pcmk_sched_clone.c } else if (node1->weight > node2->weight) { node1 24 lib/pacemaker/pcmk_sched_utilization.c const pe_node_t *node1; node1 54 lib/pacemaker/pcmk_sched_utilization.c if (g_hash_table_lookup_extended(data->node1->details->utilization, key, NULL, NULL)) { node1 72 lib/pacemaker/pcmk_sched_utilization.c compare_capacity(const pe_node_t * node1, const pe_node_t * node2) node1 76 lib/pacemaker/pcmk_sched_utilization.c data.node1 = node1; node1 80 lib/pacemaker/pcmk_sched_utilization.c g_hash_table_foreach(node1->details->utilization, do_compare_capacity1, &data); node1 155 lib/pacemaker/pcmk_sched_utils.c const pe_node_t *node1 = (const pe_node_t *)a; node1 171 lib/pacemaker/pcmk_sched_utils.c node1_weight = node1->weight; node1 174 lib/pacemaker/pcmk_sched_utils.c if (can_run_resources(node1) == FALSE) { node1 183 lib/pacemaker/pcmk_sched_utils.c node1->details->uname, node1_weight, node2->details->uname, node2_weight); node1 189 lib/pacemaker/pcmk_sched_utils.c node1->details->uname, node1_weight, node2->details->uname, node2_weight); node1 194 lib/pacemaker/pcmk_sched_utils.c node1->details->uname, node1_weight, node2->details->uname, node2_weight); node1 201 lib/pacemaker/pcmk_sched_utils.c result = compare_capacity(node1, node2); node1 204 lib/pacemaker/pcmk_sched_utils.c node1->details->uname, node2->details->uname, result); node1 208 lib/pacemaker/pcmk_sched_utils.c node1->details->uname, node2->details->uname, result); node1 214 lib/pacemaker/pcmk_sched_utils.c if (node1->details->num_resources < node2->details->num_resources) { node1 216 lib/pacemaker/pcmk_sched_utils.c node1->details->uname, node1->details->num_resources, node1 220 lib/pacemaker/pcmk_sched_utils.c } else if (node1->details->num_resources > node2->details->num_resources) { node1 222 lib/pacemaker/pcmk_sched_utils.c node1->details->uname, node1->details->num_resources, node1 227 lib/pacemaker/pcmk_sched_utils.c if (nw->active && nw->active->details == node1->details) { node1 229 lib/pacemaker/pcmk_sched_utils.c node1->details->uname, node1->details->num_resources, node1 234 lib/pacemaker/pcmk_sched_utils.c node1->details->uname, node1->details->num_resources, node1 239 lib/pacemaker/pcmk_sched_utils.c crm_trace("%s = %s", node1->details->uname, node2->details->uname); node1 240 lib/pacemaker/pcmk_sched_utils.c return strcmp(node1->details->uname, node2->details->uname);