rsc1 141 include/crm/common/action_relation_internal.h pcmk_resource_t *rsc1; // Resource for first action, if any rsc1 26 lib/common/tests/nodes/pcmk_foreach_active_resource_test.c static pcmk_resource_t rsc1 = { rsc1 92 lib/common/tests/nodes/pcmk_foreach_active_resource_test.c shared.running_rsc = g_list_append(shared.running_rsc, &rsc1); rsc1 111 lib/common/tests/nodes/pcmk_foreach_active_resource_test.c shared.running_rsc = g_list_append(shared.running_rsc, &rsc1); rsc1 132 lib/common/tests/nodes/pcmk_foreach_active_resource_test.c shared.running_rsc = g_list_append(shared.running_rsc, &rsc1); rsc1 27 lib/common/tests/resources/pcmk_resource_id_test.c pcmk_resource_t rsc1 = { rsc1 31 lib/common/tests/resources/pcmk_resource_id_test.c assert_string_equal(pcmk_resource_id(&rsc1), "rsc1"); rsc1 26 lib/common/tests/resources/pcmk_resource_is_managed_test.c pcmk_resource_t rsc1 = { rsc1 30 lib/common/tests/resources/pcmk_resource_is_managed_test.c assert_true(pcmk_resource_is_managed(&rsc1)); rsc1 36 lib/common/tests/resources/pcmk_resource_is_managed_test.c pcmk_resource_t rsc1 = { rsc1 40 lib/common/tests/resources/pcmk_resource_is_managed_test.c assert_false(pcmk_resource_is_managed(&rsc1)); rsc1 647 lib/pacemaker/libpacemaker_private.h #define pcmk__order_starts(rsc1, rsc2, flags) \ rsc1 648 lib/pacemaker/libpacemaker_private.h pcmk__order_resource_actions((rsc1), PCMK_ACTION_START, \ rsc1 651 lib/pacemaker/libpacemaker_private.h #define pcmk__order_stops(rsc1, rsc2, flags) \ rsc1 652 lib/pacemaker/libpacemaker_private.h pcmk__order_resource_actions((rsc1), PCMK_ACTION_STOP, \ rsc1 55 lib/pacemaker/pcmk_sched_colocation.c const pcmk_resource_t *rsc1 = NULL; rsc1 66 lib/pacemaker/pcmk_sched_colocation.c rsc1 = colocation1->dependent; rsc1 70 lib/pacemaker/pcmk_sched_colocation.c rsc1 = colocation1->primary; rsc1 74 lib/pacemaker/pcmk_sched_colocation.c pcmk__assert((rsc1 != NULL) && (rsc2 != NULL)); rsc1 76 lib/pacemaker/pcmk_sched_colocation.c if (rsc1->priority > rsc2->priority) { rsc1 79 lib/pacemaker/pcmk_sched_colocation.c if (rsc1->priority < rsc2->priority) { rsc1 84 lib/pacemaker/pcmk_sched_colocation.c if (rsc1->variant > rsc2->variant) { rsc1 87 lib/pacemaker/pcmk_sched_colocation.c if (rsc1->variant < rsc2->variant) { rsc1 95 lib/pacemaker/pcmk_sched_colocation.c if (pcmk__is_clone(rsc1)) { rsc1 96 lib/pacemaker/pcmk_sched_colocation.c if (pcmk_is_set(rsc1->flags, pcmk_rsc_promotable) rsc1 100 lib/pacemaker/pcmk_sched_colocation.c if (!pcmk_is_set(rsc1->flags, pcmk_rsc_promotable) rsc1 106 lib/pacemaker/pcmk_sched_colocation.c return strcmp(rsc1->id, rsc2->id); rsc1 272 lib/pacemaker/pcmk_sched_migration.c if ((order->rsc1 == NULL) || (order->rsc2 == NULL) rsc1 273 lib/pacemaker/pcmk_sched_migration.c || (order->rsc1 == order->rsc2) rsc1 274 lib/pacemaker/pcmk_sched_migration.c || is_parent(order->rsc1, order->rsc2) rsc1 275 lib/pacemaker/pcmk_sched_migration.c || is_parent(order->rsc2, order->rsc1)) { rsc1 280 lib/pacemaker/pcmk_sched_migration.c first_migratable = pcmk_is_set(order->rsc1->flags, pcmk_rsc_migratable); rsc1 298 lib/pacemaker/pcmk_sched_migration.c pcmk__new_ordering(order->rsc1, rsc1 299 lib/pacemaker/pcmk_sched_migration.c pcmk__op_key(order->rsc1->id, rsc1 304 lib/pacemaker/pcmk_sched_migration.c NULL, flags, order->rsc1->cluster); rsc1 316 lib/pacemaker/pcmk_sched_migration.c pcmk__new_ordering(order->rsc1, rsc1 317 lib/pacemaker/pcmk_sched_migration.c pcmk__op_key(order->rsc1->id, rsc1 322 lib/pacemaker/pcmk_sched_migration.c NULL, flags, order->rsc1->cluster); rsc1 338 lib/pacemaker/pcmk_sched_migration.c pcmk__new_ordering(order->rsc1, rsc1 339 lib/pacemaker/pcmk_sched_migration.c pcmk__op_key(order->rsc1->id, PCMK_ACTION_STOP, 0), rsc1 344 lib/pacemaker/pcmk_sched_migration.c NULL, flags, order->rsc1->cluster); rsc1 348 lib/pacemaker/pcmk_sched_migration.c pcmk__new_ordering(order->rsc1, rsc1 349 lib/pacemaker/pcmk_sched_migration.c pcmk__op_key(order->rsc1->id, PCMK_ACTION_STOP, rsc1 354 lib/pacemaker/pcmk_sched_migration.c NULL, flags, order->rsc1->cluster); rsc1 365 lib/pacemaker/pcmk_sched_migration.c pcmk__new_ordering(order->rsc1, rsc1 366 lib/pacemaker/pcmk_sched_migration.c pcmk__op_key(order->rsc1->id, rsc1 371 lib/pacemaker/pcmk_sched_migration.c NULL, flags, order->rsc1->cluster); rsc1 382 lib/pacemaker/pcmk_sched_migration.c pcmk__new_ordering(order->rsc1, rsc1 383 lib/pacemaker/pcmk_sched_migration.c pcmk__op_key(order->rsc1->id, rsc1 388 lib/pacemaker/pcmk_sched_migration.c NULL, flags, order->rsc1->cluster); rsc1 392 lib/pacemaker/pcmk_sched_migration.c pcmk__new_ordering(order->rsc1, rsc1 393 lib/pacemaker/pcmk_sched_migration.c pcmk__op_key(order->rsc1->id, rsc1 398 lib/pacemaker/pcmk_sched_migration.c NULL, flags, order->rsc1->cluster); rsc1 555 lib/pacemaker/pcmk_sched_ordering.c order->rsc1 = first_rsc; rsc1 570 lib/pacemaker/pcmk_sched_ordering.c if ((order->rsc1 == NULL) && (first_action != NULL)) { rsc1 571 lib/pacemaker/pcmk_sched_ordering.c order->rsc1 = first_action->rsc; rsc1 1309 lib/pacemaker/pcmk_sched_ordering.c order->task1, order->rsc1->id); rsc1 1443 lib/pacemaker/pcmk_sched_ordering.c pcmk_resource_t *rsc = order->rsc1; rsc1 75 lib/pacemaker/pcmk_sched_probes.c probe_then_start(pcmk_resource_t *rsc1, pcmk_resource_t *rsc2) rsc1 77 lib/pacemaker/pcmk_sched_probes.c if ((rsc1->allocated_to != NULL) rsc1 78 lib/pacemaker/pcmk_sched_probes.c && (g_hash_table_lookup(rsc1->known_on, rsc1 79 lib/pacemaker/pcmk_sched_probes.c rsc1->allocated_to->details->id) == NULL)) { rsc1 81 lib/pacemaker/pcmk_sched_probes.c pcmk__new_ordering(rsc1, rsc1 82 lib/pacemaker/pcmk_sched_probes.c pcmk__op_key(rsc1->id, PCMK_ACTION_MONITOR, 0), rsc1 86 lib/pacemaker/pcmk_sched_probes.c pcmk__ar_ordered, rsc1->cluster); rsc1 358 lib/pacemaker/pcmk_sched_probes.c if ((order->rsc1 == NULL) || (order->rsc1 == order->rsc2)) { rsc1 384 lib/pacemaker/pcmk_sched_probes.c if ((order->rsc2 != NULL) && (order->rsc1->container == order->rsc2)) { rsc1 412 lib/pacemaker/pcmk_sched_probes.c probes = pe__resource_actions(order->rsc1, NULL, PCMK_ACTION_MONITOR, rsc1 255 lib/pacemaker/pcmk_sched_promotable.c const pcmk_resource_t *rsc1 = (const pcmk_resource_t *) a; rsc1 261 lib/pacemaker/pcmk_sched_promotable.c pcmk__assert((rsc1 != NULL) && (rsc2 != NULL)); rsc1 264 lib/pacemaker/pcmk_sched_promotable.c if (rsc1->sort_index > rsc2->sort_index) { rsc1 265 lib/pacemaker/pcmk_sched_promotable.c pcmk__rsc_trace(rsc1, rsc1 268 lib/pacemaker/pcmk_sched_promotable.c rsc1->id, rsc2->id, rsc1->sort_index, rsc2->sort_index); rsc1 270 lib/pacemaker/pcmk_sched_promotable.c } else if (rsc1->sort_index < rsc2->sort_index) { rsc1 271 lib/pacemaker/pcmk_sched_promotable.c pcmk__rsc_trace(rsc1, rsc1 274 lib/pacemaker/pcmk_sched_promotable.c rsc1->id, rsc2->id, rsc1->sort_index, rsc2->sort_index); rsc1 279 lib/pacemaker/pcmk_sched_promotable.c role1 = rsc1->fns->state(rsc1, TRUE); rsc1 282 lib/pacemaker/pcmk_sched_promotable.c pcmk__rsc_trace(rsc1, rsc1 285 lib/pacemaker/pcmk_sched_promotable.c rsc1->id, rsc2->id); rsc1 288 lib/pacemaker/pcmk_sched_promotable.c pcmk__rsc_trace(rsc1, rsc1 291 lib/pacemaker/pcmk_sched_promotable.c rsc1->id, rsc2->id); rsc1 17 lib/pengine/tests/utils/pe__cmp_rsc_priority_test.c pcmk_resource_t rsc1; rsc1 23 lib/pengine/tests/utils/pe__cmp_rsc_priority_test.c rsc1.priority = 0; rsc1 26 lib/pengine/tests/utils/pe__cmp_rsc_priority_test.c assert_int_equal(pe__cmp_rsc_priority(&rsc1, &rsc2), 0); rsc1 32 lib/pengine/tests/utils/pe__cmp_rsc_priority_test.c rsc1.priority = 1; rsc1 34 lib/pengine/tests/utils/pe__cmp_rsc_priority_test.c assert_int_equal(pe__cmp_rsc_priority(&rsc1, NULL), -1); rsc1 35 lib/pengine/tests/utils/pe__cmp_rsc_priority_test.c assert_int_equal(pe__cmp_rsc_priority(&rsc1, &rsc2), -1); rsc1 41 lib/pengine/tests/utils/pe__cmp_rsc_priority_test.c rsc1.priority = 0; rsc1 44 lib/pengine/tests/utils/pe__cmp_rsc_priority_test.c assert_int_equal(pe__cmp_rsc_priority(&rsc1, &rsc2), 1);