variant 616 daemons/fenced/pacemaker-fenced.c if (rsc->parent && (rsc->parent->variant == pe_group)) { variant 137 include/crm/cib/cib_types.h enum cib_variant variant; variant 317 include/crm/pengine/pe_types.h enum pe_obj_types variant; variant 60 include/crm/pengine/status.h return rsc && (rsc->variant == pe_clone); variant 354 lib/cib/cib_client.c new_cib->variant = cib_undefined; variant 457 lib/cib/cib_client.c if (cib->variant != cib_native && cib->variant != cib_remote) { variant 508 lib/cib/cib_client.c if (cib->variant != cib_native && cib->variant != cib_remote) { variant 501 lib/cib/cib_file.c cib->variant = cib_file; variant 63 lib/cib/cib_native.c cib->variant = cib_native; variant 115 lib/cib/cib_remote.c cib->variant = cib_remote; variant 605 lib/pacemaker/pcmk_sched_allocate.c if (rsc->variant != pe_native) { variant 759 lib/pacemaker/pcmk_sched_allocate.c rsc->cmds = &resource_class_alloc_functions[rsc->variant]; variant 996 lib/pacemaker/pcmk_sched_allocate.c if (rsc->variant == pe_group) { variant 1001 lib/pacemaker/pcmk_sched_allocate.c } else if (rsc->variant != pe_native) { variant 2493 lib/pacemaker/pcmk_sched_allocate.c || probe->rsc->variant != pe_native) { variant 2520 lib/pacemaker/pcmk_sched_allocate.c && after->rsc->variant == pe_native variant 2547 lib/pacemaker/pcmk_sched_allocate.c && after->rsc->variant > pe_group) { variant 2584 lib/pacemaker/pcmk_sched_allocate.c || after->rsc->variant < pe_group variant 2587 lib/pacemaker/pcmk_sched_allocate.c || after_wrapper->action->rsc->variant > pe_group variant 2595 lib/pacemaker/pcmk_sched_allocate.c if (after->rsc->variant > pe_group variant 2639 lib/pacemaker/pcmk_sched_allocate.c if (rsc->variant != pe_native) { variant 2778 lib/pacemaker/pcmk_sched_allocate.c crm_err("Applying %s before %s %d", first->uuid, start->uuid, uber_parent(first_rsc)->variant); variant 40 lib/pacemaker/pcmk_sched_bundle.c if (rsc->variant == pe_container) { variant 57 lib/pacemaker/pcmk_sched_bundle.c return (rsc->variant == pe_container)? variant 449 lib/pacemaker/pcmk_sched_bundle.c switch(rsc->variant) { variant 481 lib/pacemaker/pcmk_sched_bundle.c CRM_ASSERT(rsc_lh->variant == pe_native); variant 490 lib/pacemaker/pcmk_sched_bundle.c } else if(constraint->rsc_lh->variant > pe_group) { variant 619 lib/pacemaker/pcmk_sched_bundle.c if (rsc->variant == pe_container) { variant 792 lib/pacemaker/pcmk_sched_bundle.c } else if(first->rsc->variant < pe_clone || then->rsc->variant < pe_clone) { variant 1080 lib/pacemaker/pcmk_sched_clone.c CRM_CHECK(rsc_lh->variant == pe_native, return); variant 1102 lib/pacemaker/pcmk_sched_clone.c if(crm_is_true(interleave_s) && constraint->rsc_lh->variant > pe_group) { variant 1231 lib/pacemaker/pcmk_sched_constraints.c if (rsc_constraint1->rsc_lh->variant > rsc_constraint2->rsc_lh->variant) { variant 1233 lib/pacemaker/pcmk_sched_constraints.c } else if (rsc_constraint1->rsc_lh->variant < rsc_constraint2->rsc_lh->variant) { variant 1241 lib/pacemaker/pcmk_sched_constraints.c if (rsc_constraint1->rsc_lh->variant == pe_clone) { variant 1279 lib/pacemaker/pcmk_sched_constraints.c if (rsc_constraint1->rsc_rh->variant > rsc_constraint2->rsc_rh->variant) { variant 1281 lib/pacemaker/pcmk_sched_constraints.c } else if (rsc_constraint1->rsc_rh->variant < rsc_constraint2->rsc_rh->variant) { variant 1289 lib/pacemaker/pcmk_sched_constraints.c if (rsc_constraint1->rsc_rh->variant == pe_clone) { variant 78 lib/pacemaker/pcmk_sched_graph.c } else if (rsc->variant < pe_group) { variant 149 lib/pacemaker/pcmk_sched_graph.c || (pe_rsc_is_clone(rsc) && (rsc->parent->variant == pe_container))) { variant 156 lib/pacemaker/pcmk_sched_graph.c if (rsc->variant >= pe_group) { variant 567 lib/pacemaker/pcmk_sched_graph.c if (first->rsc && first->rsc->variant == pe_group && pcmk__str_eq(first->task, RSC_START, pcmk__str_casei)) { variant 574 lib/pacemaker/pcmk_sched_graph.c if (then->rsc && then->rsc->variant == pe_group && pcmk__str_eq(then->task, RSC_START, pcmk__str_casei)) { variant 1231 lib/pacemaker/pcmk_sched_graph.c } else if(action->rsc && action->rsc->variant <= pe_native) { variant 338 lib/pacemaker/pcmk_sched_group.c CRM_CHECK(rsc_lh->variant == pe_native, return); variant 338 lib/pacemaker/pcmk_sched_native.c return rsc && (rsc->variant == pe_group) && (rsc->children != NULL); variant 2065 lib/pacemaker/pcmk_sched_native.c return action && action->rsc && (action->rsc->variant == pe_native); variant 2519 lib/pacemaker/pcmk_sched_native.c if(rsc->variant == pe_container) { variant 3158 lib/pacemaker/pcmk_sched_native.c } else if ((rsc->variant == pe_native) variant 3424 lib/pacemaker/pcmk_sched_native.c } else if (rsc->variant > pe_native) { variant 184 lib/pacemaker/pcmk_sched_utilization.c if (rsc->variant == pe_native) { variant 189 lib/pacemaker/pcmk_sched_utilization.c } else if (rsc->variant == pe_group) { variant 290 lib/pacemaker/pcmk_sched_utilization.c if (rsc_rh->variant == pe_group) { variant 317 lib/pacemaker/pcmk_sched_utilization.c if (rsc_lh->variant == pe_group) { variant 273 lib/pacemaker/pcmk_sched_utils.c CRM_ASSERT(rsc->variant == pe_native); variant 2054 lib/pengine/bundle.c if ((rsc == NULL) || (rsc->variant != pe_container)) { variant 454 lib/pengine/complex.c (*rsc)->variant = get_resource_type(crm_element_name((*rsc)->xml)); variant 455 lib/pengine/complex.c if ((*rsc)->variant == pe_unknown) { variant 484 lib/pengine/complex.c (*rsc)->fns = &resource_class_functions[(*rsc)->variant]; variant 675 lib/pengine/complex.c } else if (((*rsc)->variant == pe_native) variant 806 lib/pengine/complex.c while (parent->parent != NULL && parent->parent->variant != pe_container) { variant 819 lib/pengine/complex.c pe_rsc_trace(rsc, "Freeing %s %d", rsc->id, rsc->variant); variant 31 lib/pengine/native.c if (rsc->variant == pe_native) { variant 101 lib/pengine/native.c if (rsc->variant == pe_native) { variant 107 lib/pengine/native.c if (rsc->variant == pe_native && node->details->maintenance) { variant 153 lib/pengine/native.c && (rsc->parent->variant == pe_group || rsc->parent->variant == pe_container) variant 726 lib/pengine/native.c CRM_ASSERT(rsc->variant == pe_native); variant 747 lib/pengine/native.c } else if (rsc->variant == pe_native && (rsc->running_on == NULL)) { variant 814 lib/pengine/native.c CRM_ASSERT(rsc->variant == pe_native); variant 880 lib/pengine/native.c CRM_ASSERT(rsc->variant == pe_native); variant 1034 lib/pengine/native.c CRM_ASSERT(rsc->variant == pe_native); variant 1076 lib/pengine/native.c CRM_ASSERT(rsc->variant == pe_native); variant 1144 lib/pengine/native.c CRM_ASSERT(rsc->variant == pe_native); variant 1164 lib/pengine/native.c CRM_ASSERT(rsc->variant == pe_native); variant 1272 lib/pengine/native.c if (rsc->variant != pe_native) { variant 1717 lib/pengine/pe_output.c } else if (brief_output && (rsc->variant == pe_native)) { variant 1836 lib/pengine/unpack.c } else if (rsc->variant > pe_native) { variant 1487 lib/pengine/utils.c } else if (allow_non_atomic == FALSE || rsc->variant == pe_native) { variant 39 lib/pengine/variant.h CRM_ASSERT(rsc->variant == pe_clone); \ variant 114 lib/pengine/variant.h CRM_ASSERT(rsc->variant == pe_container); \ variant 135 lib/pengine/variant.h CRM_ASSERT(rsc->variant == pe_group); \ variant 147 lib/pengine/variant.h CRM_ASSERT(rsc->variant == pe_native); \ variant 816 tools/crm_mon.c if ((output_format == mon_output_console) && need_pass && (cib->variant == cib_remote)) { variant 1222 tools/crm_mon.c switch (cib->variant) { variant 1349 tools/crm_mon.c if (cib && cib->variant == cib_file) { variant 260 tools/crm_mon_print.c if (uber_parent(rsc)->variant == pe_group) { variant 173 tools/crm_resource_runtime.c if(pe_clone == rsc->variant) { variant 207 tools/crm_resource_runtime.c if(rsc->parent && pe_clone == rsc->parent->variant) { variant 220 tools/crm_resource_runtime.c } else if(rsc->parent == NULL && rsc->children && pe_clone == rsc->variant) { variant 223 tools/crm_resource_runtime.c if(child->variant == pe_native) { variant 491 tools/crm_resource_runtime.c } else if (rsc->variant != pe_native) { variant 1037 tools/crm_resource_runtime.c if (rsc->variant == pe_group) { variant 1864 tools/crm_resource_runtime.c if(rsc->variant == pe_group) {