stonith 749 crmd/te_callbacks.c tengine_stonith_callback(stonith_t * stonith, stonith_callback_data_t * data) stonith 34 crmd/te_callbacks.h extern void tengine_stonith_callback(stonith_t * stonith, stonith_callback_data_t * data); stonith 231 fencing/admin.c fence_callback(stonith_t * stonith, stonith_callback_data_t * data) stonith 131 fencing/test.c st_global_callback(stonith_t * stonith, stonith_callback_data_t * data) stonith 369 fencing/test.c mainloop_callback(stonith_t * stonith, stonith_callback_data_t * data) stonith 211 include/crm/stonith-ng.h int (*list_agents)(stonith_t *stonith, int call_options, const char *namespace, stonith 124 include/crm/transition.h gboolean(*stonith) (crm_graph_t * graph, crm_action_t * action); stonith 49 lib/fencing/st_client.c CRM_TRACE_INIT_DATA(stonith); stonith 112 lib/fencing/st_client.c stonith_t *stonith; stonith 120 lib/fencing/st_client.c stonith_t *stonith; stonith 150 lib/fencing/st_client.c void stonith_perform_callback(stonith_t * stonith, xmlNode * msg, int call_id, int rc); stonith 153 lib/fencing/st_client.c int stonith_send_command(stonith_t * stonith, const char *op, xmlNode * data, stonith 184 lib/fencing/st_client.c stonith_t *stonith = user_data; stonith 189 lib/fencing/st_client.c blob.stonith = stonith; stonith 192 lib/fencing/st_client.c native = stonith->private; stonith 196 lib/fencing/st_client.c stonith->state = stonith_disconnected; stonith 1115 lib/fencing/st_client.c stonith_api_device_list(stonith_t * stonith, int call_options, const char *namespace, stonith 1233 lib/fencing/st_client.c stonith_api_device_metadata(stonith_t * stonith, int call_options, const char *agent, stonith 1405 lib/fencing/st_client.c stonith_api_query(stonith_t * stonith, int call_options, const char *target, stonith 1420 lib/fencing/st_client.c rc = stonith_send_command(stonith, STONITH_OP_QUERY, data, &output, call_options, timeout); stonith 1452 lib/fencing/st_client.c stonith_api_call(stonith_t * stonith, stonith 1466 lib/fencing/st_client.c rc = stonith_send_command(stonith, STONITH_OP_EXEC, data, output, call_options, timeout); stonith 1473 lib/fencing/st_client.c stonith_api_list(stonith_t * stonith, int call_options, const char *id, char **list_info, stonith 1479 lib/fencing/st_client.c rc = stonith_api_call(stonith, call_options, id, "list", NULL, timeout, &output); stonith 1499 lib/fencing/st_client.c stonith_api_monitor(stonith_t * stonith, int call_options, const char *id, int timeout) stonith 1501 lib/fencing/st_client.c return stonith_api_call(stonith, call_options, id, "monitor", NULL, timeout, NULL); stonith 1505 lib/fencing/st_client.c stonith_api_status(stonith_t * stonith, int call_options, const char *id, const char *port, stonith 1508 lib/fencing/st_client.c return stonith_api_call(stonith, call_options, id, "status", port, timeout, NULL); stonith 1512 lib/fencing/st_client.c stonith_api_fence(stonith_t * stonith, int call_options, const char *node, const char *action, stonith 1524 lib/fencing/st_client.c rc = stonith_send_command(stonith, STONITH_OP_FENCE, data, NULL, call_options, timeout); stonith 1531 lib/fencing/st_client.c stonith_api_confirm(stonith_t * stonith, int call_options, const char *target) stonith 1533 lib/fencing/st_client.c return stonith_api_fence(stonith, call_options | st_opt_manual_ack, target, "off", 0, 0); stonith 1537 lib/fencing/st_client.c stonith_api_history(stonith_t * stonith, int call_options, const char *node, stonith 1552 lib/fencing/st_client.c rc = stonith_send_command(stonith, STONITH_OP_FENCE_HISTORY, data, &output, stonith 1706 lib/fencing/st_client.c stonith_api_signoff(stonith_t * stonith) stonith 1708 lib/fencing/st_client.c stonith_private_t *native = stonith->private; stonith 1728 lib/fencing/st_client.c stonith->state = stonith_disconnected; stonith 1733 lib/fencing/st_client.c stonith_api_signon(stonith_t * stonith, const char *name, int *stonith_fd) stonith 1736 lib/fencing/st_client.c stonith_private_t *native = stonith->private; stonith 1745 lib/fencing/st_client.c stonith->state = stonith_connected_command; stonith 1760 lib/fencing/st_client.c mainloop_add_ipc_client("stonith-ng", G_PRIORITY_MEDIUM, 0, stonith, &st_callbacks); stonith 1813 lib/fencing/st_client.c stonith->call_timeout = MAX_IPC_DELAY; stonith 1820 lib/fencing/st_client.c stonith->cmds->disconnect(stonith); stonith 1825 lib/fencing/st_client.c stonith_set_notification(stonith_t * stonith, const char *callback, int enabled) stonith 1829 lib/fencing/st_client.c stonith_private_t *native = stonith->private; stonith 1831 lib/fencing/st_client.c if (stonith->state != stonith_disconnected) { stonith 1854 lib/fencing/st_client.c stonith_api_add_notification(stonith_t * stonith, const char *event, stonith 1855 lib/fencing/st_client.c void (*callback) (stonith_t * stonith, stonith_event_t * e)) stonith 1861 lib/fencing/st_client.c private = stonith->private; stonith 1878 lib/fencing/st_client.c stonith_set_notification(stonith, event, 1); stonith 1886 lib/fencing/st_client.c stonith_api_del_notification(stonith_t * stonith, const char *event) stonith 1894 lib/fencing/st_client.c private = stonith->private; stonith 1901 lib/fencing/st_client.c stonith_set_notification(stonith, event, 0); stonith 1924 lib/fencing/st_client.c stonith_perform_callback(timer->stonith, NULL, timer->call_id, -ETIME); stonith 1933 lib/fencing/st_client.c set_callback_timeout(stonith_callback_client_t * callback, stonith_t * stonith, int call_id, stonith 1947 lib/fencing/st_client.c async_timer->stonith = stonith; stonith 1988 lib/fencing/st_client.c stonith_api_add_callback(stonith_t * stonith, int call_id, int timeout, int options, stonith 1995 lib/fencing/st_client.c CRM_CHECK(stonith != NULL, return -EINVAL); stonith 1996 lib/fencing/st_client.c CRM_CHECK(stonith->private != NULL, return -EINVAL); stonith 1997 lib/fencing/st_client.c private = stonith->private; stonith 2005 lib/fencing/st_client.c invoke_callback(stonith, call_id, call_id, user_data, callback); stonith 2020 lib/fencing/st_client.c set_callback_timeout(blob, stonith, call_id, timeout); stonith 2030 lib/fencing/st_client.c stonith_api_del_callback(stonith_t * stonith, int call_id, bool all_callbacks) stonith 2032 lib/fencing/st_client.c stonith_private_t *private = stonith->private; stonith 2060 lib/fencing/st_client.c stonith_dump_pending_callbacks(stonith_t * stonith) stonith 2062 lib/fencing/st_client.c stonith_private_t *private = stonith->private; stonith 2071 lib/fencing/st_client.c stonith_perform_callback(stonith_t * stonith, xmlNode * msg, int call_id, int rc) stonith 2077 lib/fencing/st_client.c CRM_CHECK(stonith != NULL, return); stonith 2078 lib/fencing/st_client.c CRM_CHECK(stonith->private != NULL, return); stonith 2080 lib/fencing/st_client.c private = stonith->private; stonith 2100 lib/fencing/st_client.c stonith_api_del_callback(stonith, call_id, FALSE); stonith 2109 lib/fencing/st_client.c invoke_callback(stonith, call_id, rc, local_blob.user_data, local_blob.callback); stonith 2118 lib/fencing/st_client.c invoke_callback(stonith, call_id, rc, NULL, private->op_callback); stonith 2223 lib/fencing/st_client.c entry->notify(blob->stonith, st_event); stonith 2230 lib/fencing/st_client.c stonith_send_command(stonith_t * stonith, const char *op, xmlNode * data, xmlNode ** output_data, stonith 2240 lib/fencing/st_client.c stonith_private_t *native = stonith->private; stonith 2242 lib/fencing/st_client.c if (stonith->state == stonith_disconnected) { stonith 2259 lib/fencing/st_client.c stonith->call_id++; stonith 2264 lib/fencing/st_client.c if (stonith->call_id < 1) { stonith 2265 lib/fencing/st_client.c stonith->call_id = 1; stonith 2270 lib/fencing/st_client.c op_msg = stonith_create_op(stonith->call_id, native->token, op, data, call_options); stonith 2290 lib/fencing/st_client.c crm_trace("Async call %d, returning", stonith->call_id); stonith 2291 lib/fencing/st_client.c CRM_CHECK(stonith->call_id != 0, return -EPROTO); stonith 2294 lib/fencing/st_client.c return stonith->call_id; stonith 2300 lib/fencing/st_client.c if (reply_id == stonith->call_id) { stonith 2322 lib/fencing/st_client.c crm_err("Received bad reply: %d (wanted %d)", reply_id, stonith->call_id); stonith 2331 lib/fencing/st_client.c stonith->state = stonith_disconnected; stonith 2377 lib/fencing/st_client.c blob.stonith = st; stonith 2411 lib/fencing/st_client.c stonith_api_free(stonith_t * stonith) stonith 2415 lib/fencing/st_client.c crm_trace("Destroying %p", stonith); stonith 2417 lib/fencing/st_client.c if (stonith->state != stonith_disconnected) { stonith 2418 lib/fencing/st_client.c crm_trace("Disconnecting %p first", stonith); stonith 2419 lib/fencing/st_client.c rc = stonith->cmds->disconnect(stonith); stonith 2422 lib/fencing/st_client.c if (stonith->state == stonith_disconnected) { stonith 2423 lib/fencing/st_client.c stonith_private_t *private = stonith->private; stonith 2431 lib/fencing/st_client.c free(stonith->private); stonith 2432 lib/fencing/st_client.c free(stonith->cmds); stonith 2433 lib/fencing/st_client.c free(stonith); stonith 2443 lib/fencing/st_client.c stonith_api_delete(stonith_t * stonith) stonith 2445 lib/fencing/st_client.c crm_trace("Destroying %p", stonith); stonith 2446 lib/fencing/st_client.c if(stonith) { stonith 2447 lib/fencing/st_client.c stonith->cmds->free(stonith); stonith 203 lib/transition/graph.c return graph_fns->stonith(graph, action); stonith 79 lib/transition/utils.c CRM_ASSERT(graph_fns->stonith != NULL); stonith 1056 lrmd/lrmd.c lrmd_stonith_callback(stonith_t * stonith, stonith_callback_data_t * data)