checks 535 tools/crm_resource_print.c resource_checks_t *checks = va_arg(args, resource_checks_t *); checks 537 tools/crm_resource_print.c const pcmk_resource_t *parent = pe__const_top_resource(checks->rsc, false); checks 539 tools/crm_resource_print.c if (checks->flags == 0) { checks 545 tools/crm_resource_print.c if (pcmk_is_set(checks->flags, rsc_remain_stopped)) { checks 550 tools/crm_resource_print.c if (pcmk_is_set(checks->flags, rsc_unpromotable)) { checks 555 tools/crm_resource_print.c if (pcmk_is_set(checks->flags, rsc_unmanaged)) { checks 560 tools/crm_resource_print.c if (pcmk_is_set(checks->flags, rsc_locked)) { checks 562 tools/crm_resource_print.c parent->id, checks->lock_node); checks 565 tools/crm_resource_print.c if (pcmk_is_set(checks->flags, rsc_node_health)) { checks 570 tools/crm_resource_print.c pcmk__cluster_option(checks->rsc->cluster->config_hash, checks 581 tools/crm_resource_print.c resource_checks_t *checks = va_arg(args, resource_checks_t *); checks 583 tools/crm_resource_print.c const pcmk_resource_t *parent = pe__const_top_resource(checks->rsc, false); checks 589 tools/crm_resource_print.c if (pcmk_is_set(checks->flags, rsc_remain_stopped)) { checks 593 tools/crm_resource_print.c if (pcmk_is_set(checks->flags, rsc_unpromotable)) { checks 597 tools/crm_resource_print.c if (pcmk_is_set(checks->flags, rsc_unmanaged)) { checks 601 tools/crm_resource_print.c if (pcmk_is_set(checks->flags, rsc_locked)) { checks 602 tools/crm_resource_print.c crm_xml_add(node, PCMK_XA_LOCKED_TO_HYPHEN, checks->lock_node); checks 605 tools/crm_resource_print.c if (pcmk_is_set(checks->flags, rsc_node_health)) { checks 1040 tools/crm_resource_runtime.c check_role(resource_checks_t *checks) checks 1042 tools/crm_resource_runtime.c const char *role_s = g_hash_table_lookup(checks->rsc->meta, checks 1050 tools/crm_resource_runtime.c checks->flags |= rsc_remain_stopped; checks 1054 tools/crm_resource_runtime.c if (pcmk_is_set(pe__const_top_resource(checks->rsc, false)->flags, checks 1056 tools/crm_resource_runtime.c checks->flags |= rsc_unpromotable; checks 1066 tools/crm_resource_runtime.c check_managed(resource_checks_t *checks) checks 1068 tools/crm_resource_runtime.c const char *managed_s = g_hash_table_lookup(checks->rsc->meta, checks 1072 tools/crm_resource_runtime.c checks->flags |= rsc_unmanaged; checks 1077 tools/crm_resource_runtime.c check_locked(resource_checks_t *checks) checks 1079 tools/crm_resource_runtime.c if (checks->rsc->lock_node != NULL) { checks 1080 tools/crm_resource_runtime.c checks->flags |= rsc_locked; checks 1081 tools/crm_resource_runtime.c checks->lock_node = checks->rsc->lock_node->details->uname; checks 1116 tools/crm_resource_runtime.c check_node_health(resource_checks_t *checks, pcmk_node_t *node) checks 1123 tools/crm_resource_runtime.c g_hash_table_iter_init(&iter, checks->rsc->allowed_nodes); checks 1132 tools/crm_resource_runtime.c checks->flags |= rsc_node_health; checks 1136 tools/crm_resource_runtime.c checks->flags |= rsc_node_health; checks 1143 tools/crm_resource_runtime.c resource_checks_t checks = { .rsc = rsc }; checks 1145 tools/crm_resource_runtime.c check_role(&checks); checks 1146 tools/crm_resource_runtime.c check_managed(&checks); checks 1147 tools/crm_resource_runtime.c check_locked(&checks); checks 1148 tools/crm_resource_runtime.c check_node_health(&checks, node); checks 1150 tools/crm_resource_runtime.c return out->message(out, "resource-check-list", &checks);