attrs 90 daemons/controld/controld_attrd.c update_attrd_list(GList *attrs, uint32_t opts) attrs 98 daemons/controld/controld_attrd.c rc = pcmk__attrd_api_update_list(attrd_api, attrs, NULL, NULL, NULL, attrs 228 daemons/controld/controld_te_events.c GList *attrs = NULL; attrs 256 daemons/controld/controld_te_events.c attrs = g_list_prepend(attrs, fail_pair); attrs 269 daemons/controld/controld_te_events.c attrs = g_list_prepend(attrs, last_pair); attrs 271 daemons/controld/controld_te_events.c update_attrd_list(attrs, opts); attrs 278 daemons/controld/controld_te_events.c g_list_free(attrs); attrs 46 daemons/controld/controld_utils.h void update_attrd_list(GList *attrs, uint32_t opts); attrs 2516 daemons/fenced/fenced_commands.c xmlNode *attrs = pcmk__xe_create(dev, PCMK__XE_ATTRIBUTES); attrs 2518 daemons/fenced/fenced_commands.c g_hash_table_foreach(device->params, hash2field, attrs); attrs 191 include/crm/common/ipc_attrd_internal.h int pcmk__attrd_api_update_list(pcmk_ipc_api_t *api, GList *attrs, attrs 143 include/crm/common/nodes.h GHashTable *attrs; // Node attributes attrs 135 lib/common/attrs.c value = g_hash_table_lookup(node->details->attrs, name); attrs 178 lib/common/attrs.c value = g_hash_table_lookup(host->details->attrs, name); attrs 410 lib/common/ipc_attrd.c pcmk__attrd_api_update_list(pcmk_ipc_api_t *api, GList *attrs, const char *dampen, attrs 417 lib/common/ipc_attrd.c if (attrs == NULL) { attrs 443 lib/common/ipc_attrd.c for (GList *iter = attrs; iter != NULL; iter = iter->next) { attrs 1202 lib/common/patchset.c const xmlNode *attrs = pcmk__xml_first_child(child); attrs 1204 lib/common/patchset.c if (attrs == NULL) { attrs 1210 lib/common/patchset.c for (xmlAttrPtr pIter = pcmk__xe_first_attr(attrs); pIter != NULL; attrs 378 lib/pacemaker/pcmk_graph_producer.c g_hash_table_foreach(action->node->details->attrs, hash2metafield, attrs 56 lib/pacemaker/pcmk_injections.c xmlNode *attrs = NULL; attrs 62 lib/pacemaker/pcmk_injections.c attrs = pcmk__xe_first_child(cib_node, PCMK__XE_TRANSIENT_ATTRIBUTES, NULL, attrs 64 lib/pacemaker/pcmk_injections.c if (attrs == NULL) { attrs 65 lib/pacemaker/pcmk_injections.c attrs = pcmk__xe_create(cib_node, PCMK__XE_TRANSIENT_ATTRIBUTES); attrs 66 lib/pacemaker/pcmk_injections.c crm_xml_add(attrs, PCMK_XA_ID, node_uuid); attrs 69 lib/pacemaker/pcmk_injections.c instance_attrs = pcmk__xe_first_child(attrs, PCMK_XE_INSTANCE_ATTRIBUTES, attrs 72 lib/pacemaker/pcmk_injections.c instance_attrs = pcmk__xe_create(attrs, PCMK_XE_INSTANCE_ATTRIBUTES); attrs 200 lib/pacemaker/pcmk_sched_location.c rule_input->node_attrs = node->details->attrs; attrs 68 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_remove_attr_test.c GList *attrs = NULL; attrs 97 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_remove_attr_test.c assert_int_equal(pcmk_ticket_remove_attr(&xml, "XYZ", attrs, false), pcmk_rc_ok); attrs 105 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_remove_attr_test.c g_list_free(attrs); attrs 112 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_remove_attr_test.c GList *attrs = NULL; attrs 117 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_remove_attr_test.c attrs = g_list_append(attrs, strdup("XYZ")); attrs 120 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_remove_attr_test.c assert_int_equal(pcmk_ticket_remove_attr(&xml, "ticketA", attrs, false), pcmk_rc_ok); attrs 133 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_remove_attr_test.c g_list_free_full(attrs, free); attrs 140 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_remove_attr_test.c GList *attrs = NULL; attrs 145 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_remove_attr_test.c attrs = g_list_append(attrs, strdup("owner")); attrs 147 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_remove_attr_test.c assert_int_equal(pcmk_ticket_remove_attr(&xml, "ticketA", attrs, false), pcmk_rc_ok); attrs 159 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_remove_attr_test.c g_list_free_full(attrs, free); attrs 166 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_remove_attr_test.c GList *attrs = NULL; attrs 171 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_remove_attr_test.c attrs = g_list_append(attrs, strdup(PCMK__XA_GRANTED)); attrs 173 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_remove_attr_test.c assert_int_equal(pcmk_ticket_remove_attr(&xml, "ticketB", attrs, false), EACCES); attrs 185 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_remove_attr_test.c g_list_free_full(attrs, free); attrs 192 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_remove_attr_test.c GList *attrs = NULL; attrs 197 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_remove_attr_test.c attrs = g_list_append(attrs, strdup(PCMK__XA_GRANTED)); attrs 199 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_remove_attr_test.c assert_int_equal(pcmk_ticket_remove_attr(&xml, "ticketB", attrs, true), pcmk_rc_ok); attrs 211 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_remove_attr_test.c g_list_free_full(attrs, free); attrs 68 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c GHashTable *attrs = pcmk__strkey_table(free, free); attrs 86 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c assert_int_equal(pcmk_ticket_set_attr(&xml, "XYZ", attrs, false), pcmk_rc_ok); attrs 94 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c g_hash_table_destroy(attrs); attrs 101 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c GHashTable *attrs = pcmk__strkey_table(free, free); attrs 106 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c pcmk__insert_dup(attrs, "attrA", "123"); attrs 107 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c pcmk__insert_dup(attrs, "attrB", "456"); attrs 112 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c assert_int_equal(pcmk_ticket_set_attr(&xml, "XYZ", attrs, false), pcmk_rc_ok); attrs 125 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c g_hash_table_destroy(attrs); attrs 132 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c GHashTable *attrs = pcmk__strkey_table(free, free); attrs 137 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c pcmk__insert_dup(attrs, "owner", "2"); attrs 139 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c assert_int_equal(pcmk_ticket_set_attr(&xml, "ticketA", attrs, false), pcmk_rc_ok); attrs 151 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c g_hash_table_destroy(attrs); attrs 158 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c GHashTable *attrs = pcmk__strkey_table(free, free); attrs 163 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c pcmk__insert_dup(attrs, PCMK__XA_GRANTED, "true"); attrs 165 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c assert_int_equal(pcmk_ticket_set_attr(&xml, "ticketA", attrs, false), EACCES); attrs 178 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c g_hash_table_destroy(attrs); attrs 185 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c GHashTable *attrs = pcmk__strkey_table(free, free); attrs 190 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c pcmk__insert_dup(attrs, PCMK__XA_GRANTED, "true"); attrs 192 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c assert_int_equal(pcmk_ticket_set_attr(&xml, "ticketA", attrs, true), pcmk_rc_ok); attrs 205 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c g_hash_table_destroy(attrs); attrs 212 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c GHashTable *attrs = pcmk__strkey_table(free, free); attrs 217 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c pcmk__insert_dup(attrs, PCMK__XA_GRANTED, "false"); attrs 219 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c assert_int_equal(pcmk_ticket_set_attr(&xml, "ticketB", attrs, false), EACCES); attrs 232 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c g_hash_table_destroy(attrs); attrs 239 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c GHashTable *attrs = pcmk__strkey_table(free, free); attrs 244 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c pcmk__insert_dup(attrs, PCMK__XA_GRANTED, "false"); attrs 246 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c assert_int_equal(pcmk_ticket_set_attr(&xml, "ticketB", attrs, true), pcmk_rc_ok); attrs 259 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_set_attr_test.c g_hash_table_destroy(attrs); attrs 804 lib/pengine/bundle.c pcmk__insert_dup(replica->node->details->attrs, attrs 174 lib/pengine/clone.c GString *attrs = NULL; attrs 177 lib/pengine/clone.c pcmk__add_separated_word(&attrs, 64, "promotable", ", "); attrs 181 lib/pengine/clone.c pcmk__add_separated_word(&attrs, 64, "unique", ", "); attrs 185 lib/pengine/clone.c pcmk__add_separated_word(&attrs, 64, "disabled", ", "); attrs 189 lib/pengine/clone.c pcmk__add_separated_word(&attrs, 64, "maintenance", ", "); attrs 192 lib/pengine/clone.c pcmk__add_separated_word(&attrs, 64, "unmanaged", ", "); attrs 195 lib/pengine/clone.c if (attrs != NULL) { attrs 199 lib/pengine/clone.c (const char *) attrs->str, desc ? " (" : "", attrs 201 lib/pengine/clone.c g_string_free(attrs, TRUE); attrs 20 lib/pengine/complex.c void populate_hash(xmlNode * nvpair_list, GHashTable * hash, const char **attrs, int attrs_length); attrs 196 lib/pengine/complex.c rule_data.node_hash = node->details->attrs; attrs 243 lib/pengine/complex.c rule_data.node_hash = node->details->attrs; attrs 389 lib/pengine/failcounts.c g_hash_table_foreach(node->details->attrs, update_failcount_for_attr, attrs 119 lib/pengine/group.c GString *attrs = NULL; attrs 122 lib/pengine/group.c attrs = g_string_sized_new(64); attrs 123 lib/pengine/group.c g_string_append_printf(attrs, "%d member%s inactive", n_inactive, attrs 128 lib/pengine/group.c pcmk__add_separated_word(&attrs, 64, "disabled", ", "); attrs 132 lib/pengine/group.c pcmk__add_separated_word(&attrs, 64, "maintenance", ", "); attrs 135 lib/pengine/group.c pcmk__add_separated_word(&attrs, 64, "unmanaged", ", "); attrs 138 lib/pengine/group.c if (attrs != NULL) { attrs 141 lib/pengine/group.c (const char *) attrs->str, desc ? " (" : "", attrs 143 lib/pengine/group.c g_string_free(attrs, TRUE); attrs 727 lib/pengine/pe_actions.c .node_hash = (node == NULL)? NULL : node->details->attrs, attrs 1155 lib/pengine/pe_actions.c GHashTable *attrs = action->node->details->attrs; attrs 1161 lib/pengine/pe_actions.c attrs, scheduler); attrs 148 lib/pengine/pe_digest.c params = pcmk__unpack_action_rsc_params(action_config, node->details->attrs, attrs 115 lib/pengine/pe_health.c g_hash_table_foreach(node->details->attrs, add_node_health_value, attrs 146 lib/pengine/pe_health.c g_hash_table_iter_init(&iter, node->details->attrs); attrs 361 lib/pengine/pe_output.c const char *feature_set = g_hash_table_lookup(node->details->attrs, attrs 2352 lib/pengine/pe_output.c g_hash_table_iter_init(&iter, node->details->attrs); attrs 252 lib/pengine/status.c if (node->details->attrs != NULL) { attrs 253 lib/pengine/status.c g_hash_table_destroy(node->details->attrs); attrs 528 lib/pengine/unpack.c new_node->details->attrs = pcmk__strkey_table(free, free); attrs 531 lib/pengine/unpack.c pcmk__insert_dup(new_node->details->attrs, CRM_ATTR_KIND, "remote"); attrs 533 lib/pengine/unpack.c pcmk__insert_dup(new_node->details->attrs, CRM_ATTR_KIND, "cluster"); attrs 841 lib/pengine/unpack.c pcmk__insert_dup(remote_node->details->attrs, attrs 1117 lib/pengine/unpack.c const xmlNode *attrs = NULL; attrs 1138 lib/pengine/unpack.c attrs = pcmk__xe_first_child(state, PCMK__XE_TRANSIENT_ATTRIBUTES, NULL, attrs 1140 lib/pengine/unpack.c add_node_attrs(attrs, this_node, TRUE, scheduler); attrs 1203 lib/pengine/unpack.c const xmlNode *attrs = pcmk__xe_first_child(state, attrs 1207 lib/pengine/unpack.c add_node_attrs(attrs, node, TRUE, scheduler); attrs 5054 lib/pengine/unpack.c pcmk__insert_dup(node->details->attrs, attrs 5057 lib/pengine/unpack.c pcmk__insert_dup(node->details->attrs, CRM_ATTR_ID, node->details->id); attrs 5061 lib/pengine/unpack.c pcmk__insert_dup(node->details->attrs, attrs 5064 lib/pengine/unpack.c pcmk__insert_dup(node->details->attrs, attrs 5071 lib/pengine/unpack.c pcmk__insert_dup(node->details->attrs, CRM_ATTR_CLUSTER_NAME, attrs 5076 lib/pengine/unpack.c node->details->attrs, NULL, overwrite, attrs 5089 lib/pengine/unpack.c pcmk__insert_dup(node->details->attrs, attrs 5094 lib/pengine/unpack.c pcmk__insert_dup(node->details->attrs, attrs 261 maint/gnulib/lib/execute.c posix_spawnattr_t attrs; attrs 298 maint/gnulib/lib/execute.c && ((err = posix_spawnattr_init (&attrs)) != 0 attrs 300 maint/gnulib/lib/execute.c (err = posix_spawnattr_setsigmask (&attrs, attrs 303 maint/gnulib/lib/execute.c || (err = posix_spawnattr_setflags (&attrs, attrs 309 maint/gnulib/lib/execute.c attrs_allocated ? &attrs : NULL, attrs 312 maint/gnulib/lib/execute.c attrs_allocated ? &attrs : NULL, attrs 319 maint/gnulib/lib/execute.c posix_spawnattr_destroy (&attrs); attrs 330 maint/gnulib/lib/execute.c posix_spawnattr_destroy (&attrs); attrs 452 maint/gnulib/lib/spawn-pipe.c posix_spawnattr_t attrs; attrs 525 maint/gnulib/lib/spawn-pipe.c && ((err = posix_spawnattr_init (&attrs)) != 0 attrs 528 maint/gnulib/lib/spawn-pipe.c (err = posix_spawnattr_setpgroup (&attrs, 0)) != 0 attrs 529 maint/gnulib/lib/spawn-pipe.c || (err = posix_spawnattr_setflags (&attrs, attrs 533 maint/gnulib/lib/spawn-pipe.c (err = posix_spawnattr_setsigmask (&attrs, attrs 536 maint/gnulib/lib/spawn-pipe.c || (err = posix_spawnattr_setflags (&attrs, attrs 543 maint/gnulib/lib/spawn-pipe.c attrs_allocated ? &attrs : NULL, attrs 546 maint/gnulib/lib/spawn-pipe.c attrs_allocated ? &attrs : NULL, attrs 553 maint/gnulib/lib/spawn-pipe.c posix_spawnattr_destroy (&attrs); attrs 572 maint/gnulib/lib/spawn-pipe.c posix_spawnattr_destroy (&attrs); attrs 60 maint/gnulib/tests/test-posix_spawn-chdir.c posix_spawnattr_t attrs; attrs 96 maint/gnulib/tests/test-posix_spawn-chdir.c || (err = posix_spawnattr_init (&attrs)) != 0 attrs 101 maint/gnulib/tests/test-posix_spawn-chdir.c (err = posix_spawnattr_setsigmask (&attrs, &blocked_signals)) != 0 attrs 102 maint/gnulib/tests/test-posix_spawn-chdir.c || (err = posix_spawnattr_setflags (&attrs, POSIX_SPAWN_SETSIGMASK)) != 0 attrs 105 maint/gnulib/tests/test-posix_spawn-chdir.c || (err = posix_spawnp (&child, pwd_prog, &actions, &attrs, argv, environ)) != 0)) attrs 110 maint/gnulib/tests/test-posix_spawn-chdir.c posix_spawnattr_destroy (&attrs); attrs 117 maint/gnulib/tests/test-posix_spawn-chdir.c posix_spawnattr_destroy (&attrs); attrs 60 maint/gnulib/tests/test-posix_spawn-dup2-stdin.c posix_spawnattr_t attrs; attrs 93 maint/gnulib/tests/test-posix_spawn-dup2-stdin.c || (err = posix_spawnattr_init (&attrs)) != 0 attrs 98 maint/gnulib/tests/test-posix_spawn-dup2-stdin.c (err = posix_spawnattr_setsigmask (&attrs, &blocked_signals)) != 0 attrs 99 maint/gnulib/tests/test-posix_spawn-dup2-stdin.c || (err = posix_spawnattr_setflags (&attrs, POSIX_SPAWN_SETSIGMASK)) != 0 attrs 102 maint/gnulib/tests/test-posix_spawn-dup2-stdin.c || (err = posix_spawnp (&child, BOURNE_SHELL, &actions, &attrs, argv, environ)) != 0)) attrs 107 maint/gnulib/tests/test-posix_spawn-dup2-stdin.c posix_spawnattr_destroy (&attrs); attrs 114 maint/gnulib/tests/test-posix_spawn-dup2-stdin.c posix_spawnattr_destroy (&attrs); attrs 82 maint/gnulib/tests/test-posix_spawn-dup2-stdout.c posix_spawnattr_t attrs; attrs 116 maint/gnulib/tests/test-posix_spawn-dup2-stdout.c || (err = posix_spawnattr_init (&attrs)) != 0 attrs 121 maint/gnulib/tests/test-posix_spawn-dup2-stdout.c (err = posix_spawnattr_setsigmask (&attrs, &blocked_signals)) != 0 attrs 122 maint/gnulib/tests/test-posix_spawn-dup2-stdout.c || (err = posix_spawnattr_setflags (&attrs, POSIX_SPAWN_SETSIGMASK)) != 0 attrs 125 maint/gnulib/tests/test-posix_spawn-dup2-stdout.c || (err = posix_spawnp (&child, BOURNE_SHELL, &actions, &attrs, argv, environ)) != 0)) attrs 130 maint/gnulib/tests/test-posix_spawn-dup2-stdout.c posix_spawnattr_destroy (&attrs); attrs 137 maint/gnulib/tests/test-posix_spawn-dup2-stdout.c posix_spawnattr_destroy (&attrs); attrs 64 maint/gnulib/tests/test-posix_spawn-fchdir.c posix_spawnattr_t attrs; attrs 105 maint/gnulib/tests/test-posix_spawn-fchdir.c || (err = posix_spawnattr_init (&attrs)) != 0 attrs 110 maint/gnulib/tests/test-posix_spawn-fchdir.c (err = posix_spawnattr_setsigmask (&attrs, &blocked_signals)) != 0 attrs 111 maint/gnulib/tests/test-posix_spawn-fchdir.c || (err = posix_spawnattr_setflags (&attrs, POSIX_SPAWN_SETSIGMASK)) != 0 attrs 114 maint/gnulib/tests/test-posix_spawn-fchdir.c || (err = posix_spawnp (&child, pwd_prog, &actions, &attrs, argv, environ)) != 0)) attrs 119 maint/gnulib/tests/test-posix_spawn-fchdir.c posix_spawnattr_destroy (&attrs); attrs 126 maint/gnulib/tests/test-posix_spawn-fchdir.c posix_spawnattr_destroy (&attrs);