variant 646 fencing/main.c if (rsc->parent && (rsc->parent->variant == pe_group)) { variant 151 include/crm/cib.h enum cib_variant variant; variant 265 include/crm/pengine/status.h enum pe_obj_types variant; variant 491 include/crm/pengine/status.h return rsc && ((rsc->variant == pe_clone) || (rsc->variant == pe_master)); variant 363 lib/cib/cib_client.c new_cib->variant = cib_undefined; variant 466 lib/cib/cib_client.c if (cib->variant != cib_native && cib->variant != cib_remote) { variant 517 lib/cib/cib_client.c if (cib->variant != cib_native && cib->variant != cib_remote) { variant 485 lib/cib/cib_file.c cib->variant = cib_file; variant 66 lib/cib/cib_native.c cib->variant = cib_native; variant 123 lib/cib/cib_remote.c cib->variant = cib_remote; variant 324 lib/pengine/clone.c int is_master_slave = rsc->variant == pe_master ? 1 : 0; variant 410 lib/pengine/clone.c if (rsc->variant == pe_master) { variant 521 lib/pengine/clone.c if(rsc->variant == pe_master) { variant 515 lib/pengine/complex.c (*rsc)->variant = get_resource_type(crm_element_name((*rsc)->xml)); variant 516 lib/pengine/complex.c if ((*rsc)->variant == pe_unknown) { variant 544 lib/pengine/complex.c (*rsc)->fns = &resource_class_functions[(*rsc)->variant]; variant 904 lib/pengine/complex.c while (parent->parent != NULL && parent->parent->variant != pe_container) { variant 917 lib/pengine/complex.c pe_rsc_trace(rsc, "Freeing %s %d", rsc->id, rsc->variant); variant 1448 lib/pengine/container.c if ((rsc == NULL) || (rsc->variant != pe_container)) { variant 50 lib/pengine/native.c if (rsc->variant == pe_native) { variant 54 lib/pengine/native.c if (rsc->variant == pe_native && node->details->maintenance) { variant 72 lib/pengine/native.c if (rsc->variant == pe_native && g_list_length(rsc->running_on) > 1) { variant 98 lib/pengine/native.c && (rsc->parent->variant == pe_group || rsc->parent->variant == pe_container) variant 380 lib/pengine/native.c && (uber_parent(rsc)->variant == pe_master)) { variant 492 lib/pengine/native.c CRM_ASSERT(rsc->variant == pe_native); variant 524 lib/pengine/native.c } else if (rsc->variant == pe_native && g_list_length(rsc->running_on) == 0) { variant 590 lib/pengine/native.c } else if (uber_parent(rsc)->variant == pe_master variant 731 lib/pengine/native.c CRM_ASSERT(rsc->variant == pe_native); variant 821 lib/pengine/native.c if (rsc->variant != pe_native) { variant 1808 lib/pengine/unpack.c } else if (rsc->variant > pe_native) { variant 2359 lib/pengine/unpack.c if (top && top->variant == pe_master) { variant 1368 lib/pengine/utils.c } else if (allow_non_atomic == FALSE || rsc->variant == pe_native) { variant 1708 lib/pengine/utils.c if (uber_parent(rsc)->variant == pe_master) { variant 55 lib/pengine/variant.h CRM_ASSERT(rsc->variant == pe_clone || rsc->variant == pe_master); \ variant 126 lib/pengine/variant.h CRM_ASSERT(rsc->variant == pe_container); \ variant 147 lib/pengine/variant.h CRM_ASSERT(rsc->variant == pe_group); \ variant 159 lib/pengine/variant.h CRM_ASSERT(rsc->variant == pe_native); \ variant 590 pengine/allocate.c if (rsc->variant != pe_native) { variant 745 pengine/allocate.c rsc->cmds = &resource_class_alloc_functions[rsc->variant]; variant 2303 pengine/allocate.c crm_err("Applying %s before %s %d", first->uuid, start->uuid, uber_parent(first_rsc)->variant); variant 896 pengine/clone.c if (rsc->variant == pe_master) { variant 1033 pengine/clone.c CRM_CHECK(rsc_lh->variant == pe_native, return); variant 1040 pengine/clone.c if(crm_is_true(interleave_s) && constraint->rsc_lh->variant > pe_group) { variant 1147 pengine/constraints.c if (rsc_constraint1->rsc_lh->variant > rsc_constraint2->rsc_lh->variant) { variant 1149 pengine/constraints.c } else if (rsc_constraint1->rsc_lh->variant < rsc_constraint2->rsc_lh->variant) { variant 1181 pengine/constraints.c if (rsc_constraint1->rsc_rh->variant > rsc_constraint2->rsc_rh->variant) { variant 1183 pengine/constraints.c } else if (rsc_constraint1->rsc_rh->variant < rsc_constraint2->rsc_rh->variant) { variant 50 pengine/container.c if(rsc->variant == pe_container) { variant 65 pengine/container.c if(rsc->variant == pe_container) { variant 232 pengine/container.c if(container_data->child->variant == pe_master) { variant 318 pengine/container.c if(container_data->child->variant == pe_master) { variant 421 pengine/container.c switch(rsc->variant) { variant 452 pengine/container.c CRM_ASSERT(rsc_lh->variant == pe_native); variant 458 pengine/container.c } else if(constraint->rsc_lh->variant > pe_group) { variant 568 pengine/container.c if(rsc->variant == pe_container) { variant 722 pengine/container.c } else if(first->rsc->variant < pe_clone || then->rsc->variant < pe_clone) { variant 87 pengine/graph.c } else if (rsc->variant < pe_group) { variant 158 pengine/graph.c || (pe_rsc_is_clone(rsc) && (rsc->parent->variant == pe_container))) { variant 165 pengine/graph.c if (rsc->variant >= pe_group) { variant 566 pengine/graph.c if (first->rsc && first->rsc->variant == pe_group && safe_str_eq(first->task, RSC_START)) { variant 573 pengine/graph.c if (then->rsc && then->rsc->variant == pe_group && safe_str_eq(then->task, RSC_START)) { variant 1178 pengine/graph.c } else if(action->rsc && action->rsc->variant <= pe_native) { variant 1565 pengine/graph.c && wrapper->action->rsc->variant != pe_native) { variant 210 pengine/group.c if (top->variant == pe_master) { variant 232 pengine/group.c if (top->variant == pe_master) { variant 243 pengine/group.c if (top->variant == pe_master) { variant 259 pengine/group.c if (top->variant == pe_master) { variant 287 pengine/group.c if (top->variant == pe_master) { variant 339 pengine/group.c CRM_CHECK(rsc_lh->variant == pe_native, return); variant 1005 pengine/master.c CRM_CHECK(rsc_lh->variant == pe_native, return); variant 333 pengine/native.c if (rsc->variant == pe_group && rsc->children) { variant 348 pengine/native.c } else if (rsc->variant == pe_group && rsc->children) { variant 378 pengine/native.c } else if(rsc->variant == pe_group && rsc->children) { variant 1364 pengine/native.c if (top->variant == pe_master || rsc->role > RSC_ROLE_SLAVE) { variant 1578 pengine/native.c rsc_lh->parent->variant == pe_master && is_not_set(rsc_lh->flags, pe_rsc_provisional)) { variant 2007 pengine/native.c CRM_ASSERT(first->rsc && first->rsc->variant == pe_native); variant 2008 pengine/native.c CRM_ASSERT(then->rsc && then->rsc->variant == pe_native); variant 2300 pengine/native.c if(rsc->variant == pe_container) { variant 3289 pengine/native.c } else if (rsc->variant > pe_native) { variant 194 pengine/utilization.c if (rsc->variant == pe_native) { variant 199 pengine/utilization.c } else if (rsc->variant == pe_group) { variant 299 pengine/utilization.c if (rsc_rh->variant == pe_group) { variant 326 pengine/utilization.c if (rsc_lh->variant == pe_group) { variant 249 pengine/utils.c CRM_ASSERT(rsc->variant == pe_native); variant 307 tools/crm_mon.c if ((output_format == mon_output_console) && need_pass && (cib->variant == cib_remote)) { variant 1213 tools/crm_mon.c } else if (brief_output && (rsc->variant == pe_native)) { variant 1023 tools/crm_resource.c } else if(rsc->variant == pe_master) { variant 179 tools/crm_resource_runtime.c switch(rsc->parent->variant) { variant 208 tools/crm_resource_runtime.c if(child->variant == pe_native) { variant 465 tools/crm_resource_runtime.c } else if (rsc->variant != pe_native) { variant 707 tools/crm_resource_runtime.c } else if(parent->variant == pe_master && role == RSC_ROLE_SLAVE) { variant 838 tools/crm_resource_runtime.c if (rsc->variant == pe_group) { variant 1502 tools/crm_resource_runtime.c if(rsc->variant == pe_group) { variant 1626 tools/crm_resource_runtime.c if (scope_master && rsc->variant != pe_master) { variant 1628 tools/crm_resource_runtime.c if(p->variant == pe_master) { variant 1635 tools/crm_resource_runtime.c get_resource_typename(rsc->variant)); variant 1640 tools/crm_resource_runtime.c if(rsc->variant == pe_master) {