devices 59 daemons/fenced/fenced_commands.c void (*callback) (GList * devices, void *user_data); devices 1341 daemons/fenced/fenced_commands.c parse_device_list(const char *devices) devices 1348 daemons/fenced/fenced_commands.c if (devices == NULL) { devices 1352 daemons/fenced/fenced_commands.c max = strlen(devices); devices 1354 daemons/fenced/fenced_commands.c if (devices[lpc] == ',' || devices[lpc] == 0) { devices 1355 daemons/fenced/fenced_commands.c char *line = strndup(devices + last, lpc - last); devices 1391 daemons/fenced/fenced_commands.c stonith_key_value_t *devices = NULL; devices 1442 daemons/fenced/fenced_commands.c devices = parse_device_list(crm_element_value(level, XML_ATTR_STONITH_DEVICES)); devices 1443 daemons/fenced/fenced_commands.c for (dIter = devices; dIter; dIter = dIter->next) { devices 1449 daemons/fenced/fenced_commands.c stonith_key_value_freeall(devices, 1, 1); devices 1722 daemons/fenced/fenced_commands.c void (*callback) (GList * devices, void *user_data)) devices 1894 daemons/fenced/fenced_commands.c stonith_query_capable_device_cb(GList * devices, void *user_data) devices 1905 daemons/fenced/fenced_commands.c for (lpc = devices; lpc != NULL; lpc = lpc->next) { devices 1982 daemons/fenced/fenced_commands.c g_list_free_full(devices, free); devices 2267 daemons/fenced/fenced_commands.c stonith_fence_get_devices_cb(GList * devices, void *user_data) devices 2272 daemons/fenced/fenced_commands.c crm_info("Found %d matching devices for '%s'", g_list_length(devices), cmd->victim); devices 2274 daemons/fenced/fenced_commands.c if (devices != NULL) { devices 2276 daemons/fenced/fenced_commands.c devices = g_list_sort(devices, sort_device_priority); devices 2277 daemons/fenced/fenced_commands.c device = g_hash_table_lookup(device_list, devices->data); devices 2280 daemons/fenced/fenced_commands.c cmd->device_list = devices; devices 2281 daemons/fenced/fenced_commands.c cmd->device_next = devices->next; devices 2282 daemons/fenced/fenced_commands.c devices = NULL; /* list owned by cmd now */ devices 2297 daemons/fenced/fenced_commands.c g_list_free_full(devices, free); devices 74 daemons/fenced/fenced_remote.c GHashTable *devices; devices 101 daemons/fenced/fenced_remote.c g_hash_table_destroy(query->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 338 daemons/fenced/fenced_remote.c op->devices = op->devices_list; devices 717 daemons/fenced/fenced_remote.c set_op_device_list(remote_fencing_op_t * op, GListPtr devices) devices 725 daemons/fenced/fenced_remote.c for (lpc = devices; lpc != NULL; lpc = lpc->next) { devices 728 daemons/fenced/fenced_remote.c op->devices = op->devices_list; devices 1230 daemons/fenced/fenced_remote.c if (op->devices) { devices 1231 daemons/fenced/fenced_remote.c device = op->devices->data; devices 1291 daemons/fenced/fenced_remote.c props = g_hash_table_lookup(peer->devices, device); devices 1338 daemons/fenced/fenced_remote.c g_hash_table_foreach(peer->devices, add_device_timeout, &timeout); devices 1454 daemons/fenced/fenced_remote.c if (op->devices) { devices 1455 daemons/fenced/fenced_remote.c op->devices = op->devices->next; devices 1466 daemons/fenced/fenced_remote.c if (op->devices == NULL) { devices 1467 daemons/fenced/fenced_remote.c op->devices = op->automatic_list; devices 1471 daemons/fenced/fenced_remote.c if ((op->devices == NULL) && (op->phase == st_phase_off)) { devices 1479 daemons/fenced/fenced_remote.c if (op->devices) { devices 1521 daemons/fenced/fenced_remote.c if (pcmk_is_set(op->call_options, st_opt_topology) && op->devices) { devices 1527 daemons/fenced/fenced_remote.c device = op->devices->data; devices 1803 daemons/fenced/fenced_remote.c g_hash_table_insert(result->devices, strdup(device), props); devices 1853 daemons/fenced/fenced_remote.c result->devices = crm_str_table_new(); devices 1865 daemons/fenced/fenced_remote.c result->ndevices = g_hash_table_size(result->devices); devices 2026 daemons/fenced/fenced_remote.c if (op->devices && device && !pcmk__str_eq(op->devices->data, device, pcmk__str_casei)) { devices 2029 daemons/fenced/fenced_remote.c device, (const char *) op->devices->data, op->action, op->target); devices 2091 daemons/fenced/fenced_remote.c } else if (rc == pcmk_ok && op->devices == NULL) { devices 2097 daemons/fenced/fenced_remote.c } else if (rc == -ETIME && op->devices == NULL) { devices 150 daemons/fenced/pacemaker-fenced.h GListPtr devices; devices 180 include/crm/fencing/internal.h int stonith__list_lha_agents(stonith_key_value_t **devices); devices 189 include/crm/fencing/internal.h int stonith__list_rhcs_agents(stonith_key_value_t **devices); devices 225 include/crm/stonith-ng.h stonith_key_value_t **devices, int timeout); devices 261 include/crm/stonith-ng.h stonith_key_value_t **devices, int timeout); devices 162 include/pacemaker.h stonith_key_value_t *devices); devices 178 include/pcmki/pcmki_fence.h stonith_key_value_t *devices); devices 913 lib/fencing/st_client.c stonith_key_value_t ** devices, int timeout) devices 918 lib/fencing/st_client.c if (devices == NULL) { devices 926 lib/fencing/st_client.c count += stonith__list_lha_agents(devices); devices 932 lib/fencing/st_client.c count += stonith__list_rhcs_agents(devices); devices 970 lib/fencing/st_client.c stonith_key_value_t ** devices, int timeout) devices 978 lib/fencing/st_client.c CRM_CHECK(devices != NULL, return -EINVAL); devices 1003 lib/fencing/st_client.c *devices = stonith_key_value_add(*devices, NULL, crm_element_value(match, XML_ATTR_ID)); devices 2364 lib/fencing/st_client.c stonith_key_value_t *devices = NULL; devices 2377 lib/fencing/st_client.c st->cmds->list_agents(st, st_opt_sync_call, NULL, &devices, timeout == 0 ? 120 : timeout); devices 2379 lib/fencing/st_client.c for (dIter = devices; dIter != NULL; dIter = dIter->next) { devices 2386 lib/fencing/st_client.c stonith_key_value_freeall(devices, 1, 1); devices 106 lib/fencing/st_lha.c stonith__list_lha_agents(stonith_key_value_t **devices) devices 132 lib/fencing/st_lha.c *devices = stonith_key_value_add(*devices, NULL, *entry); devices 33 lib/fencing/st_rhcs.c stonith__list_rhcs_agents(stonith_key_value_t **devices) devices 72 lib/fencing/st_rhcs.c *devices = stonith_key_value_add(*devices, NULL, devices 40 lib/pacemaker/pcmk_fence.c stonith_key_value_t *devices, bool added) { devices 67 lib/pacemaker/pcmk_fence.c devices); devices 260 lib/pacemaker/pcmk_fence.c stonith_key_value_t *devices = NULL; devices 263 lib/pacemaker/pcmk_fence.c rc = st->cmds->list_agents(st, st_opt_sync_call, NULL, &devices, timeout/1000); devices 270 lib/pacemaker/pcmk_fence.c for (stonith_key_value_t *dIter = devices; dIter; dIter = dIter->next) { devices 275 lib/pacemaker/pcmk_fence.c stonith_key_value_freeall(devices, 1, 1); devices 410 lib/pacemaker/pcmk_fence.c stonith_key_value_t *devices = NULL; devices 413 lib/pacemaker/pcmk_fence.c rc = st->cmds->query(st, st_opts, target, &devices, timeout/1000); devices 420 lib/pacemaker/pcmk_fence.c for (stonith_key_value_t *dIter = devices; dIter; dIter = dIter->next) { devices 425 lib/pacemaker/pcmk_fence.c stonith_key_value_freeall(devices, 1, 1); devices 453 lib/pacemaker/pcmk_fence.c stonith_key_value_t *devices) { devices 454 lib/pacemaker/pcmk_fence.c return handle_level(st, target, fence_level, devices, true); devices 460 lib/pacemaker/pcmk_fence.c stonith_key_value_t *devices) { devices 461 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 261 tools/stonith_admin.c options.devices = stonith_key_value_add(options.devices, NULL, optarg); devices 564 tools/stonith_admin.c rc = pcmk__fence_register_level(st, target, options.fence_level, options.devices); devices 605 tools/stonith_admin.c device = options.devices ? options.devices->key : NULL;