resource2 27 lib/pacemaker/pcmk_sched_clone.c const pe_resource_t *resource2 = (const pe_resource_t *)b; resource2 31 lib/pacemaker/pcmk_sched_clone.c CRM_ASSERT(resource2 != NULL); resource2 38 lib/pacemaker/pcmk_sched_clone.c num2 = strtol(strrchr(resource2->id, ':') + 1, NULL, 10); resource2 267 lib/pacemaker/pcmk_sched_clone.c const pe_resource_t *resource2 = (const pe_resource_t *)b; resource2 270 lib/pacemaker/pcmk_sched_clone.c CRM_ASSERT(resource2 != NULL); resource2 281 lib/pacemaker/pcmk_sched_clone.c current_node2 = pe__find_active_on(resource2, &nnodes2, NULL); resource2 288 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s < %s: running_on", resource1->id, resource2->id); resource2 292 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s > %s: running_on", resource1->id, resource2->id); resource2 311 lib/pacemaker/pcmk_sched_clone.c pe_node_t *match = pe_hash_table_lookup(resource2->allowed_nodes, node2->details->id); resource2 314 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s: current location is unavailable", resource2->id); resource2 322 lib/pacemaker/pcmk_sched_clone.c resource2->id); resource2 327 lib/pacemaker/pcmk_sched_clone.c resource2->id); resource2 332 lib/pacemaker/pcmk_sched_clone.c if (resource1->priority > resource2->priority) { resource2 333 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s < %s: priority", resource1->id, resource2->id); resource2 336 lib/pacemaker/pcmk_sched_clone.c } else if (resource1->priority < resource2->priority) { resource2 337 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s > %s: priority", resource1->id, resource2->id); resource2 343 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s == %s: not active", resource1->id, resource2->id); resource2 347 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s > %s: active", resource1->id, resource2->id); resource2 351 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s < %s: active", resource1->id, resource2->id); resource2 359 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s < %s: can", resource1->id, resource2->id); resource2 363 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s > %s: can", resource1->id, resource2->id); resource2 371 lib/pacemaker/pcmk_sched_clone.c node2 = parent_node_instance(resource2, node2); resource2 373 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s == %s: not allowed", resource1->id, resource2->id); resource2 377 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s > %s: not allowed", resource1->id, resource2->id); resource2 381 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s < %s: not allowed", resource1->id, resource2->id); resource2 389 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s < %s: count", resource1->id, resource2->id); resource2 393 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s > %s: count", resource1->id, resource2->id); resource2 399 lib/pacemaker/pcmk_sched_clone.c can2 = did_fail(resource2); resource2 401 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s > %s: failed", resource1->id, resource2->id); resource2 404 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s < %s: failed", resource1->id, resource2->id); resource2 408 lib/pacemaker/pcmk_sched_clone.c rc = order_instance_by_colocation(resource1, resource2, data_set); resource2 414 lib/pacemaker/pcmk_sched_clone.c rc = strcmp(resource1->id, resource2->id); resource2 415 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s %c %s: default", resource1->id, rc < 0 ? '<' : '>', resource2->id); resource2 264 lib/pacemaker/pcmk_sched_promotable.c const pe_resource_t *resource2 = (const pe_resource_t *)b; resource2 267 lib/pacemaker/pcmk_sched_promotable.c CRM_ASSERT(resource2 != NULL); resource2 270 lib/pacemaker/pcmk_sched_promotable.c role2 = resource2->fns->state(resource2, TRUE); resource2 274 lib/pacemaker/pcmk_sched_promotable.c crm_trace("%s %c %s (index)", resource1->id, rc < 0 ? '<' : '>', resource2->id); resource2 279 lib/pacemaker/pcmk_sched_promotable.c crm_trace("%s %c %s (role)", resource1->id, '<', resource2->id); resource2 283 lib/pacemaker/pcmk_sched_promotable.c crm_trace("%s %c %s (role)", resource1->id, '>', resource2->id); resource2 592 lib/pacemaker/pcmk_sched_resource.c const pe_resource_t *resource2 = b; resource2 607 lib/pacemaker/pcmk_sched_resource.c r2_weight = resource2->priority; resource2 627 lib/pacemaker/pcmk_sched_resource.c r2_nodes = pcmk__native_merge_weights(convert_const_pointer(resource2), resource2 628 lib/pacemaker/pcmk_sched_resource.c resource2->id, NULL, NULL, 1, resource2 632 lib/pacemaker/pcmk_sched_resource.c pe__show_node_weights(true, NULL, resource2->id, r2_nodes, resource2 633 lib/pacemaker/pcmk_sched_resource.c resource2->cluster); resource2 640 lib/pacemaker/pcmk_sched_resource.c if (resource2->running_on != NULL) { resource2 641 lib/pacemaker/pcmk_sched_resource.c r2_node = pe__current_node(resource2); resource2 677 lib/pacemaker/pcmk_sched_resource.c resource2->id, r2_weight, resource2 337 lib/pengine/utils.c const pe_resource_t *resource2 = (const pe_resource_t *)b; resource2 349 lib/pengine/utils.c if (resource1->sort_index > resource2->sort_index) { resource2 353 lib/pengine/utils.c if (resource1->sort_index < resource2->sort_index) { resource2 364 lib/pengine/utils.c const pe_resource_t *resource2 = (const pe_resource_t *)b; resource2 376 lib/pengine/utils.c if (resource1->priority > resource2->priority) { resource2 380 lib/pengine/utils.c if (resource1->priority < resource2->priority) {