devices 60 daemons/fenced/fenced_commands.c void (*callback) (GList * devices, void *user_data); devices 1630 daemons/fenced/fenced_commands.c parse_device_list(const char *devices) devices 1637 daemons/fenced/fenced_commands.c if (devices == NULL) { devices 1641 daemons/fenced/fenced_commands.c max = strlen(devices); devices 1643 daemons/fenced/fenced_commands.c if (devices[lpc] == ',' || devices[lpc] == 0) { devices 1644 daemons/fenced/fenced_commands.c char *line = strndup(devices + last, lpc - last); devices 1737 daemons/fenced/fenced_commands.c stonith_key_value_t *devices = NULL; devices 1808 daemons/fenced/fenced_commands.c devices = parse_device_list(crm_element_value(level, PCMK_XA_DEVICES)); devices 1809 daemons/fenced/fenced_commands.c for (dIter = devices; dIter; dIter = dIter->next) { devices 1815 daemons/fenced/fenced_commands.c stonith_key_value_freeall(devices, 1, 1); devices 2254 daemons/fenced/fenced_commands.c void (*callback) (GList * devices, void *user_data), uint32_t support_action_only) devices 2426 daemons/fenced/fenced_commands.c stonith_query_capable_device_cb(GList * devices, void *user_data) devices 2449 daemons/fenced/fenced_commands.c for (lpc = devices; lpc != NULL; lpc = lpc->next) { devices 2534 daemons/fenced/fenced_commands.c g_list_free_full(devices, free); devices 2863 daemons/fenced/fenced_commands.c stonith_fence_get_devices_cb(GList * devices, void *user_data) devices 2867 daemons/fenced/fenced_commands.c guint ndevices = g_list_length(devices); devices 2872 daemons/fenced/fenced_commands.c if (devices != NULL) { devices 2874 daemons/fenced/fenced_commands.c devices = g_list_sort(devices, sort_device_priority); devices 2875 daemons/fenced/fenced_commands.c device = g_hash_table_lookup(device_list, devices->data); devices 2887 daemons/fenced/fenced_commands.c g_list_free_full(devices, free); devices 2890 daemons/fenced/fenced_commands.c cmd->device_list = devices; devices 2891 daemons/fenced/fenced_commands.c cmd->next_device_iter = devices->next; devices 75 daemons/fenced/fenced_remote.c GHashTable *devices; devices 102 daemons/fenced/fenced_remote.c g_hash_table_destroy(peer->devices); devices 167 daemons/fenced/fenced_remote.c g_hash_table_foreach(peer->devices, count_peer_device, &data); devices 186 daemons/fenced/fenced_remote.c device_properties_t *props = g_hash_table_lookup(peer->devices, device); devices 348 daemons/fenced/fenced_remote.c op->devices = op->devices_list; devices 831 daemons/fenced/fenced_remote.c set_op_device_list(remote_fencing_op_t * op, GList *devices) devices 839 daemons/fenced/fenced_remote.c for (lpc = devices; lpc != NULL; lpc = lpc->next) { devices 845 daemons/fenced/fenced_remote.c op->devices = op->devices_list; devices 1431 daemons/fenced/fenced_remote.c if (op->devices) { devices 1432 daemons/fenced/fenced_remote.c device = op->devices->data; devices 1537 daemons/fenced/fenced_remote.c props = g_hash_table_lookup(peer->devices, device); devices 1594 daemons/fenced/fenced_remote.c g_hash_table_foreach(peer->devices, add_device_timeout, &timeout); devices 1768 daemons/fenced/fenced_remote.c if (op->devices) { devices 1769 daemons/fenced/fenced_remote.c op->devices = op->devices->next; devices 1781 daemons/fenced/fenced_remote.c if (op->devices == NULL) { devices 1782 daemons/fenced/fenced_remote.c op->devices = op->automatic_list; devices 1786 daemons/fenced/fenced_remote.c if ((op->devices == NULL) && (op->phase == st_phase_off)) { devices 1797 daemons/fenced/fenced_remote.c if (op->devices) { devices 1861 daemons/fenced/fenced_remote.c if ((op->phase == st_phase_on) && (op->devices != NULL)) { devices 1873 daemons/fenced/fenced_remote.c device = op->devices->data; devices 1904 daemons/fenced/fenced_remote.c if (pcmk_is_set(op->call_options, st_opt_topology) && op->devices) { devices 1915 daemons/fenced/fenced_remote.c device = op->devices->data; devices 2227 daemons/fenced/fenced_remote.c g_hash_table_insert(peer->devices, pcmk__str_copy(device), props); devices 2281 daemons/fenced/fenced_remote.c peer->devices = pcmk__strkey_table(free, free); devices 2293 daemons/fenced/fenced_remote.c peer->ndevices = g_hash_table_size(peer->devices); devices 2462 daemons/fenced/fenced_remote.c if (op->devices && device && !pcmk__str_eq(op->devices->data, device, pcmk__str_casei)) { devices 2465 daemons/fenced/fenced_remote.c device, (const char *) op->devices->data, op->action, op->target); devices 2542 daemons/fenced/fenced_remote.c } else if (pcmk__result_ok(&op->result) && (op->devices == NULL)) { devices 2548 daemons/fenced/fenced_remote.c && (op->devices == NULL)) { devices 155 daemons/fenced/pacemaker-fenced.h GList *devices; devices 275 include/crm/stonith-ng.h const char *namespace_s, stonith_key_value_t **devices, devices 337 include/crm/stonith-ng.h stonith_key_value_t **devices, int timeout); devices 676 include/pacemaker.h const stonith_key_value_t *devices); devices 193 include/pcmki/pcmki_fence.h const stonith_key_value_t *devices); devices 19 lib/fencing/fencing_private.h int stonith__list_rhcs_agents(stonith_key_value_t **devices); devices 37 lib/fencing/fencing_private.h int stonith__list_lha_agents(stonith_key_value_t **devices); devices 481 lib/fencing/st_client.c const char *namespace_s, stonith_key_value_t **devices, devices 487 lib/fencing/st_client.c if (devices == NULL) { devices 495 lib/fencing/st_client.c count += stonith__list_lha_agents(devices); devices 501 lib/fencing/st_client.c count += stonith__list_rhcs_agents(devices); devices 545 lib/fencing/st_client.c stonith_key_value_t ** devices, int timeout) devices 553 lib/fencing/st_client.c CRM_CHECK(devices != NULL, return -EINVAL); devices 578 lib/fencing/st_client.c *devices = stonith_key_value_add(*devices, NULL, devices 2085 lib/fencing/st_client.c stonith_key_value_t *devices = NULL; devices 2098 lib/fencing/st_client.c st->cmds->list_agents(st, st_opt_sync_call, NULL, &devices, timeout == 0 ? 120 : timeout); devices 2100 lib/fencing/st_client.c for (dIter = devices; dIter != NULL; dIter = dIter->next) { devices 2107 lib/fencing/st_client.c stonith_key_value_freeall(devices, 1, 1); devices 119 lib/fencing/st_lha.c stonith__list_lha_agents(stonith_key_value_t **devices) devices 145 lib/fencing/st_lha.c *devices = stonith_key_value_add(*devices, NULL, *entry); devices 36 lib/fencing/st_rhcs.c stonith__list_rhcs_agents(stonith_key_value_t **devices) devices 75 lib/fencing/st_rhcs.c *devices = stonith_key_value_add(*devices, NULL, devices 40 lib/pacemaker/pcmk_fence.c const stonith_key_value_t *devices, bool added) devices 68 lib/pacemaker/pcmk_fence.c devices); devices 331 lib/pacemaker/pcmk_fence.c stonith_key_value_t *devices = NULL; devices 334 lib/pacemaker/pcmk_fence.c rc = st->cmds->list_agents(st, st_opt_sync_call, NULL, &devices, devices 343 lib/pacemaker/pcmk_fence.c for (stonith_key_value_t *iter = devices; iter != NULL; iter = iter->next) { devices 348 lib/pacemaker/pcmk_fence.c stonith_key_value_freeall(devices, 1, 1); devices 499 lib/pacemaker/pcmk_fence.c stonith_key_value_t *devices = NULL; devices 502 lib/pacemaker/pcmk_fence.c rc = st->cmds->query(st, st_opts, target, &devices, timeout/1000); devices 510 lib/pacemaker/pcmk_fence.c for (stonith_key_value_t *iter = devices; iter != NULL; iter = iter->next) { devices 515 lib/pacemaker/pcmk_fence.c stonith_key_value_freeall(devices, 1, 1); devices 546 lib/pacemaker/pcmk_fence.c const stonith_key_value_t *devices) devices 548 lib/pacemaker/pcmk_fence.c return handle_level(st, target, fence_level, devices, true); devices 554 lib/pacemaker/pcmk_fence.c const stonith_key_value_t *devices) devices 556 lib/pacemaker/pcmk_fence.c return pcmk__fence_register_level(st, target, fence_level, devices); devices 51 tools/stonith_admin.c stonith_key_value_t *devices; devices 261 tools/stonith_admin.c options.devices = stonith_key_value_add(options.devices, NULL, optarg); devices 615 tools/stonith_admin.c rc = pcmk__fence_register_level(st, target, options.fence_level, options.devices); devices 658 tools/stonith_admin.c device = options.devices ? options.devices->key : NULL;