devices 61 daemons/fenced/fenced_commands.c void (*callback) (GList * devices, void *user_data); devices 1559 daemons/fenced/fenced_commands.c parse_device_list(const char *devices) devices 1566 daemons/fenced/fenced_commands.c if (devices == NULL) { devices 1570 daemons/fenced/fenced_commands.c max = strlen(devices); devices 1572 daemons/fenced/fenced_commands.c if (devices[lpc] == ',' || devices[lpc] == 0) { devices 1573 daemons/fenced/fenced_commands.c char *line = strndup(devices + last, lpc - last); devices 1608 daemons/fenced/fenced_commands.c stonith_key_value_t *devices = NULL; devices 1693 daemons/fenced/fenced_commands.c devices = parse_device_list(crm_element_value(level, XML_ATTR_STONITH_DEVICES)); devices 1694 daemons/fenced/fenced_commands.c for (dIter = devices; dIter; dIter = dIter->next) { devices 1700 daemons/fenced/fenced_commands.c stonith_key_value_freeall(devices, 1, 1); devices 2097 daemons/fenced/fenced_commands.c void (*callback) (GList * devices, void *user_data)) devices 2242 daemons/fenced/fenced_commands.c stonith_query_capable_device_cb(GList * devices, void *user_data) devices 2263 daemons/fenced/fenced_commands.c for (lpc = devices; lpc != NULL; lpc = lpc->next) { devices 2346 daemons/fenced/fenced_commands.c g_list_free_full(devices, free); devices 2650 daemons/fenced/fenced_commands.c stonith_fence_get_devices_cb(GList * devices, void *user_data) devices 2654 daemons/fenced/fenced_commands.c guint ndevices = g_list_length(devices); devices 2659 daemons/fenced/fenced_commands.c if (devices != NULL) { devices 2661 daemons/fenced/fenced_commands.c devices = g_list_sort(devices, sort_device_priority); devices 2662 daemons/fenced/fenced_commands.c device = g_hash_table_lookup(device_list, devices->data); devices 2674 daemons/fenced/fenced_commands.c g_list_free_full(devices, free); devices 2677 daemons/fenced/fenced_commands.c cmd->device_list = devices; devices 2678 daemons/fenced/fenced_commands.c cmd->device_next = devices->next; devices 74 daemons/fenced/fenced_remote.c GHashTable *devices; devices 101 daemons/fenced/fenced_remote.c g_hash_table_destroy(peer->devices); devices 162 daemons/fenced/fenced_remote.c g_hash_table_foreach(peer->devices, count_peer_device, &data); devices 181 daemons/fenced/fenced_remote.c device_properties_t *props = g_hash_table_lookup(peer->devices, device); devices 339 daemons/fenced/fenced_remote.c op->devices = op->devices_list; devices 807 daemons/fenced/fenced_remote.c set_op_device_list(remote_fencing_op_t * op, GList *devices) devices 815 daemons/fenced/fenced_remote.c for (lpc = devices; lpc != NULL; lpc = lpc->next) { devices 818 daemons/fenced/fenced_remote.c op->devices = op->devices_list; devices 1376 daemons/fenced/fenced_remote.c if (op->devices) { devices 1377 daemons/fenced/fenced_remote.c device = op->devices->data; devices 1437 daemons/fenced/fenced_remote.c props = g_hash_table_lookup(peer->devices, device); devices 1484 daemons/fenced/fenced_remote.c g_hash_table_foreach(peer->devices, add_device_timeout, &timeout); devices 1600 daemons/fenced/fenced_remote.c if (op->devices) { devices 1601 daemons/fenced/fenced_remote.c op->devices = op->devices->next; devices 1612 daemons/fenced/fenced_remote.c if (op->devices == NULL) { devices 1613 daemons/fenced/fenced_remote.c op->devices = op->automatic_list; devices 1617 daemons/fenced/fenced_remote.c if ((op->devices == NULL) && (op->phase == st_phase_off)) { devices 1628 daemons/fenced/fenced_remote.c if (op->devices) { devices 1700 daemons/fenced/fenced_remote.c if (pcmk_is_set(op->call_options, st_opt_topology) && op->devices) { devices 1711 daemons/fenced/fenced_remote.c device = op->devices->data; devices 1999 daemons/fenced/fenced_remote.c g_hash_table_insert(peer->devices, strdup(device), props); devices 2049 daemons/fenced/fenced_remote.c peer->devices = pcmk__strkey_table(free, free); devices 2061 daemons/fenced/fenced_remote.c peer->ndevices = g_hash_table_size(peer->devices); devices 2229 daemons/fenced/fenced_remote.c if (op->devices && device && !pcmk__str_eq(op->devices->data, device, pcmk__str_casei)) { devices 2232 daemons/fenced/fenced_remote.c device, (const char *) op->devices->data, op->action, op->target); devices 2304 daemons/fenced/fenced_remote.c } else if (pcmk__result_ok(&op->result) && (op->devices == NULL)) { devices 2310 daemons/fenced/fenced_remote.c && (op->devices == NULL)) { devices 145 daemons/fenced/pacemaker-fenced.h GList *devices; devices 228 include/crm/stonith-ng.h stonith_key_value_t **devices, int timeout); devices 263 include/crm/stonith-ng.h stonith_key_value_t **devices, int timeout); devices 330 include/pacemaker.h stonith_key_value_t *devices); devices 193 include/pcmki/pcmki_fence.h 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 480 lib/fencing/st_client.c stonith_key_value_t ** devices, int timeout) devices 485 lib/fencing/st_client.c if (devices == NULL) { devices 493 lib/fencing/st_client.c count += stonith__list_lha_agents(devices); devices 499 lib/fencing/st_client.c count += stonith__list_rhcs_agents(devices); devices 537 lib/fencing/st_client.c stonith_key_value_t ** devices, int timeout) devices 545 lib/fencing/st_client.c CRM_CHECK(devices != NULL, return -EINVAL); devices 570 lib/fencing/st_client.c *devices = stonith_key_value_add(*devices, NULL, crm_element_value(match, XML_ATTR_ID)); devices 2014 lib/fencing/st_client.c stonith_key_value_t *devices = NULL; devices 2027 lib/fencing/st_client.c st->cmds->list_agents(st, st_opt_sync_call, NULL, &devices, timeout == 0 ? 120 : timeout); devices 2029 lib/fencing/st_client.c for (dIter = devices; dIter != NULL; dIter = dIter->next) { devices 2036 lib/fencing/st_client.c stonith_key_value_freeall(devices, 1, 1); devices 110 lib/fencing/st_lha.c stonith__list_lha_agents(stonith_key_value_t **devices) devices 136 lib/fencing/st_lha.c *devices = stonith_key_value_add(*devices, NULL, *entry); devices 35 lib/fencing/st_rhcs.c stonith__list_rhcs_agents(stonith_key_value_t **devices) devices 74 lib/fencing/st_rhcs.c *devices = stonith_key_value_add(*devices, NULL, devices 39 lib/pacemaker/pcmk_fence.c stonith_key_value_t *devices, bool added) { devices 66 lib/pacemaker/pcmk_fence.c devices); devices 315 lib/pacemaker/pcmk_fence.c stonith_key_value_t *devices = NULL; devices 318 lib/pacemaker/pcmk_fence.c rc = st->cmds->list_agents(st, st_opt_sync_call, NULL, &devices, timeout/1000); devices 325 lib/pacemaker/pcmk_fence.c for (stonith_key_value_t *dIter = devices; dIter; dIter = dIter->next) { devices 330 lib/pacemaker/pcmk_fence.c stonith_key_value_freeall(devices, 1, 1); devices 473 lib/pacemaker/pcmk_fence.c stonith_key_value_t *devices = NULL; devices 476 lib/pacemaker/pcmk_fence.c rc = st->cmds->query(st, st_opts, target, &devices, timeout/1000); devices 483 lib/pacemaker/pcmk_fence.c for (stonith_key_value_t *dIter = devices; dIter; dIter = dIter->next) { devices 488 lib/pacemaker/pcmk_fence.c stonith_key_value_freeall(devices, 1, 1); devices 518 lib/pacemaker/pcmk_fence.c stonith_key_value_t *devices) { devices 519 lib/pacemaker/pcmk_fence.c return handle_level(st, target, fence_level, devices, true); devices 525 lib/pacemaker/pcmk_fence.c stonith_key_value_t *devices) { devices 526 lib/pacemaker/pcmk_fence.c return pcmk__fence_register_level(st, target, fence_level, devices); devices 52 tools/stonith_admin.c stonith_key_value_t *devices; devices 262 tools/stonith_admin.c options.devices = stonith_key_value_add(options.devices, NULL, optarg); devices 590 tools/stonith_admin.c rc = pcmk__fence_register_level(st, target, options.fence_level, options.devices); devices 628 tools/stonith_admin.c device = options.devices ? options.devices->key : NULL;