stonith 711 daemons/controld/controld_fencing.c tengine_stonith_callback(stonith_t *stonith, stonith_callback_data_t *data) stonith 1101 daemons/execd/execd_commands.c lrmd_stonith_callback(stonith_t * stonith, stonith_callback_data_t * data) stonith 133 daemons/fenced/cts-fence-helper.c st_global_callback(stonith_t * stonith, stonith_callback_data_t * data) stonith 383 daemons/fenced/cts-fence-helper.c mainloop_callback(stonith_t * stonith, stonith_callback_data_t * data) stonith 227 include/crm/stonith-ng.h int (*list_agents)(stonith_t *stonith, int call_options, const char *provider, stonith 149 include/pcmki/pcmki_transition.h gboolean(*stonith) (crm_graph_t * graph, crm_action_t * action); stonith 37 lib/fencing/st_client.c CRM_TRACE_INIT_DATA(stonith); stonith 98 lib/fencing/st_client.c stonith_t *stonith; stonith 106 lib/fencing/st_client.c stonith_t *stonith; stonith 115 lib/fencing/st_client.c static int stonith_send_command(stonith_t *stonith, const char *op, stonith 314 lib/fencing/st_client.c stonith_t *stonith = user_data; stonith 319 lib/fencing/st_client.c blob.stonith = stonith; stonith 322 lib/fencing/st_client.c native = stonith->st_private; stonith 327 lib/fencing/st_client.c stonith->state = stonith_disconnected; stonith 967 lib/fencing/st_client.c stonith_api_device_list(stonith_t * stonith, int call_options, const char *namespace, stonith 994 lib/fencing/st_client.c stonith_api_device_metadata(stonith_t * stonith, int call_options, const char *agent, stonith 1024 lib/fencing/st_client.c stonith_api_query(stonith_t * stonith, int call_options, const char *target, stonith 1039 lib/fencing/st_client.c rc = stonith_send_command(stonith, STONITH_OP_QUERY, data, &output, call_options, timeout); stonith 1071 lib/fencing/st_client.c stonith_api_call(stonith_t * stonith, stonith 1085 lib/fencing/st_client.c rc = stonith_send_command(stonith, STONITH_OP_EXEC, data, output, call_options, timeout); stonith 1092 lib/fencing/st_client.c stonith_api_list(stonith_t * stonith, int call_options, const char *id, char **list_info, stonith 1098 lib/fencing/st_client.c rc = stonith_api_call(stonith, call_options, id, "list", NULL, timeout, &output); stonith 1118 lib/fencing/st_client.c stonith_api_monitor(stonith_t * stonith, int call_options, const char *id, int timeout) stonith 1120 lib/fencing/st_client.c return stonith_api_call(stonith, call_options, id, "monitor", NULL, timeout, NULL); stonith 1124 lib/fencing/st_client.c stonith_api_status(stonith_t * stonith, int call_options, const char *id, const char *port, stonith 1127 lib/fencing/st_client.c return stonith_api_call(stonith, call_options, id, "status", port, timeout, NULL); stonith 1131 lib/fencing/st_client.c stonith_api_fence_with_delay(stonith_t * stonith, int call_options, const char *node, stonith 1144 lib/fencing/st_client.c rc = stonith_send_command(stonith, STONITH_OP_FENCE, data, NULL, call_options, timeout); stonith 1151 lib/fencing/st_client.c stonith_api_fence(stonith_t * stonith, int call_options, const char *node, const char *action, stonith 1154 lib/fencing/st_client.c return stonith_api_fence_with_delay(stonith, call_options, node, action, stonith 1159 lib/fencing/st_client.c stonith_api_confirm(stonith_t * stonith, int call_options, const char *target) stonith 1162 lib/fencing/st_client.c return stonith_api_fence(stonith, call_options, target, "off", 0, 0); stonith 1166 lib/fencing/st_client.c stonith_api_history(stonith_t * stonith, int call_options, const char *node, stonith 1182 lib/fencing/st_client.c rc = stonith_send_command(stonith, STONITH_OP_FENCE_HISTORY, data, &output, stonith 1305 lib/fencing/st_client.c stonith_api_signoff(stonith_t * stonith) stonith 1307 lib/fencing/st_client.c stonith_private_t *native = stonith->st_private; stonith 1327 lib/fencing/st_client.c stonith->state = stonith_disconnected; stonith 1332 lib/fencing/st_client.c stonith_api_del_callback(stonith_t * stonith, int call_id, bool all_callbacks) stonith 1334 lib/fencing/st_client.c stonith_private_t *private = stonith->st_private; stonith 1364 lib/fencing/st_client.c stonith_perform_callback(stonith_t * stonith, xmlNode * msg, int call_id, int rc) stonith 1370 lib/fencing/st_client.c CRM_CHECK(stonith != NULL, return); stonith 1371 lib/fencing/st_client.c CRM_CHECK(stonith->st_private != NULL, return); stonith 1373 lib/fencing/st_client.c private = stonith->st_private; stonith 1393 lib/fencing/st_client.c stonith_api_del_callback(stonith, call_id, FALSE); stonith 1402 lib/fencing/st_client.c invoke_callback(stonith, call_id, rc, local_blob.user_data, local_blob.callback); stonith 1411 lib/fencing/st_client.c invoke_callback(stonith, call_id, rc, NULL, private->op_callback); stonith 1422 lib/fencing/st_client.c stonith_perform_callback(timer->stonith, NULL, timer->call_id, -ETIME); stonith 1431 lib/fencing/st_client.c set_callback_timeout(stonith_callback_client_t * callback, stonith_t * stonith, int call_id, stonith 1445 lib/fencing/st_client.c async_timer->stonith = stonith; stonith 1485 lib/fencing/st_client.c blob.stonith = st; stonith 1519 lib/fencing/st_client.c stonith_api_signon(stonith_t * stonith, const char *name, int *stonith_fd) stonith 1530 lib/fencing/st_client.c CRM_CHECK(stonith != NULL, return -EINVAL); stonith 1532 lib/fencing/st_client.c native = stonith->st_private; stonith 1538 lib/fencing/st_client.c stonith->state = stonith_connected_command; stonith 1554 lib/fencing/st_client.c mainloop_add_ipc_client("stonith-ng", G_PRIORITY_MEDIUM, 0, stonith, &st_callbacks); stonith 1595 lib/fencing/st_client.c stonith->call_timeout = PCMK__IPC_TIMEOUT; stonith 1610 lib/fencing/st_client.c stonith->cmds->disconnect(stonith); stonith 1616 lib/fencing/st_client.c stonith_set_notification(stonith_t * stonith, const char *callback, int enabled) stonith 1620 lib/fencing/st_client.c stonith_private_t *native = stonith->st_private; stonith 1622 lib/fencing/st_client.c if (stonith->state != stonith_disconnected) { stonith 1645 lib/fencing/st_client.c stonith_api_add_notification(stonith_t * stonith, const char *event, stonith 1646 lib/fencing/st_client.c void (*callback) (stonith_t * stonith, stonith_event_t * e)) stonith 1652 lib/fencing/st_client.c private = stonith->st_private; stonith 1669 lib/fencing/st_client.c stonith_set_notification(stonith, event, 1); stonith 1677 lib/fencing/st_client.c stonith_api_del_notification(stonith_t * stonith, const char *event) stonith 1685 lib/fencing/st_client.c private = stonith->st_private; stonith 1692 lib/fencing/st_client.c stonith_set_notification(stonith, event, 0); stonith 1715 lib/fencing/st_client.c stonith_api_add_callback(stonith_t * stonith, int call_id, int timeout, int options, stonith 1722 lib/fencing/st_client.c CRM_CHECK(stonith != NULL, return -EINVAL); stonith 1723 lib/fencing/st_client.c CRM_CHECK(stonith->st_private != NULL, return -EINVAL); stonith 1724 lib/fencing/st_client.c private = stonith->st_private; stonith 1732 lib/fencing/st_client.c invoke_callback(stonith, call_id, call_id, user_data, callback); stonith 1747 lib/fencing/st_client.c set_callback_timeout(blob, stonith, call_id, timeout); stonith 1767 lib/fencing/st_client.c stonith_dump_pending_callbacks(stonith_t * stonith) stonith 1769 lib/fencing/st_client.c stonith_private_t *private = stonith->st_private; stonith 1881 lib/fencing/st_client.c entry->notify(blob->stonith, st_event); stonith 1902 lib/fencing/st_client.c stonith_send_command(stonith_t * stonith, const char *op, xmlNode * data, xmlNode ** output_data, stonith 1912 lib/fencing/st_client.c CRM_ASSERT(stonith && stonith->st_private && op); stonith 1913 lib/fencing/st_client.c native = stonith->st_private; stonith 1919 lib/fencing/st_client.c if ((stonith->state == stonith_disconnected) || (native->token == NULL)) { stonith 1927 lib/fencing/st_client.c stonith->call_id++; stonith 1928 lib/fencing/st_client.c if (stonith->call_id < 1) { stonith 1929 lib/fencing/st_client.c stonith->call_id = 1; stonith 1932 lib/fencing/st_client.c op_msg = stonith_create_op(stonith->call_id, native->token, op, data, call_options); stonith 1969 lib/fencing/st_client.c crm_trace("Async call %d, returning", stonith->call_id); stonith 1971 lib/fencing/st_client.c return stonith->call_id; stonith 1977 lib/fencing/st_client.c if (reply_id == stonith->call_id) { stonith 1999 lib/fencing/st_client.c crm_err("Received bad reply: %d (wanted %d)", reply_id, stonith->call_id); stonith 2009 lib/fencing/st_client.c stonith->state = stonith_disconnected; stonith 2044 lib/fencing/st_client.c stonith_api_free(stonith_t * stonith) stonith 2048 lib/fencing/st_client.c crm_trace("Destroying %p", stonith); stonith 2050 lib/fencing/st_client.c if (stonith->state != stonith_disconnected) { stonith 2051 lib/fencing/st_client.c crm_trace("Disconnecting %p first", stonith); stonith 2052 lib/fencing/st_client.c rc = stonith->cmds->disconnect(stonith); stonith 2055 lib/fencing/st_client.c if (stonith->state == stonith_disconnected) { stonith 2056 lib/fencing/st_client.c stonith_private_t *private = stonith->st_private; stonith 2064 lib/fencing/st_client.c free(stonith->st_private); stonith 2065 lib/fencing/st_client.c free(stonith->cmds); stonith 2066 lib/fencing/st_client.c free(stonith); stonith 2076 lib/fencing/st_client.c stonith_api_delete(stonith_t * stonith) stonith 2078 lib/fencing/st_client.c crm_trace("Destroying %p", stonith); stonith 2079 lib/fencing/st_client.c if(stonith) { stonith 2080 lib/fencing/st_client.c stonith->cmds->free(stonith); stonith 92 lib/pacemaker/pcmk_fence.c fence_callback(stonith_t * stonith, stonith_callback_data_t * data) stonith 155 lib/pacemaker/pcmk_graph_consumer.c CRM_ASSERT(graph_fns->stonith != NULL); stonith 250 lib/pacemaker/pcmk_graph_consumer.c return graph_fns->stonith(graph, action)? pcmk_rc_ok : pcmk_rc_error;