checks 447 tools/crm_resource_print.c resource_checks_t *checks = va_arg(args, resource_checks_t *); checks 449 tools/crm_resource_print.c const pcmk_resource_t *parent = pe__const_top_resource(checks->rsc, false); checks 451 tools/crm_resource_print.c if (checks->flags == 0) { checks 457 tools/crm_resource_print.c if (pcmk_is_set(checks->flags, rsc_remain_stopped)) { checks 462 tools/crm_resource_print.c if (pcmk_is_set(checks->flags, rsc_unpromotable)) { checks 467 tools/crm_resource_print.c if (pcmk_is_set(checks->flags, rsc_unmanaged)) { checks 472 tools/crm_resource_print.c if (pcmk_is_set(checks->flags, rsc_locked)) { checks 474 tools/crm_resource_print.c parent->id, checks->lock_node); checks 477 tools/crm_resource_print.c if (pcmk_is_set(checks->flags, rsc_node_health)) { checks 482 tools/crm_resource_print.c pe_pref(checks->rsc->cluster->config_hash, checks 493 tools/crm_resource_print.c resource_checks_t *checks = va_arg(args, resource_checks_t *); checks 495 tools/crm_resource_print.c const pcmk_resource_t *parent = pe__const_top_resource(checks->rsc, false); checks 501 tools/crm_resource_print.c if (pcmk_is_set(checks->flags, rsc_remain_stopped)) { checks 505 tools/crm_resource_print.c if (pcmk_is_set(checks->flags, rsc_unpromotable)) { checks 509 tools/crm_resource_print.c if (pcmk_is_set(checks->flags, rsc_unmanaged)) { checks 513 tools/crm_resource_print.c if (pcmk_is_set(checks->flags, rsc_locked)) { checks 514 tools/crm_resource_print.c crm_xml_add(node, "locked-to", checks->lock_node); checks 517 tools/crm_resource_print.c if (pcmk_is_set(checks->flags, rsc_node_health)) { checks 939 tools/crm_resource_runtime.c check_role(resource_checks_t *checks) checks 941 tools/crm_resource_runtime.c const char *role_s = g_hash_table_lookup(checks->rsc->meta, checks 949 tools/crm_resource_runtime.c checks->flags |= rsc_remain_stopped; checks 953 tools/crm_resource_runtime.c if (pcmk_is_set(pe__const_top_resource(checks->rsc, false)->flags, checks 955 tools/crm_resource_runtime.c checks->flags |= rsc_unpromotable; checks 965 tools/crm_resource_runtime.c check_managed(resource_checks_t *checks) checks 967 tools/crm_resource_runtime.c const char *managed_s = g_hash_table_lookup(checks->rsc->meta, checks 971 tools/crm_resource_runtime.c checks->flags |= rsc_unmanaged; checks 976 tools/crm_resource_runtime.c check_locked(resource_checks_t *checks) checks 978 tools/crm_resource_runtime.c if (checks->rsc->lock_node != NULL) { checks 979 tools/crm_resource_runtime.c checks->flags |= rsc_locked; checks 980 tools/crm_resource_runtime.c checks->lock_node = checks->rsc->lock_node->details->uname; checks 1015 tools/crm_resource_runtime.c check_node_health(resource_checks_t *checks, pcmk_node_t *node) checks 1022 tools/crm_resource_runtime.c g_hash_table_iter_init(&iter, checks->rsc->allowed_nodes); checks 1031 tools/crm_resource_runtime.c checks->flags |= rsc_node_health; checks 1035 tools/crm_resource_runtime.c checks->flags |= rsc_node_health; checks 1042 tools/crm_resource_runtime.c resource_checks_t checks = { .rsc = rsc }; checks 1044 tools/crm_resource_runtime.c check_role(&checks); checks 1045 tools/crm_resource_runtime.c check_managed(&checks); checks 1046 tools/crm_resource_runtime.c check_locked(&checks); checks 1047 tools/crm_resource_runtime.c check_node_health(&checks, node); checks 1049 tools/crm_resource_runtime.c return out->message(out, "resource-check-list", &checks);