resource1 1165 lib/pacemaker/pcmk_sched_allocate.c const pe_resource_t *resource1 = a; resource1 1175 lib/pacemaker/pcmk_sched_allocate.c r1_weight = resource1->priority; resource1 1193 lib/pacemaker/pcmk_sched_allocate.c r1_nodes = pcmk__native_merge_weights(convert_const_pointer(resource1), resource1 1194 lib/pacemaker/pcmk_sched_allocate.c resource1->id, NULL, NULL, 1, resource1 1196 lib/pacemaker/pcmk_sched_allocate.c pe__show_node_weights(true, NULL, resource1->id, r1_nodes); resource1 1208 lib/pacemaker/pcmk_sched_allocate.c if (resource1->running_on) { resource1 1209 lib/pacemaker/pcmk_sched_allocate.c r1_node = pe__current_node(resource1); resource1 1269 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 91 lib/pacemaker/pcmk_sched_clone.c const pe_resource_t *resource1 = (const pe_resource_t *)a; resource1 94 lib/pacemaker/pcmk_sched_clone.c CRM_ASSERT(resource1 != NULL); resource1 105 lib/pacemaker/pcmk_sched_clone.c current_node1 = pe__find_active_on(resource1, &nnodes1, NULL); resource1 110 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s < %s: running_on", resource1->id, resource2->id); resource1 114 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s > %s: running_on", resource1->id, resource2->id); resource1 122 lib/pacemaker/pcmk_sched_clone.c pe_node_t *match = pe_hash_table_lookup(resource1->allowed_nodes, node1->details->id); resource1 125 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s: current location is unavailable", resource1->id); resource1 143 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s < %s: availability of current location", resource1->id, resource2->id); resource1 146 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s > %s: availability of current location", resource1->id, resource2->id); resource1 150 lib/pacemaker/pcmk_sched_clone.c if (resource1->priority < resource2->priority) { resource1 151 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s < %s: priority", resource1->id, resource2->id); resource1 154 lib/pacemaker/pcmk_sched_clone.c } else if (resource1->priority > resource2->priority) { resource1 155 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s > %s: priority", resource1->id, resource2->id); resource1 160 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s == %s: not active", resource1->id, resource2->id); resource1 166 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s > %s: active", resource1->id, resource2->id); resource1 169 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s < %s: active", resource1->id, resource2->id); resource1 178 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s < %s: can", resource1->id, resource2->id); resource1 181 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s > %s: can", resource1->id, resource2->id); resource1 185 lib/pacemaker/pcmk_sched_clone.c node1 = parent_node_instance(resource1, node1); resource1 188 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s < %s: not allowed", resource1->id, resource2->id); resource1 191 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s > %s: not allowed", resource1->id, resource2->id); resource1 196 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s == %s: not allowed", resource1->id, resource2->id); resource1 201 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s < %s: count", resource1->id, resource2->id); resource1 205 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s > %s: count", resource1->id, resource2->id); resource1 209 lib/pacemaker/pcmk_sched_clone.c can1 = did_fail(resource1); resource1 213 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s > %s: failed", resource1->id, resource2->id); resource1 216 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s < %s: failed", resource1->id, resource2->id); resource1 238 lib/pacemaker/pcmk_sched_clone.c if(resource1->parent) { resource1 239 lib/pacemaker/pcmk_sched_clone.c for (gIter = resource1->parent->rsc_cons; gIter; gIter = gIter->next) { resource1 245 lib/pacemaker/pcmk_sched_clone.c crm_trace("Applying %s to %s", constraint->id, resource1->id); resource1 248 lib/pacemaker/pcmk_sched_clone.c resource1->id, hash1, resource1 254 lib/pacemaker/pcmk_sched_clone.c for (gIter = resource1->parent->rsc_cons_lhs; gIter; gIter = gIter->next) { resource1 260 lib/pacemaker/pcmk_sched_clone.c crm_trace("Applying %s to %s", constraint->id, resource1->id); resource1 263 lib/pacemaker/pcmk_sched_clone.c resource1->id, hash1, resource1 302 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s > %s: current score: %d %d", resource1->id, resource2->id, node1->weight, node2->weight); resource1 307 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s < %s: current score: %d %d", resource1->id, resource2->id, node1->weight, node2->weight); resource1 313 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s > %s: current score: %d %d", resource1->id, resource2->id, node1->weight, node2->weight); resource1 333 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s < %s: colocated score NULL", resource1->id, resource2->id); resource1 338 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s > %s: colocated score NULL", resource1->id, resource2->id); resource1 344 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s < %s: colocated score", resource1->id, resource2->id); resource1 349 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s > %s: colocated score", resource1->id, resource2->id); resource1 367 lib/pacemaker/pcmk_sched_clone.c rc = strcmp(resource1->id, resource2->id); resource1 368 lib/pacemaker/pcmk_sched_clone.c crm_trace("%s %c %s: default", resource1->id, rc < 0 ? '<' : '>', resource2->id); resource1 246 lib/pacemaker/pcmk_sched_promotable.c const pe_resource_t *resource1 = (const pe_resource_t *)a; resource1 249 lib/pacemaker/pcmk_sched_promotable.c CRM_ASSERT(resource1 != NULL); resource1 252 lib/pacemaker/pcmk_sched_promotable.c role1 = resource1->fns->state(resource1, TRUE); resource1 257 lib/pacemaker/pcmk_sched_promotable.c crm_trace("%s %c %s (index)", resource1->id, rc < 0 ? '<' : '>', resource2->id); resource1 262 lib/pacemaker/pcmk_sched_promotable.c crm_trace("%s %c %s (role)", resource1->id, '<', resource2->id); resource1 266 lib/pacemaker/pcmk_sched_promotable.c crm_trace("%s %c %s (role)", resource1->id, '>', resource2->id); resource1 388 lib/pengine/utils.c const pe_resource_t *resource1 = (const pe_resource_t *)a; resource1 401 lib/pengine/utils.c if (resource1->sort_index > resource2->sort_index) { resource1 405 lib/pengine/utils.c if (resource1->sort_index < resource2->sort_index) { resource1 415 lib/pengine/utils.c const pe_resource_t *resource1 = (const pe_resource_t *)a; resource1 428 lib/pengine/utils.c if (resource1->priority > resource2->priority) { resource1 432 lib/pengine/utils.c if (resource1->priority < resource2->priority) {