resource1 26 lib/pacemaker/pcmk_sched_clone.c const pe_resource_t *resource1 = (const pe_resource_t *)a; resource1 30 lib/pacemaker/pcmk_sched_clone.c CRM_ASSERT(resource1 != NULL); resource1 37 lib/pacemaker/pcmk_sched_clone.c num1 = strtol(strrchr(resource1->id, ':') + 1, NULL, 10); resource1 266 lib/pacemaker/pcmk_sched_clone.c const pe_resource_t *resource1 = (const pe_resource_t *)a; resource1 269 lib/pacemaker/pcmk_sched_clone.c CRM_ASSERT(resource1 != NULL); resource1 280 lib/pacemaker/pcmk_sched_clone.c current_node1 = pe__find_active_on(resource1, &nnodes1, NULL); resource1 288 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s < %s: running_on", resource1->id, resource2->id); resource1 292 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s > %s: running_on", resource1->id, resource2->id); resource1 301 lib/pacemaker/pcmk_sched_clone.c pe_node_t *match = pe_hash_table_lookup(resource1->allowed_nodes, node1->details->id); resource1 304 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s: current location is unavailable", resource1->id); resource1 321 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s < %s: availability of current location", resource1->id, resource1 326 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s > %s: availability of current location", resource1->id, resource1 332 lib/pacemaker/pcmk_sched_clone.c if (resource1->priority > resource2->priority) { resource1 333 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s < %s: priority", resource1->id, resource2->id); resource1 336 lib/pacemaker/pcmk_sched_clone.c } else if (resource1->priority < resource2->priority) { resource1 337 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s > %s: priority", resource1->id, resource2->id); resource1 343 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s == %s: not active", resource1->id, resource2->id); resource1 347 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s > %s: active", resource1->id, resource2->id); resource1 351 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s < %s: active", resource1->id, resource2->id); resource1 359 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s < %s: can", resource1->id, resource2->id); resource1 363 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s > %s: can", resource1->id, resource2->id); resource1 370 lib/pacemaker/pcmk_sched_clone.c node1 = parent_node_instance(resource1, node1); resource1 373 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s == %s: not allowed", resource1->id, resource2->id); resource1 377 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s > %s: not allowed", resource1->id, resource2->id); resource1 381 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s < %s: not allowed", resource1->id, resource2->id); resource1 389 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s < %s: count", resource1->id, resource2->id); resource1 393 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s > %s: count", resource1->id, resource2->id); resource1 398 lib/pacemaker/pcmk_sched_clone.c can1 = did_fail(resource1); resource1 401 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s > %s: failed", resource1->id, resource2->id); resource1 404 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s < %s: failed", resource1->id, resource2->id); resource1 408 lib/pacemaker/pcmk_sched_clone.c rc = order_instance_by_colocation(resource1, resource2, data_set); resource1 414 lib/pacemaker/pcmk_sched_clone.c rc = strcmp(resource1->id, resource2->id); resource1 415 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s %c %s: default", resource1->id, rc < 0 ? '<' : '>', resource2->id); resource1 263 lib/pacemaker/pcmk_sched_promotable.c const pe_resource_t *resource1 = (const pe_resource_t *)a; resource1 266 lib/pacemaker/pcmk_sched_promotable.c CRM_ASSERT(resource1 != NULL); resource1 269 lib/pacemaker/pcmk_sched_promotable.c role1 = resource1->fns->state(resource1, TRUE); resource1 274 lib/pacemaker/pcmk_sched_promotable.c crm_trace("%s %c %s (index)", resource1->id, rc < 0 ? '<' : '>', resource2->id); resource1 279 lib/pacemaker/pcmk_sched_promotable.c crm_trace("%s %c %s (role)", resource1->id, '<', resource2->id); resource1 283 lib/pacemaker/pcmk_sched_promotable.c crm_trace("%s %c %s (role)", resource1->id, '>', resource2->id); resource1 591 lib/pacemaker/pcmk_sched_resource.c const pe_resource_t *resource1 = a; resource1 606 lib/pacemaker/pcmk_sched_resource.c r1_weight = resource1->priority; resource1 624 lib/pacemaker/pcmk_sched_resource.c r1_nodes = pcmk__native_merge_weights(convert_const_pointer(resource1), resource1 625 lib/pacemaker/pcmk_sched_resource.c resource1->id, NULL, NULL, 1, resource1 630 lib/pacemaker/pcmk_sched_resource.c pe__show_node_weights(true, NULL, resource1->id, r1_nodes, resource1 631 lib/pacemaker/pcmk_sched_resource.c resource1->cluster); resource1 637 lib/pacemaker/pcmk_sched_resource.c if (resource1->running_on != NULL) { resource1 638 lib/pacemaker/pcmk_sched_resource.c r1_node = pe__current_node(resource1); resource1 673 lib/pacemaker/pcmk_sched_resource.c resource1->id, r1_weight, resource1 336 lib/pengine/utils.c const pe_resource_t *resource1 = (const pe_resource_t *)a; resource1 349 lib/pengine/utils.c if (resource1->sort_index > resource2->sort_index) { resource1 353 lib/pengine/utils.c if (resource1->sort_index < resource2->sort_index) { resource1 363 lib/pengine/utils.c const pe_resource_t *resource1 = (const pe_resource_t *)a; resource1 376 lib/pengine/utils.c if (resource1->priority > resource2->priority) { resource1 380 lib/pengine/utils.c if (resource1->priority < resource2->priority) {