stonith           789 daemons/controld/controld_fencing.c tengine_stonith_callback(stonith_t *stonith, stonith_callback_data_t *data)
stonith          1071 daemons/execd/execd_commands.c lrmd_stonith_callback(stonith_t * stonith, stonith_callback_data_t * data)
stonith           148 daemons/fenced/cts-fence-helper.c st_global_callback(stonith_t * stonith, stonith_callback_data_t * data)
stonith           413 daemons/fenced/cts-fence-helper.c mainloop_callback(stonith_t * stonith, stonith_callback_data_t * data)
stonith           279 include/crm/stonith-ng.h     int (*metadata)(stonith_t *stonith, int call_options, const char *agent,
stonith           300 include/crm/stonith-ng.h     int (*list_agents)(stonith_t *stonith, int call_options,
stonith           316 include/crm/stonith-ng.h     int (*list)(stonith_t *stonith, int call_options, const char *id,
stonith           330 include/crm/stonith-ng.h     int (*monitor)(stonith_t *stonith, int call_options, const char *id,
stonith           345 include/crm/stonith-ng.h     int (*status)(stonith_t *stonith, int call_options, const char *id,
stonith           362 include/crm/stonith-ng.h     int (*query)(stonith_t *stonith, int call_options, const char *target,
stonith           380 include/crm/stonith-ng.h     int (*fence)(stonith_t *stonith, int call_options, const char *node,
stonith           393 include/crm/stonith-ng.h     int (*confirm)(stonith_t *stonith, int call_options, const char *target);
stonith           406 include/crm/stonith-ng.h     int (*history)(stonith_t *stonith, int call_options, const char *node,
stonith           418 include/crm/stonith-ng.h     int (*register_notification)(stonith_t *stonith, const char *event,
stonith           430 include/crm/stonith-ng.h     int (*remove_notification)(stonith_t *stonith, const char *event);
stonith           449 include/crm/stonith-ng.h     int (*register_callback)(stonith_t *stonith, int call_id, int timeout,
stonith           465 include/crm/stonith-ng.h     int (*remove_callback)(stonith_t *stonith, int call_id, bool all_callbacks);
stonith           563 include/crm/stonith-ng.h     int (*fence_with_delay)(stonith_t *stonith, int call_options,
stonith            26 include/pcmki/pcmki_status.h                                 stonith_t *stonith, cib_t *cib,
stonith            30 lib/fencing/st_client.c CRM_TRACE_INIT_DATA(stonith);
stonith            71 lib/fencing/st_client.c     stonith_t *stonith;
stonith            79 lib/fencing/st_client.c     stonith_t *stonith;
stonith            88 lib/fencing/st_client.c static int stonith_send_command(stonith_t *stonith, const char *op,
stonith            94 lib/fencing/st_client.c static int stonith_api_del_notification(stonith_t *stonith,
stonith           270 lib/fencing/st_client.c     stonith_t *stonith = user_data;
stonith           275 lib/fencing/st_client.c     blob.stonith = stonith;
stonith           278 lib/fencing/st_client.c     native = stonith->st_private;
stonith           283 lib/fencing/st_client.c     stonith->state = stonith_disconnected;
stonith           479 lib/fencing/st_client.c stonith_api_device_list(stonith_t *stonith, int call_options,
stonith           508 lib/fencing/st_client.c stonith_api_device_metadata(stonith_t *stonith, int call_options,
stonith           543 lib/fencing/st_client.c stonith_api_query(stonith_t * stonith, int call_options, const char *target,
stonith           558 lib/fencing/st_client.c     rc = stonith_send_command(stonith, STONITH_OP_QUERY, data, &output, call_options, timeout);
stonith           604 lib/fencing/st_client.c stonith_api_call(stonith_t *stonith, int call_options, const char *id,
stonith           617 lib/fencing/st_client.c     rc = stonith_send_command(stonith, STONITH_OP_EXEC, data, output,
stonith           625 lib/fencing/st_client.c stonith_api_list(stonith_t * stonith, int call_options, const char *id, char **list_info,
stonith           631 lib/fencing/st_client.c     rc = stonith_api_call(stonith, call_options, id, PCMK_ACTION_LIST, NULL,
stonith           652 lib/fencing/st_client.c stonith_api_monitor(stonith_t * stonith, int call_options, const char *id, int timeout)
stonith           654 lib/fencing/st_client.c     return stonith_api_call(stonith, call_options, id, PCMK_ACTION_MONITOR,
stonith           659 lib/fencing/st_client.c stonith_api_status(stonith_t * stonith, int call_options, const char *id, const char *port,
stonith           662 lib/fencing/st_client.c     return stonith_api_call(stonith, call_options, id, PCMK_ACTION_STATUS, port,
stonith           667 lib/fencing/st_client.c stonith_api_fence_with_delay(stonith_t * stonith, int call_options, const char *node,
stonith           680 lib/fencing/st_client.c     rc = stonith_send_command(stonith, STONITH_OP_FENCE, data, NULL, call_options, timeout);
stonith           687 lib/fencing/st_client.c stonith_api_fence(stonith_t * stonith, int call_options, const char *node, const char *action,
stonith           690 lib/fencing/st_client.c     return stonith_api_fence_with_delay(stonith, call_options, node, action,
stonith           695 lib/fencing/st_client.c stonith_api_confirm(stonith_t * stonith, int call_options, const char *target)
stonith           698 lib/fencing/st_client.c     return stonith_api_fence(stonith, call_options, target, PCMK_ACTION_OFF, 0,
stonith           703 lib/fencing/st_client.c stonith_api_history(stonith_t * stonith, int call_options, const char *node,
stonith           719 lib/fencing/st_client.c     rc = stonith_send_command(stonith, STONITH_OP_FENCE_HISTORY, data, &output,
stonith           843 lib/fencing/st_client.c stonith_api_signoff(stonith_t * stonith)
stonith           845 lib/fencing/st_client.c     stonith_private_t *native = stonith->st_private;
stonith           865 lib/fencing/st_client.c     stonith->state = stonith_disconnected;
stonith           870 lib/fencing/st_client.c stonith_api_del_callback(stonith_t * stonith, int call_id, bool all_callbacks)
stonith           872 lib/fencing/st_client.c     stonith_private_t *private = stonith->st_private;
stonith           928 lib/fencing/st_client.c invoke_registered_callbacks(stonith_t *stonith, const xmlNode *msg, int call_id)
stonith           934 lib/fencing/st_client.c     CRM_CHECK(stonith != NULL, return);
stonith           935 lib/fencing/st_client.c     CRM_CHECK(stonith->st_private != NULL, return);
stonith           937 lib/fencing/st_client.c     private = stonith->st_private;
stonith           963 lib/fencing/st_client.c         invoke_fence_action_callback(stonith, call_id, &result,
stonith           977 lib/fencing/st_client.c         invoke_fence_action_callback(stonith, call_id, &result, NULL,
stonith           982 lib/fencing/st_client.c         stonith_api_del_callback(stonith, call_id, FALSE);
stonith           993 lib/fencing/st_client.c     invoke_registered_callbacks(timer->stonith, NULL, timer->call_id);
stonith          1002 lib/fencing/st_client.c set_callback_timeout(stonith_callback_client_t * callback, stonith_t * stonith, int call_id,
stonith          1016 lib/fencing/st_client.c     async_timer->stonith = stonith;
stonith          1057 lib/fencing/st_client.c     blob.stonith = st;
stonith          1093 lib/fencing/st_client.c stonith_api_signon(stonith_t * stonith, const char *name, int *stonith_fd)
stonith          1104 lib/fencing/st_client.c     CRM_CHECK(stonith != NULL, return -EINVAL);
stonith          1106 lib/fencing/st_client.c     native = stonith->st_private;
stonith          1112 lib/fencing/st_client.c     stonith->state = stonith_connected_command;
stonith          1135 lib/fencing/st_client.c             mainloop_add_ipc_client("stonith-ng", G_PRIORITY_MEDIUM, 0, stonith, &st_callbacks);
stonith          1188 lib/fencing/st_client.c         stonith->cmds->disconnect(stonith);
stonith          1194 lib/fencing/st_client.c stonith_set_notification(stonith_t * stonith, const char *callback, int enabled)
stonith          1198 lib/fencing/st_client.c     stonith_private_t *native = stonith->st_private;
stonith          1200 lib/fencing/st_client.c     if (stonith->state != stonith_disconnected) {
stonith          1223 lib/fencing/st_client.c stonith_api_add_notification(stonith_t * stonith, const char *event,
stonith          1224 lib/fencing/st_client.c                              void (*callback) (stonith_t * stonith, stonith_event_t * e))
stonith          1230 lib/fencing/st_client.c     private = stonith->st_private;
stonith          1247 lib/fencing/st_client.c         stonith_set_notification(stonith, event, 1);
stonith          1258 lib/fencing/st_client.c     stonith_t * stonith = user_data;
stonith          1262 lib/fencing/st_client.c         stonith_api_del_notification(stonith, entry->event);
stonith          1267 lib/fencing/st_client.c stonith_api_del_notification(stonith_t * stonith, const char *event)
stonith          1271 lib/fencing/st_client.c     stonith_private_t *private = stonith->st_private;
stonith          1274 lib/fencing/st_client.c         foreach_notify_entry(private, del_notify_entry, stonith);
stonith          1288 lib/fencing/st_client.c     stonith_set_notification(stonith, event, 0);
stonith          1311 lib/fencing/st_client.c stonith_api_add_callback(stonith_t * stonith, int call_id, int timeout, int options,
stonith          1318 lib/fencing/st_client.c     CRM_CHECK(stonith != NULL, return -EINVAL);
stonith          1319 lib/fencing/st_client.c     CRM_CHECK(stonith->st_private != NULL, return -EINVAL);
stonith          1320 lib/fencing/st_client.c     private = stonith->st_private;
stonith          1332 lib/fencing/st_client.c             invoke_fence_action_callback(stonith, call_id, &result,
stonith          1348 lib/fencing/st_client.c         set_callback_timeout(blob, stonith, call_id, timeout);
stonith          1368 lib/fencing/st_client.c stonith_dump_pending_callbacks(stonith_t * stonith)
stonith          1370 lib/fencing/st_client.c     stonith_private_t *private = stonith->st_private;
stonith          1524 lib/fencing/st_client.c     entry->notify(blob->stonith, st_event);
stonith          1545 lib/fencing/st_client.c stonith_send_command(stonith_t * stonith, const char *op, xmlNode * data, xmlNode ** output_data,
stonith          1555 lib/fencing/st_client.c     pcmk__assert((stonith != NULL) && (stonith->st_private != NULL)
stonith          1557 lib/fencing/st_client.c     native = stonith->st_private;
stonith          1563 lib/fencing/st_client.c     if ((stonith->state == stonith_disconnected) || (native->token == NULL)) {
stonith          1571 lib/fencing/st_client.c     stonith->call_id++;
stonith          1572 lib/fencing/st_client.c     if (stonith->call_id < 1) {
stonith          1573 lib/fencing/st_client.c         stonith->call_id = 1;
stonith          1576 lib/fencing/st_client.c     op_msg = stonith_create_op(stonith->call_id, native->token, op, data, call_options);
stonith          1613 lib/fencing/st_client.c         crm_trace("Async call %d, returning", stonith->call_id);
stonith          1615 lib/fencing/st_client.c         return stonith->call_id;
stonith          1620 lib/fencing/st_client.c     if (reply_id == stonith->call_id) {
stonith          1645 lib/fencing/st_client.c         crm_err("Received bad reply: %d (wanted %d)", reply_id, stonith->call_id);
stonith          1656 lib/fencing/st_client.c         stonith->state = stonith_disconnected;
stonith          1691 lib/fencing/st_client.c stonith_api_free(stonith_t * stonith)
stonith          1695 lib/fencing/st_client.c     crm_trace("Destroying %p", stonith);
stonith          1697 lib/fencing/st_client.c     if (stonith->state != stonith_disconnected) {
stonith          1699 lib/fencing/st_client.c                   stonith);
stonith          1700 lib/fencing/st_client.c         stonith->cmds->remove_notification(stonith, NULL);
stonith          1701 lib/fencing/st_client.c         rc = stonith->cmds->disconnect(stonith);
stonith          1704 lib/fencing/st_client.c     if (stonith->state == stonith_disconnected) {
stonith          1705 lib/fencing/st_client.c         stonith_private_t *private = stonith->st_private;
stonith          1713 lib/fencing/st_client.c         free(stonith->st_private);
stonith          1714 lib/fencing/st_client.c         free(stonith->cmds);
stonith          1715 lib/fencing/st_client.c         free(stonith);
stonith          1725 lib/fencing/st_client.c stonith_api_delete(stonith_t * stonith)
stonith          1727 lib/fencing/st_client.c     crm_trace("Destroying %p", stonith);
stonith          1728 lib/fencing/st_client.c     if(stonith) {
stonith          1729 lib/fencing/st_client.c         stonith->cmds->free(stonith);
stonith           144 lib/pacemaker/pcmk_fence.c fence_callback(stonith_t * stonith, stonith_callback_data_t * data)
stonith            69 lib/pacemaker/pcmk_status.c pcmk__output_cluster_status(pcmk_scheduler_t *scheduler, stonith_t *stonith,
stonith           101 lib/pacemaker/pcmk_status.c         history_rc = pcmk__get_fencing_history(stonith, &stonith_history,
stonith           213 lib/pacemaker/pcmk_status.c     stonith_t *stonith = NULL;
stonith           247 lib/pacemaker/pcmk_status.c             stonith = fencing_connect();
stonith           270 lib/pacemaker/pcmk_status.c     rc = pcmk__output_cluster_status(scheduler, stonith, cib, current_cib,
stonith           280 lib/pacemaker/pcmk_status.c     stonith_api_delete(stonith);