stonith           779 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           149 daemons/fenced/cts-fence-helper.c st_global_callback(stonith_t * stonith, stonith_callback_data_t * data)
stonith           410 daemons/fenced/cts-fence-helper.c mainloop_callback(stonith_t * stonith, stonith_callback_data_t * data)
stonith           258 include/crm/stonith-ng.h     int (*metadata)(stonith_t *stonith, int call_options, const char *agent,
stonith           279 include/crm/stonith-ng.h     int (*list_agents)(stonith_t *stonith, int call_options,
stonith           295 include/crm/stonith-ng.h     int (*list)(stonith_t *stonith, int call_options, const char *id,
stonith           309 include/crm/stonith-ng.h     int (*monitor)(stonith_t *stonith, int call_options, const char *id,
stonith           324 include/crm/stonith-ng.h     int (*status)(stonith_t *stonith, int call_options, const char *id,
stonith           341 include/crm/stonith-ng.h     int (*query)(stonith_t *stonith, int call_options, const char *target,
stonith           359 include/crm/stonith-ng.h     int (*fence)(stonith_t *stonith, int call_options, const char *node,
stonith           372 include/crm/stonith-ng.h     int (*confirm)(stonith_t *stonith, int call_options, const char *target);
stonith           385 include/crm/stonith-ng.h     int (*history)(stonith_t *stonith, int call_options, const char *node,
stonith           397 include/crm/stonith-ng.h     int (*register_notification)(stonith_t *stonith, const char *event,
stonith           409 include/crm/stonith-ng.h     int (*remove_notification)(stonith_t *stonith, const char *event);
stonith           428 include/crm/stonith-ng.h     int (*register_callback)(stonith_t *stonith, int call_id, int timeout,
stonith           444 include/crm/stonith-ng.h     int (*remove_callback)(stonith_t *stonith, int call_id, bool all_callbacks);
stonith           542 include/crm/stonith-ng.h     int (*fence_with_delay)(stonith_t *stonith, int call_options,
stonith            44 include/pcmki/pcmki_status.h int pcmk__output_cluster_status(pcmk__output_t *out, stonith_t *stonith,
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           271 lib/fencing/st_client.c     stonith_t *stonith = user_data;
stonith           276 lib/fencing/st_client.c     blob.stonith = stonith;
stonith           279 lib/fencing/st_client.c     native = stonith->st_private;
stonith           284 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, const char *namespace,
stonith           507 lib/fencing/st_client.c stonith_api_device_metadata(stonith_t *stonith, int call_options,
stonith           542 lib/fencing/st_client.c stonith_api_query(stonith_t * stonith, int call_options, const char *target,
stonith           557 lib/fencing/st_client.c     rc = stonith_send_command(stonith, STONITH_OP_QUERY, data, &output, call_options, timeout);
stonith           601 lib/fencing/st_client.c stonith_api_call(stonith_t *stonith, int call_options, const char *id,
stonith           614 lib/fencing/st_client.c     rc = stonith_send_command(stonith, STONITH_OP_EXEC, data, output,
stonith           622 lib/fencing/st_client.c stonith_api_list(stonith_t * stonith, int call_options, const char *id, char **list_info,
stonith           628 lib/fencing/st_client.c     rc = stonith_api_call(stonith, call_options, id, PCMK_ACTION_LIST, NULL,
stonith           649 lib/fencing/st_client.c stonith_api_monitor(stonith_t * stonith, int call_options, const char *id, int timeout)
stonith           651 lib/fencing/st_client.c     return stonith_api_call(stonith, call_options, id, PCMK_ACTION_MONITOR,
stonith           656 lib/fencing/st_client.c stonith_api_status(stonith_t * stonith, int call_options, const char *id, const char *port,
stonith           659 lib/fencing/st_client.c     return stonith_api_call(stonith, call_options, id, PCMK_ACTION_STATUS, port,
stonith           664 lib/fencing/st_client.c stonith_api_fence_with_delay(stonith_t * stonith, int call_options, const char *node,
stonith           677 lib/fencing/st_client.c     rc = stonith_send_command(stonith, STONITH_OP_FENCE, data, NULL, call_options, timeout);
stonith           684 lib/fencing/st_client.c stonith_api_fence(stonith_t * stonith, int call_options, const char *node, const char *action,
stonith           687 lib/fencing/st_client.c     return stonith_api_fence_with_delay(stonith, call_options, node, action,
stonith           692 lib/fencing/st_client.c stonith_api_confirm(stonith_t * stonith, int call_options, const char *target)
stonith           695 lib/fencing/st_client.c     return stonith_api_fence(stonith, call_options, target, PCMK_ACTION_OFF, 0,
stonith           700 lib/fencing/st_client.c stonith_api_history(stonith_t * stonith, int call_options, const char *node,
stonith           716 lib/fencing/st_client.c     rc = stonith_send_command(stonith, STONITH_OP_FENCE_HISTORY, data, &output,
stonith           842 lib/fencing/st_client.c stonith_api_signoff(stonith_t * stonith)
stonith           844 lib/fencing/st_client.c     stonith_private_t *native = stonith->st_private;
stonith           864 lib/fencing/st_client.c     stonith->state = stonith_disconnected;
stonith           869 lib/fencing/st_client.c stonith_api_del_callback(stonith_t * stonith, int call_id, bool all_callbacks)
stonith           871 lib/fencing/st_client.c     stonith_private_t *private = stonith->st_private;
stonith           927 lib/fencing/st_client.c invoke_registered_callbacks(stonith_t *stonith, const xmlNode *msg, int call_id)
stonith           933 lib/fencing/st_client.c     CRM_CHECK(stonith != NULL, return);
stonith           934 lib/fencing/st_client.c     CRM_CHECK(stonith->st_private != NULL, return);
stonith           936 lib/fencing/st_client.c     private = stonith->st_private;
stonith           962 lib/fencing/st_client.c         invoke_fence_action_callback(stonith, call_id, &result,
stonith           976 lib/fencing/st_client.c         invoke_fence_action_callback(stonith, call_id, &result, NULL,
stonith           981 lib/fencing/st_client.c         stonith_api_del_callback(stonith, call_id, FALSE);
stonith           992 lib/fencing/st_client.c     invoke_registered_callbacks(timer->stonith, NULL, timer->call_id);
stonith          1001 lib/fencing/st_client.c set_callback_timeout(stonith_callback_client_t * callback, stonith_t * stonith, int call_id,
stonith          1015 lib/fencing/st_client.c     async_timer->stonith = stonith;
stonith          1055 lib/fencing/st_client.c     blob.stonith = st;
stonith          1089 lib/fencing/st_client.c stonith_api_signon(stonith_t * stonith, const char *name, int *stonith_fd)
stonith          1100 lib/fencing/st_client.c     CRM_CHECK(stonith != NULL, return -EINVAL);
stonith          1102 lib/fencing/st_client.c     native = stonith->st_private;
stonith          1108 lib/fencing/st_client.c     stonith->state = stonith_connected_command;
stonith          1131 lib/fencing/st_client.c             mainloop_add_ipc_client("stonith-ng", G_PRIORITY_MEDIUM, 0, stonith, &st_callbacks);
stonith          1184 lib/fencing/st_client.c         stonith->cmds->disconnect(stonith);
stonith          1190 lib/fencing/st_client.c stonith_set_notification(stonith_t * stonith, const char *callback, int enabled)
stonith          1194 lib/fencing/st_client.c     stonith_private_t *native = stonith->st_private;
stonith          1196 lib/fencing/st_client.c     if (stonith->state != stonith_disconnected) {
stonith          1219 lib/fencing/st_client.c stonith_api_add_notification(stonith_t * stonith, const char *event,
stonith          1220 lib/fencing/st_client.c                              void (*callback) (stonith_t * stonith, stonith_event_t * e))
stonith          1226 lib/fencing/st_client.c     private = stonith->st_private;
stonith          1243 lib/fencing/st_client.c         stonith_set_notification(stonith, event, 1);
stonith          1254 lib/fencing/st_client.c     stonith_t * stonith = user_data;
stonith          1258 lib/fencing/st_client.c         stonith_api_del_notification(stonith, entry->event);
stonith          1263 lib/fencing/st_client.c stonith_api_del_notification(stonith_t * stonith, const char *event)
stonith          1267 lib/fencing/st_client.c     stonith_private_t *private = stonith->st_private;
stonith          1270 lib/fencing/st_client.c         foreach_notify_entry(private, del_notify_entry, stonith);
stonith          1284 lib/fencing/st_client.c     stonith_set_notification(stonith, event, 0);
stonith          1307 lib/fencing/st_client.c stonith_api_add_callback(stonith_t * stonith, int call_id, int timeout, int options,
stonith          1314 lib/fencing/st_client.c     CRM_CHECK(stonith != NULL, return -EINVAL);
stonith          1315 lib/fencing/st_client.c     CRM_CHECK(stonith->st_private != NULL, return -EINVAL);
stonith          1316 lib/fencing/st_client.c     private = stonith->st_private;
stonith          1328 lib/fencing/st_client.c             invoke_fence_action_callback(stonith, call_id, &result,
stonith          1344 lib/fencing/st_client.c         set_callback_timeout(blob, stonith, call_id, timeout);
stonith          1364 lib/fencing/st_client.c stonith_dump_pending_callbacks(stonith_t * stonith)
stonith          1366 lib/fencing/st_client.c     stonith_private_t *private = stonith->st_private;
stonith          1522 lib/fencing/st_client.c     entry->notify(blob->stonith, st_event);
stonith          1543 lib/fencing/st_client.c stonith_send_command(stonith_t * stonith, const char *op, xmlNode * data, xmlNode ** output_data,
stonith          1553 lib/fencing/st_client.c     CRM_ASSERT(stonith && stonith->st_private && op);
stonith          1554 lib/fencing/st_client.c     native = stonith->st_private;
stonith          1560 lib/fencing/st_client.c     if ((stonith->state == stonith_disconnected) || (native->token == NULL)) {
stonith          1568 lib/fencing/st_client.c     stonith->call_id++;
stonith          1569 lib/fencing/st_client.c     if (stonith->call_id < 1) {
stonith          1570 lib/fencing/st_client.c         stonith->call_id = 1;
stonith          1573 lib/fencing/st_client.c     op_msg = stonith_create_op(stonith->call_id, native->token, op, data, call_options);
stonith          1610 lib/fencing/st_client.c         crm_trace("Async call %d, returning", stonith->call_id);
stonith          1612 lib/fencing/st_client.c         return stonith->call_id;
stonith          1617 lib/fencing/st_client.c     if (reply_id == stonith->call_id) {
stonith          1641 lib/fencing/st_client.c         crm_err("Received bad reply: %d (wanted %d)", reply_id, stonith->call_id);
stonith          1651 lib/fencing/st_client.c         stonith->state = stonith_disconnected;
stonith          1686 lib/fencing/st_client.c stonith_api_free(stonith_t * stonith)
stonith          1690 lib/fencing/st_client.c     crm_trace("Destroying %p", stonith);
stonith          1692 lib/fencing/st_client.c     if (stonith->state != stonith_disconnected) {
stonith          1694 lib/fencing/st_client.c                   stonith);
stonith          1695 lib/fencing/st_client.c         stonith->cmds->remove_notification(stonith, NULL);
stonith          1696 lib/fencing/st_client.c         rc = stonith->cmds->disconnect(stonith);
stonith          1699 lib/fencing/st_client.c     if (stonith->state == stonith_disconnected) {
stonith          1700 lib/fencing/st_client.c         stonith_private_t *private = stonith->st_private;
stonith          1708 lib/fencing/st_client.c         free(stonith->st_private);
stonith          1709 lib/fencing/st_client.c         free(stonith->cmds);
stonith          1710 lib/fencing/st_client.c         free(stonith);
stonith          1720 lib/fencing/st_client.c stonith_api_delete(stonith_t * stonith)
stonith          1722 lib/fencing/st_client.c     crm_trace("Destroying %p", stonith);
stonith          1723 lib/fencing/st_client.c     if(stonith) {
stonith          1724 lib/fencing/st_client.c         stonith->cmds->free(stonith);
stonith           136 lib/pacemaker/pcmk_fence.c fence_callback(stonith_t * stonith, stonith_callback_data_t * data)
stonith            72 lib/pacemaker/pcmk_status.c pcmk__output_cluster_status(pcmk__output_t *out, stonith_t *stonith, cib_t *cib,
stonith            99 lib/pacemaker/pcmk_status.c         history_rc = pcmk__get_fencing_history(stonith, &stonith_history,
stonith           232 lib/pacemaker/pcmk_status.c     stonith_t *stonith = NULL;
stonith           265 lib/pacemaker/pcmk_status.c             stonith = fencing_connect();
stonith           279 lib/pacemaker/pcmk_status.c     rc = pcmk__output_cluster_status(out, stonith, cib, current_cib,
stonith           288 lib/pacemaker/pcmk_status.c     stonith_api_delete(stonith);