node1 75 include/pcmki/pcmki_sched_utils.h extern int compare_capacity(const pe_node_t * node1, const pe_node_t * node2); node1 100 lib/pacemaker/pcmk_sched_clone.c pe_node_t *node1 = NULL; node1 180 lib/pacemaker/pcmk_sched_clone.c node1 = g_hash_table_lookup(hash1, current_node1->details->id); node1 183 lib/pacemaker/pcmk_sched_clone.c if (node1->weight < node2->weight) { node1 184 lib/pacemaker/pcmk_sched_clone.c if (node1->weight < 0) { node1 186 lib/pacemaker/pcmk_sched_clone.c rsc1->id, rsc2->id, node1->weight, node2->weight); node1 192 lib/pacemaker/pcmk_sched_clone.c rsc1->id, rsc2->id, node1->weight, node2->weight); node1 197 lib/pacemaker/pcmk_sched_clone.c } else if (node1->weight > node2->weight) { node1 199 lib/pacemaker/pcmk_sched_clone.c rsc1->id, rsc2->id, node1->weight, node2->weight); node1 215 lib/pacemaker/pcmk_sched_clone.c node1 = (pe_node_t *) gIter1->data; node1 218 lib/pacemaker/pcmk_sched_clone.c if (node1 == NULL) { node1 229 lib/pacemaker/pcmk_sched_clone.c if (node1->weight < node2->weight) { node1 234 lib/pacemaker/pcmk_sched_clone.c } else if (node1->weight > node2->weight) { node1 254 lib/pacemaker/pcmk_sched_clone.c pe_node_t *node1 = NULL; node1 296 lib/pacemaker/pcmk_sched_clone.c node1 = current_node1; node1 298 lib/pacemaker/pcmk_sched_clone.c if (node1 != NULL) { node1 299 lib/pacemaker/pcmk_sched_clone.c pe_node_t *match = pe_hash_table_lookup(resource1->allowed_nodes, node1->details->id); node1 303 lib/pacemaker/pcmk_sched_clone.c node1 = NULL; node1 340 lib/pacemaker/pcmk_sched_clone.c if (node1 == NULL && node2 == NULL) { node1 344 lib/pacemaker/pcmk_sched_clone.c } else if (node1 == NULL) { node1 354 lib/pacemaker/pcmk_sched_clone.c can1 = can_run_resources(node1); node1 368 lib/pacemaker/pcmk_sched_clone.c node1 = parent_node_instance(resource1, node1); node1 370 lib/pacemaker/pcmk_sched_clone.c if (node1 == NULL && node2 == NULL) { node1 374 lib/pacemaker/pcmk_sched_clone.c } else if (node1 == NULL) { node1 386 lib/pacemaker/pcmk_sched_clone.c if (node1->count < node2->count) { node1 390 lib/pacemaker/pcmk_sched_clone.c } else if (node1->count > node2->count) { node1 24 lib/pacemaker/pcmk_sched_utilization.c const pe_node_t *node1; node1 69 lib/pacemaker/pcmk_sched_utilization.c if (g_hash_table_lookup_extended(data->node1->details->utilization, key, NULL, NULL)) { node1 87 lib/pacemaker/pcmk_sched_utilization.c compare_capacity(const pe_node_t * node1, const pe_node_t * node2) node1 91 lib/pacemaker/pcmk_sched_utilization.c data.node1 = node1; node1 95 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);