list 499 daemons/controld/controld_execd.c char *list = NULL; list 538 daemons/controld/controld_execd.c if (list == NULL) { list 540 daemons/controld/controld_execd.c pcmk__add_word(&list, &len, " "); list 542 daemons/controld/controld_execd.c pcmk__add_word(&list, &len, param->rap_name); list 558 daemons/controld/controld_execd.c if (list != NULL) { list 560 daemons/controld/controld_execd.c pcmk__add_word(&list, &len, " "); list 562 daemons/controld/controld_execd.c return list; list 569 daemons/controld/controld_execd.c char *list = NULL; list 588 daemons/controld/controld_execd.c list = build_parameter_list(op, metadata, restart, ra_param_unique, list 599 daemons/controld/controld_execd.c crm_xml_add(update, XML_LRM_ATTR_OP_RESTART, list? list: ""); list 602 daemons/controld/controld_execd.c crm_trace("%s: %s, %s", op->rsc_id, digest, list); list 607 daemons/controld/controld_execd.c free(list); list 614 daemons/controld/controld_execd.c char *list = NULL; list 626 daemons/controld/controld_execd.c list = build_parameter_list(op, metadata, secure, ra_param_private, TRUE); list 628 daemons/controld/controld_execd.c if (list != NULL) { list 630 daemons/controld/controld_execd.c crm_xml_add(update, XML_LRM_ATTR_OP_SECURE, list); list 633 daemons/controld/controld_execd.c crm_trace("%s: %s, %s", op->rsc_id, digest, list); list 641 daemons/controld/controld_execd.c free(list); list 90 daemons/controld/controld_remote_ra.c static GList *fail_all_monitor_cmds(GList * list); list 933 daemons/controld/controld_remote_ra.c fail_all_monitor_cmds(GList * list) list 939 daemons/controld/controld_remote_ra.c for (gIter = list; gIter != NULL; gIter = gIter->next) { list 955 daemons/controld/controld_remote_ra.c list = g_list_remove(list, cmd); list 961 daemons/controld/controld_remote_ra.c return list; list 965 daemons/controld/controld_remote_ra.c remove_cmd(GList * list, const char *action, guint interval_ms) list 970 daemons/controld/controld_remote_ra.c for (gIter = list; gIter != NULL; gIter = gIter->next) { list 979 daemons/controld/controld_remote_ra.c list = g_list_remove(list, cmd); list 982 daemons/controld/controld_remote_ra.c return list; list 330 daemons/execd/cts-exec-helper.c lrmd_list_t *list = NULL; list 333 daemons/execd/cts-exec-helper.c rc = lrmd_conn->cmds->list_agents(lrmd_conn, &list, options.class, options.provider); list 337 daemons/execd/cts-exec-helper.c for (iter = list; iter != NULL; iter = iter->next) { list 340 daemons/execd/cts-exec-helper.c lrmd_list_freeall(list); list 347 daemons/execd/cts-exec-helper.c lrmd_list_t *list = NULL; list 350 daemons/execd/cts-exec-helper.c rc = lrmd_conn->cmds->list_ocf_providers(lrmd_conn, options.type, &list); list 354 daemons/execd/cts-exec-helper.c for (iter = list; iter != NULL; iter = iter->next) { list 357 daemons/execd/cts-exec-helper.c lrmd_list_freeall(list); list 365 daemons/execd/cts-exec-helper.c lrmd_list_t *list = NULL; list 368 daemons/execd/cts-exec-helper.c rc = lrmd_conn->cmds->list_standards(lrmd_conn, &list); list 372 daemons/execd/cts-exec-helper.c for (iter = list; iter != NULL; iter = iter->next) { list 375 daemons/execd/cts-exec-helper.c lrmd_list_freeall(list); list 257 daemons/fenced/cts-fence-helper.c single_test(st->cmds->list(st, st_opts, "test-id", NULL, 1), "list", 1, 0); list 328 daemons/fenced/cts-fence-helper.c rc = st->cmds->list(st, st_opts, "test-id", &tmp, 10); list 996 daemons/fenced/fenced_commands.c string_in_list(GListPtr list, const char *item) list 999 daemons/fenced/fenced_commands.c int max = g_list_length(list); list 1002 daemons/fenced/fenced_commands.c const char *value = g_list_nth_data(list, lpc); list 1899 daemons/fenced/fenced_commands.c xmlNode *list = NULL; list 1903 daemons/fenced/fenced_commands.c list = create_xml_node(NULL, __func__); list 1904 daemons/fenced/fenced_commands.c crm_xml_add(list, F_STONITH_TARGET, query->target); list 1917 daemons/fenced/fenced_commands.c dev = create_xml_node(list, F_STONITH_DEVICE); list 1962 daemons/fenced/fenced_commands.c crm_xml_add_int(list, F_STONITH_AVAILABLE_DEVICES, available_devices); list 1969 daemons/fenced/fenced_commands.c if (list != NULL) { list 1970 daemons/fenced/fenced_commands.c crm_log_xml_trace(list, "Add query results"); list 1971 daemons/fenced/fenced_commands.c add_message_xml(query->reply, F_STONITH_CALLDATA, list); list 1981 daemons/fenced/fenced_commands.c free_xml(list); list 261 daemons/fenced/pacemaker-fenced.h gboolean string_in_list(GListPtr list, const char *item); list 339 include/crm/common/internal.h pcmk__list_of_1(GList *list) list 341 include/crm/common/internal.h return list && (list->next == NULL); list 346 include/crm/common/internal.h pcmk__list_of_multiple(GList *list) list 348 include/crm/common/internal.h return list && (list->next != NULL); list 35 include/crm/common/nvpair.h GSList *pcmk_sort_nvpairs(GSList *list); list 37 include/crm/common/nvpair.h void pcmk_nvpairs2xml_attrs(GSList *list, xmlNode *xml); list 38 include/crm/common/strings_internal.h void pcmk__add_separated_word(char **list, size_t *len, const char *word, list 60 include/crm/common/strings_internal.h pcmk__add_word(char **list, size_t *len, const char *word) list 62 include/crm/common/strings_internal.h return pcmk__add_separated_word(list, len, word, " "); list 219 include/crm/pengine/internal.h pe_node_t *native_location(const pe_resource_t *rsc, GList **list, int current); list 365 include/crm/pengine/internal.h extern void node_list_exclude(GHashTable * list, GListPtr list2, gboolean merge_scores); list 367 include/crm/pengine/internal.h GHashTable *pe__node_list2table(GList *list); list 233 include/crm/stonith-ng.h int (*list)(stonith_t *st, int options, const char *id, char **list_output, int timeout); list 41 include/pcmki/pcmki_sched_utils.h GList *pcmk__copy_node_list(const GList *list, bool reset); list 81 include/portability.h g_list_free_full(GList * list, GDestroyNotify free_func) list 83 include/portability.h g_list_foreach(list, (GFunc) free_func, NULL); list 84 include/portability.h g_list_free(list); list 409 lib/cib/cib_client.c GList *list = cib->notify_list; list 411 lib/cib/cib_client.c while (list != NULL) { list 412 lib/cib/cib_client.c cib_notify_client_t *client = g_list_nth_data(list, 0); list 414 lib/cib/cib_client.c list = g_list_remove(list, client); list 147 lib/common/nvpair.c pcmk_sort_nvpairs(GSList *list) list 149 lib/common/nvpair.c return g_slist_sort(list, pcmk__compare_nvpair); list 202 lib/common/nvpair.c pcmk_nvpairs2xml_attrs(GSList *list, xmlNode *xml) list 204 lib/common/nvpair.c g_slist_foreach(list, pcmk__nvpair_add_xml_attr, xml); list 617 lib/common/strings.c pcmk__add_separated_word(char **list, size_t *len, const char *word, list 622 lib/common/strings.c CRM_ASSERT(list != NULL); list 629 lib/common/strings.c orig_len = (len != NULL)? *len : ((*list == NULL)? 0 : strlen(*list)); list 646 lib/common/strings.c *list = pcmk__realloc(*list, new_len + 1); list 647 lib/common/strings.c sprintf(*list + orig_len, "%s%s", separator, word); list 18 lib/common/tests/strings/pcmk__add_word_test.c char *list = NULL; list 21 lib/common/tests/strings/pcmk__add_word_test.c pcmk__add_word(&list, &list_len, "hello"); list 22 lib/common/tests/strings/pcmk__add_word_test.c pcmk__add_word(&list, &list_len, "world"); list 23 lib/common/tests/strings/pcmk__add_word_test.c g_assert_cmpint(strcmp(list, "hello world"), ==, 0); list 29 lib/common/tests/strings/pcmk__add_word_test.c char *list = NULL; list 31 lib/common/tests/strings/pcmk__add_word_test.c pcmk__add_word(&list, NULL, "hello"); list 32 lib/common/tests/strings/pcmk__add_word_test.c pcmk__add_word(&list, NULL, "world"); list 33 lib/common/tests/strings/pcmk__add_word_test.c g_assert_cmpint(strcmp(list, "hello world"), ==, 0); list 39 lib/common/tests/strings/pcmk__add_word_test.c char *list = NULL; list 41 lib/common/tests/strings/pcmk__add_word_test.c pcmk__add_word(&list, NULL, "hello"); list 42 lib/common/tests/strings/pcmk__add_word_test.c pcmk__add_word(&list, NULL, NULL); list 43 lib/common/tests/strings/pcmk__add_word_test.c pcmk__add_word(&list, NULL, ""); list 44 lib/common/tests/strings/pcmk__add_word_test.c g_assert_cmpint(strcmp(list, "hello"), ==, 0); list 50 lib/common/tests/strings/pcmk__add_word_test.c char *list = NULL; list 53 lib/common/tests/strings/pcmk__add_word_test.c pcmk__add_separated_word(&list, &list_len, "hello", NULL); list 54 lib/common/tests/strings/pcmk__add_word_test.c pcmk__add_separated_word(&list, &list_len, "world", NULL); list 55 lib/common/tests/strings/pcmk__add_word_test.c pcmk__add_separated_word(&list, &list_len, "I am a unit test", NULL); list 56 lib/common/tests/strings/pcmk__add_word_test.c g_assert_cmpint(strcmp(list, "hello world I am a unit test"), ==, 0); list 62 lib/common/tests/strings/pcmk__add_word_test.c char *list = NULL; list 65 lib/common/tests/strings/pcmk__add_word_test.c pcmk__add_separated_word(&list, &list_len, "hello", ","); list 66 lib/common/tests/strings/pcmk__add_word_test.c pcmk__add_separated_word(&list, &list_len, "world", ","); list 67 lib/common/tests/strings/pcmk__add_word_test.c pcmk__add_separated_word(&list, &list_len, "I am a unit test", ","); list 68 lib/common/tests/strings/pcmk__add_word_test.c g_assert_cmpint(strcmp(list, "hello,world,I am a unit test"), ==, 0); list 74 lib/common/tests/strings/pcmk__add_word_test.c char *list = NULL; list 77 lib/common/tests/strings/pcmk__add_word_test.c pcmk__add_separated_word(&list, &list_len, "hello", ", "); list 78 lib/common/tests/strings/pcmk__add_word_test.c pcmk__add_separated_word(&list, &list_len, "world", ", "); list 79 lib/common/tests/strings/pcmk__add_word_test.c pcmk__add_separated_word(&list, &list_len, "I am a unit test", ", "); list 80 lib/common/tests/strings/pcmk__add_word_test.c g_assert_cmpint(strcmp(list, "hello, world, I am a unit test"), ==, 0); list 399 lib/fencing/st_client.c char *list = NULL; list 425 lib/fencing/st_client.c pcmk__add_separated_word(&list, &len, device_list->value, ","); list 428 lib/fencing/st_client.c crm_xml_add(data, XML_ATTR_STONITH_DEVICES, list); list 430 lib/fencing/st_client.c free(list); list 2145 lib/fencing/st_client.c new_stonith->cmds->list = stonith_api_list; list 91 lib/lrmd/lrmd_alerts.c is_target_alert(char **list, const char *value) list 98 lib/lrmd/lrmd_alerts.c if (list == NULL) { list 102 lib/lrmd/lrmd_alerts.c target_list_num = g_strv_length(list); list 105 lib/lrmd/lrmd_alerts.c if (strcmp(list[cnt], value) == 0) { list 337 lib/pacemaker/pcmk_fence.c rc = st->cmds->list(st, st_opts, device_id, &lists, timeout/1000); list 634 lib/pacemaker/pcmk_sched_allocate.c GList *list = pe__resource_actions(rsc, node, CRM_OP_CLEAR_FAILCOUNT, TRUE); list 636 lib/pacemaker/pcmk_sched_allocate.c if (list) { list 639 lib/pacemaker/pcmk_sched_allocate.c g_list_free(list); list 1766 lib/pacemaker/pcmk_sched_allocate.c GListPtr list = NULL; list 1768 lib/pacemaker/pcmk_sched_allocate.c list = find_actions(actions, original_key, NULL); list 1769 lib/pacemaker/pcmk_sched_allocate.c if (list == NULL) { list 1777 lib/pacemaker/pcmk_sched_allocate.c list = find_actions(actions, key, NULL); list 1787 lib/pacemaker/pcmk_sched_allocate.c return list; list 754 lib/pacemaker/pcmk_sched_clone.c GList **list) list 777 lib/pacemaker/pcmk_sched_clone.c if (list) { list 778 lib/pacemaker/pcmk_sched_clone.c *list = active; list 786 lib/pacemaker/pcmk_sched_clone.c if (list) { list 787 lib/pacemaker/pcmk_sched_clone.c *list = possible; list 75 lib/pacemaker/pcmk_sched_notif.c expand_node_list(GListPtr list, char **uname, char **metal) list 84 lib/pacemaker/pcmk_sched_notif.c if (list == NULL) { list 92 lib/pacemaker/pcmk_sched_notif.c for (gIter = list; gIter != NULL; gIter = gIter->next) { list 130 lib/pacemaker/pcmk_sched_notif.c expand_list(GList *list, char **rsc_list, char **node_list) list 136 lib/pacemaker/pcmk_sched_notif.c CRM_CHECK(rsc_list != NULL, return list); list 139 lib/pacemaker/pcmk_sched_notif.c if (list == NULL) { list 144 lib/pacemaker/pcmk_sched_notif.c return list; list 154 lib/pacemaker/pcmk_sched_notif.c list = g_list_sort(list, sort_notify_entries); list 156 lib/pacemaker/pcmk_sched_notif.c for (GList *gIter = list; gIter != NULL; gIter = gIter->next) { list 184 lib/pacemaker/pcmk_sched_notif.c return list; list 688 lib/pacemaker/pcmk_sched_promotable.c GListPtr list = NULL; list 698 lib/pacemaker/pcmk_sched_promotable.c chosen = child_rsc->fns->location(child_rsc, &list, FALSE); list 699 lib/pacemaker/pcmk_sched_promotable.c if (pcmk__list_of_multiple(list)) { list 704 lib/pacemaker/pcmk_sched_promotable.c g_list_free(list); list 126 lib/pacemaker/pcmk_sched_utils.c pcmk__copy_node_list(const GList *list, bool reset) list 130 lib/pacemaker/pcmk_sched_utils.c for (const GList *gIter = list; gIter != NULL; gIter = gIter->next) { list 260 lib/pengine/clone.c short_print(char *list, const char *prefix, const char *type, const char *suffix, long options, void *print_data) list 266 lib/pengine/clone.c if (list) { list 270 lib/pengine/clone.c status_print("%s%s: [ %s ]%s", prefix, type, list, suffix); list 543 lib/pengine/clone.c GListPtr list = g_hash_table_get_values(rsc->allowed_nodes); list 550 lib/pengine/clone.c if (list == NULL) { list 554 lib/pengine/clone.c list = g_hash_table_get_values(rsc->known_on); list 557 lib/pengine/clone.c list = g_list_sort(list, sort_node_uname); list 558 lib/pengine/clone.c for (nIter = list; nIter != NULL; nIter = nIter->next) { list 566 lib/pengine/clone.c g_list_free(list); list 836 lib/pengine/clone.c GListPtr list = g_hash_table_get_values(rsc->allowed_nodes); list 843 lib/pengine/clone.c if (list == NULL) { list 847 lib/pengine/clone.c list = g_hash_table_get_values(rsc->known_on); list 850 lib/pengine/clone.c list = g_list_sort(list, sort_node_uname); list 851 lib/pengine/clone.c for (nIter = list; nIter != NULL; nIter = nIter->next) { list 860 lib/pengine/clone.c g_list_free(list); list 1071 lib/pengine/clone.c GListPtr list = g_hash_table_get_values(rsc->allowed_nodes); list 1078 lib/pengine/clone.c if (list == NULL) { list 1082 lib/pengine/clone.c list = g_hash_table_get_values(rsc->known_on); list 1085 lib/pengine/clone.c list = g_list_sort(list, sort_node_uname); list 1086 lib/pengine/clone.c for (nIter = list; nIter != NULL; nIter = nIter->next) { list 1095 lib/pengine/clone.c g_list_free(list); list 1207 lib/pengine/native.c native_location(const pe_resource_t *rsc, GList **list, int current) list 1239 lib/pengine/native.c if (list) { list 1245 lib/pengine/native.c if (*list == NULL || pe_find_node_id(*list, node->details->id) == NULL) { list 1246 lib/pengine/native.c *list = g_list_append(*list, node); list 446 lib/pengine/rules.c xmlNode *list = nvpair_list; list 449 lib/pengine/rules.c name = crm_element_name(list->children); list 451 lib/pengine/rules.c list = list->children; list 454 lib/pengine/rules.c for (an_attr = pcmk__xe_first_child(list); an_attr != NULL; list 158 lib/pengine/utils.c node_list_exclude(GHashTable * hash, GListPtr list, gboolean merge_scores) list 162 lib/pengine/utils.c GListPtr gIter = list; list 170 lib/pengine/utils.c other_node = pe_find_node_id(list, node->details->id); list 201 lib/pengine/utils.c pe__node_list2table(GList *list) list 206 lib/pengine/utils.c for (GList *gIter = list; gIter != NULL; gIter = gIter->next) { list 236 lib/pengine/utils.c GList *list = g_list_sort(g_hash_table_get_values(nodes), sort_node_uname); list 238 lib/pengine/utils.c for (GList *gIter = list; gIter != NULL; gIter = gIter->next) { list 249 lib/pengine/utils.c g_list_free(list); list 1887 lib/pengine/utils.c GListPtr list = NULL; list 1915 lib/pengine/utils.c list = lh_action->actions_after; list 1916 lib/pengine/utils.c list = g_list_prepend(list, wrapper); list 1917 lib/pengine/utils.c lh_action->actions_after = list; list 1922 lib/pengine/utils.c list = rh_action->actions_before; list 1923 lib/pengine/utils.c list = g_list_prepend(list, wrapper); list 1924 lib/pengine/utils.c rh_action->actions_before = list; list 1083 lib/services/services_linux.c GList *list = NULL; list 1090 lib/services/services_linux.c return list; list 1126 lib/services/services_linux.c list = g_list_append(list, strdup(namelist[lpc]->d_name)); list 1132 lib/services/services_linux.c return list; list 343 libltdl/loaders/preopen.c symlist_chain *list; list 348 libltdl/loaders/preopen.c for (list = preloaded_symlists; list; list = list->next) list 351 libltdl/loaders/preopen.c if ((originator && STREQ (list->symlist->name, originator)) list 352 libltdl/loaders/preopen.c || (!originator && STREQ (list->symlist->name, "@PROGRAM@"))) list 361 libltdl/loaders/preopen.c while ((symbol = &list->symlist[++idx])->name != 0) list 1079 tools/crm_resource.c lrmd_list_t *list = NULL; list 1087 tools/crm_resource.c rc = lrmd_conn->cmds->list_agents(lrmd_conn, &list, agent_spec, provider); list 1090 tools/crm_resource.c for (iter = list; iter != NULL; iter = iter->next) { list 1093 tools/crm_resource.c lrmd_list_freeall(list); list 1117 tools/crm_resource.c lrmd_list_t *list = NULL; list 1123 tools/crm_resource.c rc = lrmd_conn->cmds->list_standards(lrmd_conn, &list); list 1129 tools/crm_resource.c &list); list 1140 tools/crm_resource.c for (iter = list; iter != NULL; iter = iter->next) { list 1143 tools/crm_resource.c lrmd_list_freeall(list); list 178 tools/crm_resource_print.c GListPtr list = rsc->rsc_location; list 185 tools/crm_resource_print.c for (lpc = list; lpc != NULL; lpc = lpc->next) { list 206 tools/crm_resource_print.c GListPtr list = rsc->rsc_cons; list 212 tools/crm_resource_print.c list = rsc->rsc_cons_lhs; list 223 tools/crm_resource_print.c for (lpc = list; lpc != NULL; lpc = lpc->next) { list 535 tools/stonith_admin.c rc = st->cmds->list(st, st_opts, device, NULL, options.timeout);