resource2 1166 lib/pacemaker/pcmk_sched_allocate.c const pe_resource_t *resource2 = b; resource2 1176 lib/pacemaker/pcmk_sched_allocate.c r2_weight = resource2->priority; resource2 1198 lib/pacemaker/pcmk_sched_allocate.c r2_nodes = pcmk__native_merge_weights(convert_const_pointer(resource2), resource2 1199 lib/pacemaker/pcmk_sched_allocate.c resource2->id, NULL, NULL, 1, resource2 1201 lib/pacemaker/pcmk_sched_allocate.c pe__show_node_weights(true, NULL, resource2->id, r2_nodes); resource2 1215 lib/pacemaker/pcmk_sched_allocate.c if (resource2->running_on) { resource2 1216 lib/pacemaker/pcmk_sched_allocate.c r2_node = pe__current_node(resource2); resource2 1271 lib/pacemaker/pcmk_sched_allocate.c resource2->id, r2_weight, r2_node ? r2_node->details->id : "n/a", reason); resource2 25 lib/pacemaker/pcmk_sched_clone.c const pe_resource_t *resource2 = (const pe_resource_t *)b; resource2 29 lib/pacemaker/pcmk_sched_clone.c CRM_ASSERT(resource2 != NULL); resource2 36 lib/pacemaker/pcmk_sched_clone.c num2 = strtol(strrchr(resource2->id, ':') + 1, NULL, 10); resource2 92 lib/pacemaker/pcmk_sched_clone.c const pe_resource_t *resource2 = (const pe_resource_t *)b; resource2 95 lib/pacemaker/pcmk_sched_clone.c CRM_ASSERT(resource2 != NULL); resource2 106 lib/pacemaker/pcmk_sched_clone.c current_node2 = pe__find_active_on(resource2, &nnodes2, NULL); resource2 110 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s < %s: running_on", resource1->id, resource2->id); resource2 114 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s > %s: running_on", resource1->id, resource2->id); resource2 132 lib/pacemaker/pcmk_sched_clone.c pe_node_t *match = pe_hash_table_lookup(resource2->allowed_nodes, node2->details->id); resource2 135 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s: current location is unavailable", resource2->id); resource2 143 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s < %s: availability of current location", resource1->id, resource2->id); resource2 146 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s > %s: availability of current location", resource1->id, resource2->id); resource2 150 lib/pacemaker/pcmk_sched_clone.c if (resource1->priority < resource2->priority) { resource2 151 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s < %s: priority", resource1->id, resource2->id); resource2 154 lib/pacemaker/pcmk_sched_clone.c } else if (resource1->priority > resource2->priority) { resource2 155 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s > %s: priority", resource1->id, resource2->id); resource2 160 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s == %s: not active", resource1->id, resource2->id); resource2 166 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s > %s: active", resource1->id, resource2->id); resource2 169 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s < %s: active", resource1->id, resource2->id); resource2 178 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s < %s: can", resource1->id, resource2->id); resource2 181 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s > %s: can", resource1->id, resource2->id); resource2 186 lib/pacemaker/pcmk_sched_clone.c node2 = parent_node_instance(resource2, node2); resource2 188 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s < %s: not allowed", resource1->id, resource2->id); resource2 191 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s > %s: not allowed", resource1->id, resource2->id); resource2 196 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s == %s: not allowed", resource1->id, resource2->id); resource2 201 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s < %s: count", resource1->id, resource2->id); resource2 205 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s > %s: count", resource1->id, resource2->id); resource2 210 lib/pacemaker/pcmk_sched_clone.c can2 = did_fail(resource2); resource2 213 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s > %s: failed", resource1->id, resource2->id); resource2 216 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s < %s: failed", resource1->id, resource2->id); resource2 270 lib/pacemaker/pcmk_sched_clone.c if(resource2->parent) { resource2 271 lib/pacemaker/pcmk_sched_clone.c for (gIter = resource2->parent->rsc_cons; gIter; gIter = gIter->next) { resource2 274 lib/pacemaker/pcmk_sched_clone.c crm_trace("Applying %s to %s", constraint->id, resource2->id); resource2 277 lib/pacemaker/pcmk_sched_clone.c resource2->id, hash2, resource2 283 lib/pacemaker/pcmk_sched_clone.c for (gIter = resource2->parent->rsc_cons_lhs; gIter; gIter = gIter->next) { resource2 286 lib/pacemaker/pcmk_sched_clone.c crm_trace("Applying %s to %s", constraint->id, resource2->id); resource2 289 lib/pacemaker/pcmk_sched_clone.c resource2->id, hash2, resource2 302 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s > %s: current score: %d %d", resource1->id, resource2->id, node1->weight, node2->weight); resource2 307 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s < %s: current score: %d %d", resource1->id, resource2->id, node1->weight, node2->weight); resource2 313 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s > %s: current score: %d %d", resource1->id, resource2->id, node1->weight, node2->weight); resource2 333 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s < %s: colocated score NULL", resource1->id, resource2->id); resource2 338 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s > %s: colocated score NULL", resource1->id, resource2->id); resource2 344 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s < %s: colocated score", resource1->id, resource2->id); resource2 349 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s > %s: colocated score", resource1->id, resource2->id); resource2 367 lib/pacemaker/pcmk_sched_clone.c rc = strcmp(resource1->id, resource2->id); resource2 368 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s %c %s: default", resource1->id, rc < 0 ? '<' : '>', resource2->id); resource2 247 lib/pacemaker/pcmk_sched_promotable.c const pe_resource_t *resource2 = (const pe_resource_t *)b; resource2 250 lib/pacemaker/pcmk_sched_promotable.c CRM_ASSERT(resource2 != NULL); resource2 253 lib/pacemaker/pcmk_sched_promotable.c role2 = resource2->fns->state(resource2, TRUE); resource2 257 lib/pacemaker/pcmk_sched_promotable.c crm_trace("%s %c %s (index)", resource1->id, rc < 0 ? '<' : '>', resource2->id); resource2 262 lib/pacemaker/pcmk_sched_promotable.c crm_trace("%s %c %s (role)", resource1->id, '<', resource2->id); resource2 266 lib/pacemaker/pcmk_sched_promotable.c crm_trace("%s %c %s (role)", resource1->id, '>', resource2->id); resource2 389 lib/pengine/utils.c const pe_resource_t *resource2 = (const pe_resource_t *)b; resource2 401 lib/pengine/utils.c if (resource1->sort_index > resource2->sort_index) { resource2 405 lib/pengine/utils.c if (resource1->sort_index < resource2->sort_index) { resource2 416 lib/pengine/utils.c const pe_resource_t *resource2 = (const pe_resource_t *)b; resource2 428 lib/pengine/utils.c if (resource1->priority > resource2->priority) { resource2 432 lib/pengine/utils.c if (resource1->priority < resource2->priority) {