variant 167 daemons/fenced/fenced_scheduler.c && (rsc->parent->variant == pcmk_rsc_variant_group)) { variant 332 include/crm/cib/cib_types.h enum cib_variant variant; variant 414 include/crm/common/resources.h enum pe_obj_types variant; //!< Resource variant variant 61 include/crm/pengine/status.h return (rsc != NULL) && (rsc->variant == pcmk_rsc_variant_clone); variant 106 include/crm/pengine/status.h return rsc->variant == pcmk_rsc_variant_bundle; variant 85 lib/cib/cib_client.c if ((cib->variant != cib_native) && (cib->variant != cib_remote)) { variant 139 lib/cib/cib_client.c if (cib->variant != cib_native && cib->variant != cib_remote) { variant 678 lib/cib/cib_client.c new_cib->variant = cib_undefined; variant 663 lib/cib/cib_file.c cib->variant = cib_file; variant 488 lib/cib/cib_native.c cib->variant = cib_native; variant 610 lib/cib/cib_remote.c cib->variant = cib_remote; variant 640 lib/cib/cib_remote.c if (cib->variant != cib_remote) { variant 351 lib/pacemaker/pcmk_graph_producer.c && (action->rsc->variant <= pcmk_rsc_variant_primitive)) { variant 130 lib/pacemaker/pcmk_resource.c if (rsc->variant != pcmk_rsc_variant_primitive) { variant 104 lib/pacemaker/pcmk_sched_actions.c || (first_rsc->variant < pcmk_rsc_variant_group)) { variant 187 lib/pacemaker/pcmk_sched_actions.c if ((rsc != NULL) && (rsc->variant >= pcmk_rsc_variant_group) variant 547 lib/pacemaker/pcmk_sched_actions.c && (first->rsc->variant == pcmk_rsc_variant_group) variant 558 lib/pacemaker/pcmk_sched_actions.c && (then->rsc->variant == pcmk_rsc_variant_group) variant 682 lib/pacemaker/pcmk_sched_actions.c && (action->rsc->variant == pcmk_rsc_variant_primitive); variant 1545 lib/pacemaker/pcmk_sched_actions.c if (rsc->variant > pcmk_rsc_variant_primitive) { variant 1866 lib/pacemaker/pcmk_sched_actions.c if (rsc->variant == pcmk_rsc_variant_primitive) { variant 118 lib/pacemaker/pcmk_sched_bundle.c CRM_ASSERT((rsc != NULL) && (rsc->variant == pcmk_rsc_variant_bundle)); variant 194 lib/pacemaker/pcmk_sched_bundle.c CRM_ASSERT((rsc != NULL) && (rsc->variant == pcmk_rsc_variant_bundle)); variant 301 lib/pacemaker/pcmk_sched_bundle.c CRM_ASSERT((rsc != NULL) && (rsc->variant == pcmk_rsc_variant_bundle)); variant 529 lib/pacemaker/pcmk_sched_bundle.c && (primary->variant == pcmk_rsc_variant_bundle) variant 531 lib/pacemaker/pcmk_sched_bundle.c && (dependent->variant == pcmk_rsc_variant_primitive) variant 548 lib/pacemaker/pcmk_sched_bundle.c if (colocation->dependent->variant > pcmk_rsc_variant_group) { variant 589 lib/pacemaker/pcmk_sched_bundle.c CRM_ASSERT((rsc != NULL) && (rsc->variant == pcmk_rsc_variant_bundle) variant 634 lib/pacemaker/pcmk_sched_bundle.c CRM_ASSERT((rsc != NULL) && (rsc->variant == pcmk_rsc_variant_bundle) variant 689 lib/pacemaker/pcmk_sched_bundle.c && (action->rsc->variant == pcmk_rsc_variant_bundle)); variant 751 lib/pacemaker/pcmk_sched_bundle.c CRM_ASSERT((rsc != NULL) && (rsc->variant == pcmk_rsc_variant_bundle) variant 849 lib/pacemaker/pcmk_sched_bundle.c CRM_ASSERT((rsc != NULL) && (rsc->variant == pcmk_rsc_variant_bundle)); variant 982 lib/pacemaker/pcmk_sched_bundle.c CRM_ASSERT((rsc != NULL) && (rsc->variant == pcmk_rsc_variant_bundle)); variant 1023 lib/pacemaker/pcmk_sched_bundle.c CRM_ASSERT((rsc != NULL) && (rsc->variant == pcmk_rsc_variant_bundle)); variant 1035 lib/pacemaker/pcmk_sched_bundle.c CRM_ASSERT((rsc != NULL) && (rsc->variant == pcmk_rsc_variant_bundle)); variant 1056 lib/pacemaker/pcmk_sched_bundle.c CRM_ASSERT((rsc != NULL) && (rsc->variant == pcmk_rsc_variant_bundle)); variant 207 lib/pacemaker/pcmk_sched_clone.c if (dependent->variant <= pcmk_rsc_variant_group) { variant 260 lib/pacemaker/pcmk_sched_clone.c && (dependent->variant == pcmk_rsc_variant_primitive)); variant 84 lib/pacemaker/pcmk_sched_colocation.c if (rsc1->variant > rsc2->variant) { variant 87 lib/pacemaker/pcmk_sched_colocation.c if (rsc1->variant < rsc2->variant) { variant 95 lib/pacemaker/pcmk_sched_colocation.c if (rsc1->variant == pcmk_rsc_variant_clone) { variant 1802 lib/pacemaker/pcmk_sched_colocation.c if (target_rsc->variant == pcmk_rsc_variant_clone) { variant 34 lib/pacemaker/pcmk_sched_fencing.c } else if ((rsc->variant == pcmk_rsc_variant_primitive) variant 44 lib/pacemaker/pcmk_sched_group.c CRM_ASSERT((rsc != NULL) && (rsc->variant == pcmk_rsc_variant_group)); variant 117 lib/pacemaker/pcmk_sched_group.c CRM_ASSERT((rsc != NULL) && (rsc->variant == pcmk_rsc_variant_group)); variant 311 lib/pacemaker/pcmk_sched_group.c CRM_ASSERT((rsc != NULL) && (rsc->variant == pcmk_rsc_variant_group)); variant 471 lib/pacemaker/pcmk_sched_group.c CRM_ASSERT(dependent->variant == pcmk_rsc_variant_primitive); variant 616 lib/pacemaker/pcmk_sched_group.c CRM_ASSERT((rsc != NULL) && (rsc->variant == pcmk_rsc_variant_group) variant 654 lib/pacemaker/pcmk_sched_group.c CRM_ASSERT((rsc != NULL) && (rsc->variant == pcmk_rsc_variant_group)); variant 692 lib/pacemaker/pcmk_sched_group.c CRM_ASSERT((rsc != NULL) && (rsc->variant == pcmk_rsc_variant_group) variant 742 lib/pacemaker/pcmk_sched_group.c CRM_ASSERT((rsc != NULL) && (rsc->variant == pcmk_rsc_variant_group) variant 853 lib/pacemaker/pcmk_sched_group.c && (source_rsc->variant == pcmk_rsc_variant_group) variant 905 lib/pacemaker/pcmk_sched_group.c CRM_ASSERT((rsc != NULL) && (rsc->variant == pcmk_rsc_variant_group) variant 943 lib/pacemaker/pcmk_sched_group.c CRM_ASSERT((rsc != NULL) && (rsc->variant == pcmk_rsc_variant_group)); variant 900 lib/pacemaker/pcmk_sched_instances.c if (instance->variant > pcmk_rsc_variant_primitive) { variant 1018 lib/pacemaker/pcmk_sched_instances.c if (collective->variant == pcmk_rsc_variant_clone) { variant 1038 lib/pacemaker/pcmk_sched_instances.c if (rsc->variant == pcmk_rsc_variant_bundle) { variant 1461 lib/pacemaker/pcmk_sched_instances.c if ((first->rsc->variant < pcmk_rsc_variant_clone) variant 1462 lib/pacemaker/pcmk_sched_instances.c || (then->rsc->variant < pcmk_rsc_variant_clone)) { variant 1636 lib/pacemaker/pcmk_sched_instances.c if (instance->variant == pcmk_rsc_variant_primitive) { variant 398 lib/pacemaker/pcmk_sched_primitive.c CRM_ASSERT((rsc != NULL) && (rsc->variant == pcmk_rsc_variant_primitive)); variant 693 lib/pacemaker/pcmk_sched_primitive.c CRM_ASSERT((rsc != NULL) && (rsc->variant == pcmk_rsc_variant_primitive)); variant 905 lib/pacemaker/pcmk_sched_primitive.c CRM_ASSERT((rsc != NULL) && (rsc->variant == pcmk_rsc_variant_primitive)); variant 1126 lib/pacemaker/pcmk_sched_primitive.c CRM_ASSERT((rsc != NULL) && (rsc->variant == pcmk_rsc_variant_primitive) variant 1156 lib/pacemaker/pcmk_sched_primitive.c CRM_ASSERT((rsc != NULL) && (rsc->variant == pcmk_rsc_variant_primitive) variant 1491 lib/pacemaker/pcmk_sched_primitive.c CRM_ASSERT((rsc != NULL) && (rsc->variant == pcmk_rsc_variant_primitive) variant 1540 lib/pacemaker/pcmk_sched_primitive.c CRM_ASSERT((rsc != NULL) && (rsc->variant == pcmk_rsc_variant_primitive) variant 1601 lib/pacemaker/pcmk_sched_primitive.c CRM_ASSERT((rsc != NULL) && (rsc->variant == pcmk_rsc_variant_primitive)); variant 485 lib/pacemaker/pcmk_sched_probes.c if ((after->action->rsc->variant <= pcmk_rsc_variant_group) variant 548 lib/pacemaker/pcmk_sched_probes.c || (probe->rsc->variant != pcmk_rsc_variant_primitive) variant 567 lib/pacemaker/pcmk_sched_probes.c && (after->rsc->variant == pcmk_rsc_variant_primitive) variant 597 lib/pacemaker/pcmk_sched_probes.c && (after->rsc->variant > pcmk_rsc_variant_group)) { variant 635 lib/pacemaker/pcmk_sched_probes.c || (after->rsc->variant < pcmk_rsc_variant_group) variant 638 lib/pacemaker/pcmk_sched_probes.c || (after_wrapper->action->rsc->variant > pcmk_rsc_variant_group) variant 646 lib/pacemaker/pcmk_sched_probes.c if ((after->rsc->variant > pcmk_rsc_variant_group) && interleave variant 694 lib/pacemaker/pcmk_sched_probes.c if (rsc->variant != pcmk_rsc_variant_primitive) { variant 826 lib/pacemaker/pcmk_sched_probes.c pe__const_top_resource(first_rsc, false)->variant); variant 207 lib/pacemaker/pcmk_sched_resource.c rsc->cmds = &assignment_methods[rsc->variant]; variant 807 lib/pacemaker/pcmk_simulate.c if ((cib->variant == cib_native) variant 111 lib/pacemaker/pcmk_status.c if ((cib->variant == cib_native) && pcmk_is_set(show, pcmk_section_times)) { variant 240 lib/pacemaker/pcmk_status.c if (cib->variant == cib_native) { variant 83 lib/pengine/bundle.c CRM_ASSERT(rsc->variant == pcmk_rsc_variant_bundle); \ variant 136 lib/pengine/bundle.c if ((top == NULL) || (top->variant != pcmk_rsc_variant_bundle)) { variant 2034 lib/pengine/bundle.c if ((rsc == NULL) || (rsc->variant != pcmk_rsc_variant_bundle)) { variant 51 lib/pengine/clone.c CRM_ASSERT((rsc != NULL) && (rsc->variant == pcmk_rsc_variant_clone)); \ variant 532 lib/pengine/complex.c } else if ((rsc->variant == pcmk_rsc_variant_primitive) variant 666 lib/pengine/complex.c (*rsc)->variant = get_resource_type((const char *) (*rsc)->xml->name); variant 667 lib/pengine/complex.c if ((*rsc)->variant == pcmk_rsc_variant_unknown) { variant 692 lib/pengine/complex.c (*rsc)->fns = &resource_class_functions[(*rsc)->variant]; variant 944 lib/pengine/complex.c && (parent->parent->variant != pcmk_rsc_variant_bundle)) { variant 971 lib/pengine/complex.c && (parent->parent->variant == pcmk_rsc_variant_bundle)) { variant 986 lib/pengine/complex.c pe_rsc_trace(rsc, "Freeing %s %d", rsc->id, rsc->variant); variant 40 lib/pengine/group.c CRM_CHECK((group->variant == pcmk_rsc_variant_group) variant 61 lib/pengine/group.c CRM_CHECK((group != NULL) && (group->variant == pcmk_rsc_variant_group) variant 537 lib/pengine/group.c CRM_ASSERT((rsc != NULL) && (rsc->variant == pcmk_rsc_variant_group)); variant 37 lib/pengine/native.c if (rsc->variant == pcmk_rsc_variant_primitive) { variant 109 lib/pengine/native.c if (rsc->variant == pcmk_rsc_variant_primitive) { variant 115 lib/pengine/native.c if ((rsc->variant == pcmk_rsc_variant_primitive) variant 162 lib/pengine/native.c && ((rsc->parent->variant == pcmk_rsc_variant_group) variant 163 lib/pengine/native.c || (rsc->parent->variant == pcmk_rsc_variant_bundle)) variant 573 lib/pengine/native.c if (rsc->variant != pcmk_rsc_variant_primitive) { variant 727 lib/pengine/native.c CRM_ASSERT(rsc->variant == pcmk_rsc_variant_primitive); variant 748 lib/pengine/native.c } else if ((rsc->variant == pcmk_rsc_variant_primitive) variant 781 lib/pengine/native.c CRM_ASSERT(rsc->variant == pcmk_rsc_variant_primitive); variant 816 lib/pengine/native.c CRM_ASSERT(rsc->variant == pcmk_rsc_variant_primitive); variant 936 lib/pengine/native.c CRM_ASSERT(rsc->variant == pcmk_rsc_variant_primitive); variant 980 lib/pengine/native.c CRM_ASSERT(rsc->variant == pcmk_rsc_variant_primitive); variant 1051 lib/pengine/native.c CRM_ASSERT(rsc->variant == pcmk_rsc_variant_primitive); variant 1072 lib/pengine/native.c CRM_ASSERT(rsc->variant == pcmk_rsc_variant_primitive); variant 1182 lib/pengine/native.c if (rsc->variant != pcmk_rsc_variant_primitive) { variant 1451 lib/pengine/native.c CRM_ASSERT((rsc != NULL) && (rsc->variant == pcmk_rsc_variant_primitive)); variant 1457 lib/pengine/pe_actions.c if ((rsc != NULL) && (rsc->variant == pcmk_rsc_variant_primitive)) { variant 2269 lib/pengine/pe_output.c if (parent->variant == pcmk_rsc_variant_group) { variant 2846 lib/pengine/pe_output.c && (rsc->variant == pcmk_rsc_variant_primitive)) { variant 2137 lib/pengine/unpack.c } else if (rsc->variant > pcmk_rsc_variant_primitive) { variant 874 lib/pengine/utils.c if (parent->variant == pcmk_rsc_variant_clone) { variant 1034 tools/crm_mon.c if (cib->variant == cib_native) { variant 1544 tools/crm_mon.c switch (cib->variant) { variant 1657 tools/crm_mon.c if (cib->variant == cib_file) { variant 2097 tools/crm_mon.c if (cib->variant == cib_native) { variant 180 tools/crm_resource_runtime.c if (rsc->variant == pcmk_rsc_variant_clone) { variant 218 tools/crm_resource_runtime.c && (rsc->parent->variant == pcmk_rsc_variant_clone)) { variant 233 tools/crm_resource_runtime.c && (rsc->variant == pcmk_rsc_variant_clone)) { variant 236 tools/crm_resource_runtime.c if (child->variant == pcmk_rsc_variant_primitive) { variant 559 tools/crm_resource_runtime.c } else if (rsc->variant != pcmk_rsc_variant_primitive) { variant 1153 tools/crm_resource_runtime.c if (rsc->variant == pcmk_rsc_variant_group) { variant 2098 tools/crm_resource_runtime.c if (rsc->variant == pcmk_rsc_variant_group) {