variant 682 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 329 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 361 lib/cib/cib_client.c new_cib->variant = cib_undefined; variant 471 lib/cib/cib_client.c if (cib->variant != cib_native && cib->variant != cib_remote) { variant 522 lib/cib/cib_client.c if (cib->variant != cib_native && cib->variant != cib_remote) { variant 503 lib/cib/cib_file.c cib->variant = cib_file; variant 63 lib/cib/cib_native.c cib->variant = cib_native; variant 114 lib/cib/cib_remote.c cib->variant = cib_remote; variant 620 lib/cib/cib_remote.c if (cib->variant != cib_remote) { variant 97 lib/pacemaker/pcmk_resource.c if (rsc->variant != pe_native) { variant 609 lib/pacemaker/pcmk_sched_allocate.c if (rsc->variant != pe_native) { variant 763 lib/pacemaker/pcmk_sched_allocate.c rsc->cmds = &resource_class_alloc_functions[rsc->variant]; variant 1001 lib/pacemaker/pcmk_sched_allocate.c if (rsc->variant == pe_group) { variant 1006 lib/pacemaker/pcmk_sched_allocate.c } else if (rsc->variant != pe_native) { variant 2505 lib/pacemaker/pcmk_sched_allocate.c || probe->rsc->variant != pe_native) { variant 2532 lib/pacemaker/pcmk_sched_allocate.c && after->rsc->variant == pe_native variant 2559 lib/pacemaker/pcmk_sched_allocate.c && after->rsc->variant > pe_group) { variant 2596 lib/pacemaker/pcmk_sched_allocate.c || after->rsc->variant < pe_group variant 2599 lib/pacemaker/pcmk_sched_allocate.c || after_wrapper->action->rsc->variant > pe_group variant 2607 lib/pacemaker/pcmk_sched_allocate.c if (after->rsc->variant > pe_group variant 2651 lib/pacemaker/pcmk_sched_allocate.c if (rsc->variant != pe_native) { variant 2790 lib/pacemaker/pcmk_sched_allocate.c crm_err("Applying %s before %s %d", first->uuid, start->uuid, uber_parent(first_rsc)->variant); variant 42 lib/pacemaker/pcmk_sched_bundle.c if (rsc->variant == pe_container) { variant 59 lib/pacemaker/pcmk_sched_bundle.c return (rsc->variant == pe_container)? variant 453 lib/pacemaker/pcmk_sched_bundle.c switch(rsc->variant) { variant 494 lib/pacemaker/pcmk_sched_bundle.c CRM_ASSERT(rsc_lh->variant == pe_native); variant 500 lib/pacemaker/pcmk_sched_bundle.c } else if(constraint->rsc_lh->variant > pe_group) { variant 629 lib/pacemaker/pcmk_sched_bundle.c if (rsc->variant == pe_container) { variant 802 lib/pacemaker/pcmk_sched_bundle.c } else if(first->rsc->variant < pe_clone || then->rsc->variant < pe_clone) { variant 1134 lib/pacemaker/pcmk_sched_clone.c CRM_CHECK(rsc_lh->variant == pe_native, return); variant 1153 lib/pacemaker/pcmk_sched_clone.c if(crm_is_true(interleave_s) && constraint->rsc_lh->variant > pe_group) { variant 1234 lib/pacemaker/pcmk_sched_constraints.c if (rsc_constraint1->rsc_lh->variant > rsc_constraint2->rsc_lh->variant) { variant 1236 lib/pacemaker/pcmk_sched_constraints.c } else if (rsc_constraint1->rsc_lh->variant < rsc_constraint2->rsc_lh->variant) { variant 1244 lib/pacemaker/pcmk_sched_constraints.c if (rsc_constraint1->rsc_lh->variant == pe_clone) { variant 1282 lib/pacemaker/pcmk_sched_constraints.c if (rsc_constraint1->rsc_rh->variant > rsc_constraint2->rsc_rh->variant) { variant 1284 lib/pacemaker/pcmk_sched_constraints.c } else if (rsc_constraint1->rsc_rh->variant < rsc_constraint2->rsc_rh->variant) { variant 1292 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 568 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 575 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 1273 lib/pacemaker/pcmk_sched_graph.c } else if(action->rsc && action->rsc->variant <= pe_native) { variant 341 lib/pacemaker/pcmk_sched_group.c CRM_CHECK(rsc_lh->variant == pe_native, return); variant 342 lib/pacemaker/pcmk_sched_native.c return rsc && (rsc->variant == pe_group) && (rsc->children != NULL); variant 2062 lib/pacemaker/pcmk_sched_native.c return action && action->rsc && (action->rsc->variant == pe_native); variant 2391 lib/pacemaker/pcmk_sched_native.c if(rsc->variant == pe_container) { variant 2884 lib/pacemaker/pcmk_sched_native.c } else if ((rsc->variant == pe_native) variant 3150 lib/pacemaker/pcmk_sched_native.c } else if (rsc->variant > pe_native) { variant 199 lib/pacemaker/pcmk_sched_utilization.c if (rsc->variant == pe_native) { variant 204 lib/pacemaker/pcmk_sched_utilization.c } else if (rsc->variant == pe_group) { variant 305 lib/pacemaker/pcmk_sched_utilization.c if (rsc_rh->variant == pe_group) { variant 332 lib/pacemaker/pcmk_sched_utilization.c if (rsc_lh->variant == pe_group) { variant 275 lib/pacemaker/pcmk_sched_utils.c CRM_ASSERT(rsc->variant == pe_native); variant 2023 lib/pengine/bundle.c if ((rsc == NULL) || (rsc->variant != pe_container)) { variant 551 lib/pengine/complex.c (*rsc)->variant = get_resource_type(crm_element_name((*rsc)->xml)); variant 552 lib/pengine/complex.c if ((*rsc)->variant == pe_unknown) { variant 575 lib/pengine/complex.c (*rsc)->fns = &resource_class_functions[(*rsc)->variant]; variant 771 lib/pengine/complex.c } else if (((*rsc)->variant == pe_native) variant 910 lib/pengine/complex.c while (parent->parent != NULL && parent->parent->variant != pe_container) { variant 923 lib/pengine/complex.c pe_rsc_trace(rsc, "Freeing %s %d", rsc->id, rsc->variant); variant 37 lib/pengine/native.c if (rsc->variant == pe_native) { variant 107 lib/pengine/native.c if (rsc->variant == pe_native) { variant 113 lib/pengine/native.c if (rsc->variant == pe_native && node->details->maintenance) { variant 159 lib/pengine/native.c && (rsc->parent->variant == pe_group || rsc->parent->variant == pe_container) variant 554 lib/pengine/native.c if (rsc->variant != pe_native) { variant 685 lib/pengine/native.c CRM_ASSERT(rsc->variant == pe_native); variant 706 lib/pengine/native.c } else if (rsc->variant == pe_native && (rsc->running_on == NULL)) { variant 737 lib/pengine/native.c CRM_ASSERT(rsc->variant == pe_native); variant 767 lib/pengine/native.c CRM_ASSERT(rsc->variant == pe_native); variant 882 lib/pengine/native.c CRM_ASSERT(rsc->variant == pe_native); variant 923 lib/pengine/native.c CRM_ASSERT(rsc->variant == pe_native); variant 988 lib/pengine/native.c CRM_ASSERT(rsc->variant == pe_native); variant 1008 lib/pengine/native.c CRM_ASSERT(rsc->variant == pe_native); variant 1117 lib/pengine/native.c if (rsc->variant != pe_native) { variant 1834 lib/pengine/pe_output.c if (uber_parent(rsc)->variant == pe_group) { variant 2441 lib/pengine/pe_output.c } else if (brief_output && (rsc->variant == pe_native)) { variant 1894 lib/pengine/unpack.c } else if (rsc->variant > pe_native) { variant 1406 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 1498 tools/crm_mon.c switch (cib->variant) { variant 1639 tools/crm_mon.c if (cib->variant == cib_file) { variant 203 tools/crm_resource_runtime.c if(pe_clone == rsc->variant) { variant 240 tools/crm_resource_runtime.c if(rsc->parent && pe_clone == rsc->parent->variant) { variant 253 tools/crm_resource_runtime.c } else if(rsc->parent == NULL && rsc->children && pe_clone == rsc->variant) { variant 256 tools/crm_resource_runtime.c if(child->variant == pe_native) { variant 520 tools/crm_resource_runtime.c } else if (rsc->variant != pe_native) { variant 1025 tools/crm_resource_runtime.c if (rsc->variant == pe_group) { variant 1839 tools/crm_resource_runtime.c if(rsc->variant == pe_group) {