resource1 1142 lib/pacemaker/pcmk_sched_allocate.c const pe_resource_t *resource1 = a; resource1 1152 lib/pacemaker/pcmk_sched_allocate.c r1_weight = resource1->priority; resource1 1170 lib/pacemaker/pcmk_sched_allocate.c r1_nodes = pcmk__native_merge_weights(convert_const_pointer(resource1), resource1 1171 lib/pacemaker/pcmk_sched_allocate.c resource1->id, NULL, NULL, 1, resource1 1173 lib/pacemaker/pcmk_sched_allocate.c pe__show_node_weights(true, NULL, resource1->id, r1_nodes, resource1 1174 lib/pacemaker/pcmk_sched_allocate.c resource1->cluster); resource1 1187 lib/pacemaker/pcmk_sched_allocate.c if (resource1->running_on) { resource1 1188 lib/pacemaker/pcmk_sched_allocate.c r1_node = pe__current_node(resource1); resource1 1248 lib/pacemaker/pcmk_sched_allocate.c resource1->id, r1_weight, r1_node ? r1_node->details->id : "n/a", resource1 24 lib/pacemaker/pcmk_sched_clone.c const pe_resource_t *resource1 = (const pe_resource_t *)a; resource1 28 lib/pacemaker/pcmk_sched_clone.c CRM_ASSERT(resource1 != NULL); resource1 35 lib/pacemaker/pcmk_sched_clone.c num1 = strtol(strrchr(resource1->id, ':') + 1, NULL, 10); resource1 264 lib/pacemaker/pcmk_sched_clone.c const pe_resource_t *resource1 = (const pe_resource_t *)a; resource1 267 lib/pacemaker/pcmk_sched_clone.c CRM_ASSERT(resource1 != NULL); resource1 278 lib/pacemaker/pcmk_sched_clone.c current_node1 = pe__find_active_on(resource1, &nnodes1, NULL); resource1 286 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s < %s: running_on", resource1->id, resource2->id); resource1 290 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s > %s: running_on", resource1->id, resource2->id); resource1 299 lib/pacemaker/pcmk_sched_clone.c pe_node_t *match = pe_hash_table_lookup(resource1->allowed_nodes, node1->details->id); resource1 302 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s: current location is unavailable", resource1->id); resource1 319 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s < %s: availability of current location", resource1->id, resource1 324 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s > %s: availability of current location", resource1->id, resource1 330 lib/pacemaker/pcmk_sched_clone.c if (resource1->priority > resource2->priority) { resource1 331 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s < %s: priority", resource1->id, resource2->id); resource1 334 lib/pacemaker/pcmk_sched_clone.c } else if (resource1->priority < resource2->priority) { resource1 335 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s > %s: priority", resource1->id, resource2->id); resource1 341 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s == %s: not active", resource1->id, resource2->id); resource1 345 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s > %s: active", resource1->id, resource2->id); resource1 349 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s < %s: active", resource1->id, resource2->id); resource1 357 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s < %s: can", resource1->id, resource2->id); resource1 361 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s > %s: can", resource1->id, resource2->id); resource1 368 lib/pacemaker/pcmk_sched_clone.c node1 = parent_node_instance(resource1, node1); resource1 371 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s == %s: not allowed", resource1->id, resource2->id); resource1 375 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s > %s: not allowed", resource1->id, resource2->id); resource1 379 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s < %s: not allowed", resource1->id, resource2->id); resource1 387 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s < %s: count", resource1->id, resource2->id); resource1 391 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s > %s: count", resource1->id, resource2->id); resource1 396 lib/pacemaker/pcmk_sched_clone.c can1 = did_fail(resource1); resource1 399 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s > %s: failed", resource1->id, resource2->id); resource1 402 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s < %s: failed", resource1->id, resource2->id); resource1 406 lib/pacemaker/pcmk_sched_clone.c rc = order_instance_by_colocation(resource1, resource2, data_set); resource1 412 lib/pacemaker/pcmk_sched_clone.c rc = strcmp(resource1->id, resource2->id); resource1 413 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s %c %s: default", resource1->id, rc < 0 ? '<' : '>', resource2->id); resource1 252 lib/pacemaker/pcmk_sched_promotable.c const pe_resource_t *resource1 = (const pe_resource_t *)a; resource1 255 lib/pacemaker/pcmk_sched_promotable.c CRM_ASSERT(resource1 != NULL); resource1 258 lib/pacemaker/pcmk_sched_promotable.c role1 = resource1->fns->state(resource1, TRUE); resource1 263 lib/pacemaker/pcmk_sched_promotable.c crm_trace("%s %c %s (index)", resource1->id, rc < 0 ? '<' : '>', resource2->id); resource1 268 lib/pacemaker/pcmk_sched_promotable.c crm_trace("%s %c %s (role)", resource1->id, '<', resource2->id); resource1 272 lib/pacemaker/pcmk_sched_promotable.c crm_trace("%s %c %s (role)", resource1->id, '>', resource2->id); resource1 337 lib/pengine/utils.c const pe_resource_t *resource1 = (const pe_resource_t *)a; resource1 350 lib/pengine/utils.c if (resource1->sort_index > resource2->sort_index) { resource1 354 lib/pengine/utils.c if (resource1->sort_index < resource2->sort_index) { resource1 364 lib/pengine/utils.c const pe_resource_t *resource1 = (const pe_resource_t *)a; resource1 377 lib/pengine/utils.c if (resource1->priority > resource2->priority) { resource1 381 lib/pengine/utils.c if (resource1->priority < resource2->priority) {