device 421 fencing/admin.c const char *device = NULL; device 464 fencing/admin.c device = optarg; device 597 fencing/admin.c rc = st->cmds->monitor(st, st_opts, device, timeout); device 599 fencing/admin.c rc = st->cmds->list(st, st_opts, device, NULL, timeout); device 603 fencing/admin.c rc = st->cmds->list(st, st_opts, device, &lists, timeout); device 634 fencing/admin.c rc = st->cmds->register_device(st, st_opts, device, "stonith-ng", agent, params); device 637 fencing/admin.c rc = st->cmds->remove_device(st, st_opts, device); device 82 fencing/commands.c static void search_devices_record_result(struct device_search_s *search, const char *device, device 106 fencing/commands.c char *device; device 127 fencing/commands.c is_action_required(const char *action, stonith_device_t *device) device 129 fencing/commands.c return device && device->automatic_unfencing && safe_str_eq(action, "on"); device 133 fencing/commands.c get_action_delay_max(stonith_device_t * device, const char * action) device 142 fencing/commands.c value = g_hash_table_lookup(device->params, STONITH_ATTR_DELAY_MAX); device 151 fencing/commands.c get_action_delay_base(stonith_device_t * device, const char * action) device 160 fencing/commands.c value = g_hash_table_lookup(device->params, STONITH_ATTR_DELAY_BASE); device 189 fencing/commands.c get_action_timeout(stonith_device_t * device, const char *action, int default_timeout) device 191 fencing/commands.c if (action && device && device->params) { device 199 fencing/commands.c && is_not_set(device->flags, st_device_supports_reboot)) { device 201 fencing/commands.c device->id); device 207 fencing/commands.c value = g_hash_table_lookup(device->params, buffer); device 229 fencing/commands.c free(cmd->device); device 265 fencing/commands.c cmd->device = crm_element_value_copy(op, F_STONITH_DEVICE); device 276 fencing/commands.c get_action_limit(stonith_device_t * device) device 281 fencing/commands.c value = g_hash_table_lookup(device->params, STONITH_ATTR_ACTION_LIMIT); device 294 fencing/commands.c get_active_cmds(stonith_device_t * device) device 300 fencing/commands.c CRM_CHECK(device != NULL, return 0); device 307 fencing/commands.c if (cmd->active_on == device) { device 316 fencing/commands.c stonith_device_execute(stonith_device_t * device) device 325 fencing/commands.c CRM_CHECK(device != NULL, return FALSE); device 327 fencing/commands.c active_cmds = get_active_cmds(device); device 328 fencing/commands.c action_limit = get_action_limit(device); device 331 fencing/commands.c device->id, action_limit, active_cmds, active_cmds > 1 ? "s" : ""); device 335 fencing/commands.c if (device->pending_ops) { device 336 fencing/commands.c GList *first = device->pending_ops; device 343 fencing/commands.c device->id, cmd->start_delay); device 347 fencing/commands.c device->pending_ops = g_list_remove_link(device->pending_ops, first); device 352 fencing/commands.c crm_trace("Nothing further to do for %s", device->id); device 356 fencing/commands.c if(safe_str_eq(device->agent, STONITH_WATCHDOG_AGENT)) { device 373 fencing/commands.c if (replace_secret_params(device->id, device->params) < 0) { device 377 fencing/commands.c crm_info("proceeding with the stop operation for %s", device->id); device 381 fencing/commands.c "considering resource not configured", device->id); device 390 fencing/commands.c if (safe_str_eq(cmd->action, "reboot") && is_not_set(device->flags, st_device_supports_reboot)) { device 391 fencing/commands.c crm_warn("Agent '%s' does not advertise support for 'reboot', performing 'off' action instead", device->agent); device 395 fencing/commands.c action = stonith_action_create(device->agent, device 399 fencing/commands.c cmd->timeout, device->params, device->aliases); device 407 fencing/commands.c device->id, exec_rc, cmd->timeout); device 408 fencing/commands.c cmd->active_on = device; device 413 fencing/commands.c device->id, pcmk_strerror(exec_rc), exec_rc); device 429 fencing/commands.c stonith_device_t *device = NULL; device 432 fencing/commands.c device = cmd->device ? g_hash_table_lookup(device_list, cmd->device) : NULL; device 434 fencing/commands.c if (device) { device 435 fencing/commands.c mainloop_set_trigger(device->work); device 442 fencing/commands.c schedule_stonith_command(async_command_t * cmd, stonith_device_t * device) device 448 fencing/commands.c CRM_CHECK(device != NULL, return); device 450 fencing/commands.c if (cmd->device) { device 451 fencing/commands.c free(cmd->device); device 454 fencing/commands.c if (device->include_nodeid && cmd->victim) { device 460 fencing/commands.c cmd->device = strdup(device->id); device 461 fencing/commands.c cmd->timeout = get_action_timeout(device, cmd->action, cmd->default_timeout); device 465 fencing/commands.c cmd->action, device->id, cmd->origin, cmd->remote_op_id, cmd->timeout); device 468 fencing/commands.c cmd->action, device->id, cmd->client, cmd->timeout); device 471 fencing/commands.c device->pending_ops = g_list_append(device->pending_ops, cmd); device 472 fencing/commands.c mainloop_set_trigger(device->work); device 474 fencing/commands.c delay_max = get_action_delay_max(device, cmd->action); device 475 fencing/commands.c delay_base = get_action_delay_base(device, cmd->action); device 482 fencing/commands.c delay_base, delay_max, cmd->action, device->id); device 492 fencing/commands.c cmd->action, device->id, cmd->start_delay, cmd->timeout, device 503 fencing/commands.c stonith_device_t *device = data; device 505 fencing/commands.c g_hash_table_destroy(device->params); device 506 fencing/commands.c g_hash_table_destroy(device->aliases); device 508 fencing/commands.c for (gIter = device->pending_ops; gIter != NULL; gIter = gIter->next) { device 511 fencing/commands.c crm_warn("Removal of device '%s' purged operation %s", device->id, cmd->action); device 514 fencing/commands.c g_list_free(device->pending_ops); device 516 fencing/commands.c g_list_free_full(device->targets, free); device 518 fencing/commands.c mainloop_destroy_trigger(device->work); device 520 fencing/commands.c free_xml(device->agent_metadata); device 521 fencing/commands.c free(device->namespace); device 522 fencing/commands.c free(device->on_target_actions); device 523 fencing/commands.c free(device->agent); device 524 fencing/commands.c free(device->id); device 525 fencing/commands.c free(device); device 764 fencing/commands.c read_action_metadata(stonith_device_t *device) device 770 fencing/commands.c if (device->agent_metadata == NULL) { device 774 fencing/commands.c xpath = xpath_search(device->agent_metadata, "//action"); device 794 fencing/commands.c set_bit(device->flags, st_device_supports_list); device 796 fencing/commands.c set_bit(device->flags, st_device_supports_status); device 798 fencing/commands.c set_bit(device->flags, st_device_supports_reboot); device 807 fencing/commands.c device->automatic_unfencing = TRUE; device 812 fencing/commands.c device->on_target_actions = add_action(device->on_target_actions, action); device 891 fencing/commands.c stonith_device_t *device = NULL; device 893 fencing/commands.c device = calloc(1, sizeof(stonith_device_t)); device 894 fencing/commands.c device->id = crm_element_value_copy(dev, XML_ATTR_ID); device 895 fencing/commands.c device->agent = crm_element_value_copy(dev, "agent"); device 896 fencing/commands.c device->namespace = crm_element_value_copy(dev, "namespace"); device 897 fencing/commands.c device->params = xml2device_params(device->id, dev); device 899 fencing/commands.c value = g_hash_table_lookup(device->params, STONITH_ATTR_HOSTLIST); device 901 fencing/commands.c device->targets = parse_host_list(value); device 904 fencing/commands.c value = g_hash_table_lookup(device->params, STONITH_ATTR_HOSTMAP); device 905 fencing/commands.c device->aliases = build_port_aliases(value, &(device->targets)); device 907 fencing/commands.c device->agent_metadata = get_agent_metadata(device->agent); device 908 fencing/commands.c read_action_metadata(device); device 910 fencing/commands.c value = g_hash_table_lookup(device->params, "nodeid"); device 912 fencing/commands.c device->include_nodeid = is_nodeid_required(device->agent_metadata); device 917 fencing/commands.c device->automatic_unfencing = TRUE; device 920 fencing/commands.c if (is_action_required("on", device)) { device 921 fencing/commands.c crm_info("The fencing device '%s' requires unfencing", device->id); device 924 fencing/commands.c if (device->on_target_actions) { device 926 fencing/commands.c device->id, device->on_target_actions); device 929 fencing/commands.c device->work = mainloop_add_trigger(G_PRIORITY_HIGH, stonith_device_dispatch, device); device 932 fencing/commands.c return device; device 962 fencing/commands.c stonith_device_t * device, device 979 fencing/commands.c cmd->device = strdup(device->id); device 987 fencing/commands.c schedule_stonith_command(cmd, device); device 1013 fencing/commands.c stonith_device_t *dev = cmd->device ? g_hash_table_lookup(device_list, cmd->device) : NULL; device 1044 fencing/commands.c stonith_device_t *dev = cmd->device ? g_hash_table_lookup(device_list, cmd->device) : NULL; device 1124 fencing/commands.c device_has_duplicate(stonith_device_t * device) device 1126 fencing/commands.c stonith_device_t *dup = g_hash_table_lookup(device_list, device->id); device 1129 fencing/commands.c crm_trace("No match for %s", device->id); device 1132 fencing/commands.c } else if (safe_str_neq(dup->agent, device->agent)) { device 1133 fencing/commands.c crm_trace("Different agent: %s != %s", dup->agent, device->agent); device 1138 fencing/commands.c if (device_params_diff(device->params, dup->params) || device 1139 fencing/commands.c device_params_diff(dup->params, device->params)) { device 1151 fencing/commands.c stonith_device_t *device = build_device_from_xml(msg); device 1153 fencing/commands.c dup = device_has_duplicate(device); device 1155 fencing/commands.c crm_debug("Device '%s' already existed in device list (%d active devices)", device->id, device 1157 fencing/commands.c free_device(device); device 1158 fencing/commands.c device = dup; device 1161 fencing/commands.c stonith_device_t *old = g_hash_table_lookup(device_list, device->id); device 1168 fencing/commands.c crm_info("Overwriting an existing entry for %s from the cib", device->id); device 1169 fencing/commands.c device->pending_ops = old->pending_ops; device 1170 fencing/commands.c device->api_registered = TRUE; device 1172 fencing/commands.c if (device->pending_ops) { device 1173 fencing/commands.c mainloop_set_trigger(device->work); device 1176 fencing/commands.c g_hash_table_replace(device_list, device->id, device); device 1178 fencing/commands.c crm_notice("Added '%s' to the device list (%d active devices)", device->id, device 1182 fencing/commands.c *desc = device->id; device 1186 fencing/commands.c device->cib_registered = TRUE; device 1188 fencing/commands.c device->api_registered = TRUE; device 1197 fencing/commands.c stonith_device_t *device = g_hash_table_lookup(device_list, id); device 1199 fencing/commands.c if (!device) { device 1205 fencing/commands.c device->cib_registered = FALSE; device 1207 fencing/commands.c device->verified = FALSE; device 1208 fencing/commands.c device->api_registered = FALSE; device 1211 fencing/commands.c if (!device->cib_registered && !device->api_registered) { device 1218 fencing/commands.c device->cib_registered?"cib":"", device->api_registered?"api":""); device 1421 fencing/commands.c const char *device = dIter->value; device 1423 fencing/commands.c crm_trace("Adding device '%s' for %s[%d]", device, tp->target, id); device 1424 fencing/commands.c tp->levels[id] = g_list_append(tp->levels[id], strdup(device)); device 1486 fencing/commands.c stonith_device_t *device = NULL; device 1490 fencing/commands.c device = g_hash_table_lookup(device_list, id); device 1493 fencing/commands.c if (device && device->api_registered == FALSE) { device 1496 fencing/commands.c } else if (device) { device 1502 fencing/commands.c schedule_stonith_command(cmd, device); device 1513 fencing/commands.c search_devices_record_result(struct device_search_s *search, const char *device, gboolean can_fence) device 1517 fencing/commands.c if (can_fence && device) { device 1518 fencing/commands.c search->capable = g_list_append(search->capable, strdup(device)); device 1547 fencing/commands.c localhost_is_eligible(const stonith_device_t *device, const char *action, device 1552 fencing/commands.c if (device && action && device->on_target_actions device 1553 fencing/commands.c && strstr(device->on_target_actions, action)) { device 1556 fencing/commands.c action, device->id, target); device 1684 fencing/commands.c stonith_device_t *device = NULL; device 1698 fencing/commands.c while (g_hash_table_iter_next(&gIter, (void **)&key, (void **)&device)) { device 1699 fencing/commands.c check_type = target_list_type(device); device 1760 fencing/commands.c stonith_device_t *device) device 1766 fencing/commands.c CRM_CHECK(xml && action && device, return); device 1768 fencing/commands.c if (is_action_required(action, device)) { device 1769 fencing/commands.c crm_trace("Action %s is required on %s", action, device->id); device 1773 fencing/commands.c action_specific_timeout = get_action_timeout(device, action, 0); device 1776 fencing/commands.c action, action_specific_timeout, device->id); device 1780 fencing/commands.c delay_max = get_action_delay_max(device, action); device 1783 fencing/commands.c action, delay_max, device->id); device 1787 fencing/commands.c delay_base = get_action_delay_base(device, action); device 1794 fencing/commands.c action, delay_max, device->id); device 1797 fencing/commands.c action, delay_base, device->id); device 1801 fencing/commands.c action, delay_base, delay_max, device->id); device 1816 fencing/commands.c add_disallowed(xmlNode *xml, const char *action, stonith_device_t *device, device 1819 fencing/commands.c if (!localhost_is_eligible(device, action, target, allow_suicide)) { device 1821 fencing/commands.c action, device->id); device 1837 fencing/commands.c add_action_reply(xmlNode *xml, const char *action, stonith_device_t *device, device 1843 fencing/commands.c add_action_specific_attributes(child, action, device); device 1844 fencing/commands.c add_disallowed(child, action, device, target, allow_suicide); device 1860 fencing/commands.c stonith_device_t *device = g_hash_table_lookup(device_list, lpc->data); device 1863 fencing/commands.c if (!device) { device 1872 fencing/commands.c crm_xml_add(dev, XML_ATTR_ID, device->id); device 1873 fencing/commands.c crm_xml_add(dev, "namespace", device->namespace); device 1874 fencing/commands.c crm_xml_add(dev, "agent", device->agent); device 1875 fencing/commands.c crm_xml_add_int(dev, F_STONITH_DEVICE_VERIFIED, device->verified); device 1880 fencing/commands.c if (is_not_set(device->flags, st_device_supports_reboot) device 1883 fencing/commands.c device->id); device 1888 fencing/commands.c add_action_specific_attributes(dev, action, device); device 1901 fencing/commands.c add_disallowed(dev, action, device, query->target, device 1903 fencing/commands.c add_action_reply(dev, "off", device, query->target, device 1905 fencing/commands.c add_action_reply(dev, "on", device, query->target, FALSE); device 1912 fencing/commands.c g_hash_table_foreach(device->params, hash2field, attrs); device 1950 fencing/commands.c const char *device = crm_element_value(dev, F_STONITH_DEVICE); device 1954 fencing/commands.c if (device && safe_str_eq(device, "manual_ack")) { device 1986 fencing/commands.c cmd->action, pid, cmd->id, cmd->client_name, cmd->victim, cmd->device, rc, device 1991 fencing/commands.c cmd->action, pid, cmd->device, rc, pcmk_strerror(rc), device 1997 fencing/commands.c char *prefix = crm_strdup_printf("%s:%d", cmd->device, pid); device 2014 fencing/commands.c crm_trace("Metadata query for %s", cmd->device); device 2052 fencing/commands.c crm_xml_add(notify_data, F_STONITH_DEVICE, cmd->device); device 2066 fencing/commands.c stonith_device_t *dev = g_hash_table_lookup(device_list, cmd->device); device 2075 fencing/commands.c crm_trace("Device %s does not exist", cmd->device); device 2086 fencing/commands.c stonith_device_t *device; device 2090 fencing/commands.c if (!cmd->device) { device 2094 fencing/commands.c device = g_hash_table_lookup(device_list, cmd->device); device 2096 fencing/commands.c if (device) { device 2097 fencing/commands.c crm_trace("Cancel scheduled %s on %s", cmd->action, device->id); device 2098 fencing/commands.c device->pending_ops = g_list_remove(device->pending_ops, cmd); device 2105 fencing/commands.c stonith_device_t *device = NULL; device 2117 fencing/commands.c device = g_hash_table_lookup(device_list, cmd->device); device 2118 fencing/commands.c if (device) { device 2123 fencing/commands.c device->verified = TRUE; device 2126 fencing/commands.c mainloop_set_trigger(device->work); device 2130 fencing/commands.c cmd->action, cmd->device, rc, g_list_length(cmd->device_next)); device 2145 fencing/commands.c } else if (rc != 0 && cmd->device_next && (is_action_required(cmd->action, device) == FALSE)) { device 2154 fencing/commands.c log_operation(cmd, rc, pid, cmd->device, output); device 2190 fencing/commands.c safe_str_neq(cmd->device, cmd_other->device)) { device 2238 fencing/commands.c stonith_device_t *device = NULL; device 2245 fencing/commands.c device = g_hash_table_lookup(device_list, devices->data); device 2247 fencing/commands.c if (device) { device 2255 fencing/commands.c if (device) { device 2256 fencing/commands.c schedule_stonith_command(cmd, device); device 2272 fencing/commands.c stonith_device_t *device = NULL; device 2282 fencing/commands.c device = g_hash_table_lookup(device_list, device_id); device 2283 fencing/commands.c if (device == NULL) { device 2287 fencing/commands.c schedule_stonith_command(cmd, device); device 2364 fencing/commands.c crm_xml_add(reply, F_STONITH_DEVICE, cmd->device); device 2550 fencing/commands.c const char *device = crm_element_value(dev, F_STONITH_DEVICE); device 2556 fencing/commands.c client->name, client->id, action, target, device ? device : "(any)"); device 2567 fencing/commands.c remote_peer, action, target, device ? device : "(any)"); device 230 fencing/internal.h stonith_device_t * device, device 177 fencing/remote.c const char *device) device 179 fencing/remote.c device_properties_t *props = g_hash_table_lookup(peer->devices, device); device 198 fencing/remote.c const char *device, gboolean verified_devices_only) device 200 fencing/remote.c device_properties_t *props = find_peer_device(op, peer, device); device 207 fencing/remote.c device, peer->host, count_peer_devices(op, peer, FALSE)); device 648 fencing/remote.c add_required_device(remote_fencing_op_t *op, const char *device) device 650 fencing/remote.c GListPtr match = g_list_find_custom(op->automatic_list, device, device 654 fencing/remote.c op->automatic_list = g_list_prepend(op->automatic_list, strdup(device)); device 666 fencing/remote.c remove_required_device(remote_fencing_op_t *op, const char *device) device 668 fencing/remote.c GListPtr match = g_list_find_custom(op->automatic_list, device, device 1126 fencing/remote.c find_best_peer(const char *device, remote_fencing_op_t * op, enum find_best_peer_options options) device 1131 fencing/remote.c if (!device && is_set(op->call_options, st_opt_topology)) { device 1149 fencing/remote.c if (grab_peer_device(op, peer, device, verified_devices_only)) { device 1168 fencing/remote.c const char *device = NULL; device 1174 fencing/remote.c device = op->devices->data; device 1176 fencing/remote.c op->action, op->target, device); device 1183 fencing/remote.c peer = find_best_peer(device, op, FIND_PEER_SKIP_TARGET|FIND_PEER_VERIFIED_ONLY); device 1185 fencing/remote.c crm_trace("Found verified peer %s for %s", peer->host, device?device:"<any>"); device 1195 fencing/remote.c peer = find_best_peer(device, op, FIND_PEER_SKIP_TARGET); device 1205 fencing/remote.c peer = find_best_peer(device, op, FIND_PEER_TARGET_ONLY); device 1220 fencing/remote.c op->action, op->target, (device? device : "any device")); device 1226 fencing/remote.c const char *device) device 1230 fencing/remote.c if (!peer || !device) { device 1234 fencing/remote.c props = g_hash_table_lookup(peer->devices, device); device 1393 fencing/remote.c advance_op_topology(remote_fencing_op_t *op, const char *device, xmlNode *msg, device 1404 fencing/remote.c remove_required_device(op, device); device 1438 fencing/remote.c const char *device = NULL; device 1463 fencing/remote.c device = op->devices->data; device 1464 fencing/remote.c timeout = get_device_timeout(op, peer, device); device 1480 fencing/remote.c if (device) { device 1482 fencing/remote.c get_device_timeout(op, peer, device); device 1484 fencing/remote.c op->target, op->action, device, op->client_name, timeout_one); device 1485 fencing/remote.c crm_xml_add(remote_op, F_STONITH_DEVICE, device); device 1501 fencing/remote.c if(stonith_watchdog_timeout_ms > 0 && device && safe_str_eq(device, "watchdog")) { device 1504 fencing/remote.c op->action, op->client_name, op->id, device); device 1513 fencing/remote.c op->action, op->client_name, op->id, device); device 1531 fencing/remote.c device, op->target); device 1532 fencing/remote.c advance_op_topology(op, device, NULL, pcmk_ok); device 1553 fencing/remote.c if(stonith_watchdog_timeout_ms && (device == NULL || safe_str_eq(device, "watchdog"))) { device 1556 fencing/remote.c op->action, op->client_name, op->id, device); device 1577 fencing/remote.c } else if (device) { device 1579 fencing/remote.c op->action, op->target, device, op->client_name, op->id); device 1613 fencing/remote.c GListPtr device = NULL; device 1631 fencing/remote.c for (device = tp->levels[i]; device; device = device->next) { device 1639 fencing/remote.c match = find_peer_device(op, peer, device->data); device 1662 fencing/remote.c parse_action_specific(xmlNode *xml, const char *peer, const char *device, device 1671 fencing/remote.c peer, device, action, props->custom_action_timeout[phase]); device 1678 fencing/remote.c peer, device, props->delay_max[phase], action); device 1685 fencing/remote.c peer, device, props->delay_base[phase], action); device 1695 fencing/remote.c peer, device, action); device 1696 fencing/remote.c add_required_device(op, device); device 1706 fencing/remote.c peer, action, device); device 1721 fencing/remote.c st_query_result_t *result, const char *device) device 1729 fencing/remote.c g_hash_table_insert(result->devices, strdup(device), props); device 1735 fencing/remote.c result->host, device); device 1740 fencing/remote.c parse_action_specific(xml, result->host, device, op_requested_action(op), device 1748 fencing/remote.c parse_action_specific(child, result->host, device, "off", device 1751 fencing/remote.c parse_action_specific(child, result->host, device, "on", device 1780 fencing/remote.c const char *device = ID(child); device 1782 fencing/remote.c if (device) { device 1783 fencing/remote.c add_device_properties(child, op, result, device); device 1911 fencing/remote.c const char *device = NULL; device 1925 fencing/remote.c device = crm_element_value(dev, F_STONITH_DEVICE); device 1945 fencing/remote.c if (op->devices && device && safe_str_neq(op->devices->data, device)) { device 1948 fencing/remote.c device, op->devices->data, op->action, op->target); device 1968 fencing/remote.c stonith_our_uname, device, op->target); device 1973 fencing/remote.c const char *device = crm_element_value(msg, F_STONITH_DEVICE); device 1976 fencing/remote.c device, op->target, op->action, op->client_name, op->originator, device 1991 fencing/remote.c device, rc, op->target); device 1998 fencing/remote.c advance_op_topology(op, device, msg, rc); device 40 fencing/standalone_config.c struct device *next; device 54 fencing/standalone_config.c static struct device *dev_list; device 57 fencing/standalone_config.c static struct device * device 60 fencing/standalone_config.c struct device *dev = NULL; device 86 fencing/standalone_config.c add_device(struct device *dev) device 100 fencing/standalone_config.c standalone_cfg_add_device(const char *device, const char *agent) device 102 fencing/standalone_config.c struct device *dev = NULL; device 104 fencing/standalone_config.c if (!device || !agent) { device 109 fencing/standalone_config.c if (find_device(device)) { device 112 fencing/standalone_config.c dev = calloc(1, sizeof(struct device)); device 114 fencing/standalone_config.c dev->name = strdup(device); device 122 fencing/standalone_config.c standalone_cfg_add_device_options(const char *device, const char *key, const char *value) device 124 fencing/standalone_config.c struct device *dev; device 126 fencing/standalone_config.c if (!device || !key || !value) { device 128 fencing/standalone_config.c } else if (!(dev = find_device(device))) { device 130 fencing/standalone_config.c device, key, value); device 144 fencing/standalone_config.c standalone_cfg_add_node(const char *node, const char *device, const char *ports) device 146 fencing/standalone_config.c struct device *dev; device 153 fencing/standalone_config.c if (!node || !device) { device 155 fencing/standalone_config.c } else if (!(dev = find_device(device))) { device 157 fencing/standalone_config.c device, node); device 191 fencing/standalone_config.c standalone_cfg_add_node_priority(const char *node, const char *device, unsigned int level) device 196 fencing/standalone_config.c if (!node || !device) { device 208 fencing/standalone_config.c topo->priority_levels[topo->priority_levels_count].device_name = strdup(device); device 242 fencing/standalone_config.c struct device *dev = NULL; device 291 fencing/standalone_config.c cfg_register_device(struct device *dev) device 327 fencing/standalone_config.c struct device *dev = NULL; device 49 fencing/standalone_config.h int standalone_cfg_add_device(const char *device, const char *agent); device 61 fencing/standalone_config.h int standalone_cfg_add_device_options(const char *device, const char *key, const char *value); device 74 fencing/standalone_config.h int standalone_cfg_add_node(const char *node, const char *device, const char *ports); device 79 fencing/standalone_config.h int standalone_cfg_add_node_priority(const char *node, const char *device, unsigned int level); device 107 include/crm/stonith-ng.h char *device; device 199 include/crm/stonith-ng.h const char *device, const char *namespace, char **output, int timeout); device 2164 lib/fencing/st_client.c event->device = crm_element_value_copy(data, F_STONITH_DEVICE); device 2187 lib/fencing/st_client.c free(event->device);