checks 453 tools/crm_resource_print.c resource_checks_t *checks = va_arg(args, resource_checks_t *); checks 455 tools/crm_resource_print.c pe_resource_t *parent = uber_parent(checks->rsc); checks 457 tools/crm_resource_print.c if (checks->flags == 0) { checks 463 tools/crm_resource_print.c if (pcmk_is_set(checks->flags, rsc_remain_stopped)) { checks 468 tools/crm_resource_print.c if (pcmk_is_set(checks->flags, rsc_unpromotable)) { checks 473 tools/crm_resource_print.c if (pcmk_is_set(checks->flags, rsc_unmanaged)) { checks 478 tools/crm_resource_print.c if (pcmk_is_set(checks->flags, rsc_locked)) { checks 480 tools/crm_resource_print.c parent->id, checks->lock_node); checks 483 tools/crm_resource_print.c if (pcmk_is_set(checks->flags, rsc_node_health)) { checks 488 tools/crm_resource_print.c pe_pref(checks->rsc->cluster->config_hash, checks 499 tools/crm_resource_print.c resource_checks_t *checks = va_arg(args, resource_checks_t *); checks 501 tools/crm_resource_print.c pe_resource_t *parent = uber_parent(checks->rsc); checks 507 tools/crm_resource_print.c if (pcmk_is_set(checks->flags, rsc_remain_stopped)) { checks 511 tools/crm_resource_print.c if (pcmk_is_set(checks->flags, rsc_unpromotable)) { checks 515 tools/crm_resource_print.c if (pcmk_is_set(checks->flags, rsc_unmanaged)) { checks 519 tools/crm_resource_print.c if (pcmk_is_set(checks->flags, rsc_locked)) { checks 520 tools/crm_resource_print.c crm_xml_add(node, "locked-to", checks->lock_node); checks 523 tools/crm_resource_print.c if (pcmk_is_set(checks->flags, rsc_node_health)) { checks 868 tools/crm_resource_runtime.c check_role(resource_checks_t *checks) checks 870 tools/crm_resource_runtime.c const char *role_s = g_hash_table_lookup(checks->rsc->meta, checks 878 tools/crm_resource_runtime.c checks->flags |= rsc_remain_stopped; checks 882 tools/crm_resource_runtime.c if (pcmk_is_set(uber_parent(checks->rsc)->flags, checks 884 tools/crm_resource_runtime.c checks->flags |= rsc_unpromotable; checks 894 tools/crm_resource_runtime.c check_managed(resource_checks_t *checks) checks 896 tools/crm_resource_runtime.c const char *managed_s = g_hash_table_lookup(checks->rsc->meta, checks 900 tools/crm_resource_runtime.c checks->flags |= rsc_unmanaged; checks 905 tools/crm_resource_runtime.c check_locked(resource_checks_t *checks) checks 907 tools/crm_resource_runtime.c if (checks->rsc->lock_node != NULL) { checks 908 tools/crm_resource_runtime.c checks->flags |= rsc_locked; checks 909 tools/crm_resource_runtime.c checks->lock_node = checks->rsc->lock_node->details->uname; checks 944 tools/crm_resource_runtime.c check_node_health(resource_checks_t *checks, pe_node_t *node) checks 951 tools/crm_resource_runtime.c g_hash_table_iter_init(&iter, checks->rsc->allowed_nodes); checks 960 tools/crm_resource_runtime.c checks->flags |= rsc_node_health; checks 964 tools/crm_resource_runtime.c checks->flags |= rsc_node_health; checks 971 tools/crm_resource_runtime.c resource_checks_t checks = { .rsc = rsc }; checks 973 tools/crm_resource_runtime.c check_role(&checks); checks 974 tools/crm_resource_runtime.c check_managed(&checks); checks 975 tools/crm_resource_runtime.c check_locked(&checks); checks 976 tools/crm_resource_runtime.c check_node_health(&checks, node); checks 978 tools/crm_resource_runtime.c return out->message(out, "resource-check-list", &checks);