st 19 daemons/controld/controld_fencing.c tengine_stonith_history_synced(stonith_t *st, stonith_event_t *st_event); st 407 daemons/controld/controld_fencing.c tengine_stonith_connection_destroy(stonith_t *st, stonith_event_t *e) st 409 daemons/controld/controld_fencing.c te_cleanup_stonith_history_sync(st, FALSE); st 424 daemons/controld/controld_fencing.c stonith_api->cmds->disconnect(st); st 438 daemons/controld/controld_fencing.c tengine_stonith_notify(stonith_t *st, stonith_event_t *st_event) st 889 daemons/controld/controld_fencing.c te_cleanup_stonith_history_sync(stonith_t *st, bool free_timers) st 901 daemons/controld/controld_fencing.c if (st) { st 902 daemons/controld/controld_fencing.c st->cmds->remove_notification(st, T_STONITH_NOTIFY_HISTORY_SYNCED); st 907 daemons/controld/controld_fencing.c tengine_stonith_history_synced(stonith_t *st, stonith_event_t *st_event) st 909 daemons/controld/controld_fencing.c te_cleanup_stonith_history_sync(st, FALSE); st 36 daemons/controld/controld_fencing.h void te_cleanup_stonith_history_sync(stonith_t *st, bool free_timers); st 43 daemons/execd/pacemaker-execd.c stonith_connection_destroy_cb(stonith_t * st, stonith_event_t * e) st 90 daemons/fenced/cts-fence-helper.c static stonith_t *st = NULL; st 106 daemons/fenced/cts-fence-helper.c if (!stonith_dispatch(st)) { st 116 daemons/fenced/cts-fence-helper.c st_callback(stonith_t * st, stonith_event_t * e) st 118 daemons/fenced/cts-fence-helper.c if (st->state == stonith_disconnected) { st 143 daemons/fenced/cts-fence-helper.c rc = st->cmds->connect(st, crm_system_name, &pollfd.fd); st 145 daemons/fenced/cts-fence-helper.c stonith_api_delete(st); st 148 daemons/fenced/cts-fence-helper.c st->cmds->register_notification(st, T_STONITH_NOTIFY_DISCONNECT, st_callback); st 149 daemons/fenced/cts-fence-helper.c st->cmds->register_notification(st, T_STONITH_NOTIFY_FENCE, st_callback); st 150 daemons/fenced/cts-fence-helper.c st->cmds->register_notification(st, STONITH_OP_DEVICE_ADD, st_callback); st 151 daemons/fenced/cts-fence-helper.c st->cmds->register_notification(st, STONITH_OP_DEVICE_DEL, st_callback); st 152 daemons/fenced/cts-fence-helper.c st->cmds->register_callback(st, 0, 120, st_opt_timeout_updates, NULL, "st_global_callback", st 192 daemons/fenced/cts-fence-helper.c single_test(st-> st 193 daemons/fenced/cts-fence-helper.c cmds->register_device(st, st_opts, "test-id1", "stonith-ng", "fence_dummy", params), st 196 daemons/fenced/cts-fence-helper.c single_test(st->cmds->fence(st, st_opts, "false_1_node2", "off", 3, 0), st 199 daemons/fenced/cts-fence-helper.c single_test(st->cmds->fence(st, st_opts, "false_1_node2", "reboot", 3, 0), st 202 daemons/fenced/cts-fence-helper.c single_test(st->cmds->remove_device(st, st_opts, "test-id1"), st 217 daemons/fenced/cts-fence-helper.c single_test(st-> st 218 daemons/fenced/cts-fence-helper.c cmds->register_device(st, st_opts, "test-id1", "stonith-ng", "fence_dummy", params), st 226 daemons/fenced/cts-fence-helper.c single_test(st-> st 227 daemons/fenced/cts-fence-helper.c cmds->register_device(st, st_opts, "test-id2", "stonith-ng", "fence_dummy", params), st 230 daemons/fenced/cts-fence-helper.c single_test(st->cmds->fence(st, st_opts, "false_1_node2", "off", 3, 0), st 234 daemons/fenced/cts-fence-helper.c single_test(st->cmds->fence(st, st_opts, "false_1_node2", "on", 3, 0), st 237 daemons/fenced/cts-fence-helper.c single_test(st->cmds->remove_device(st, st_opts, "test-id1"), st 240 daemons/fenced/cts-fence-helper.c single_test(st->cmds->remove_device(st, st_opts, "test-id2"), st 256 daemons/fenced/cts-fence-helper.c single_test(st-> st 257 daemons/fenced/cts-fence-helper.c cmds->register_device(st, st_opts, "test-id", "stonith-ng", "fence_dummy", params), st 262 daemons/fenced/cts-fence-helper.c single_test(st->cmds->list(st, st_opts, "test-id", NULL, 1), "list", 1, 0); st 264 daemons/fenced/cts-fence-helper.c single_test(st->cmds->monitor(st, st_opts, "test-id", 1), "Monitor", 1, 0); st 266 daemons/fenced/cts-fence-helper.c single_test(st->cmds->status(st, st_opts, "test-id", "false_1_node2", 1), st 269 daemons/fenced/cts-fence-helper.c single_test(st->cmds->status(st, st_opts, "test-id", "false_1_node1", 1), st 272 daemons/fenced/cts-fence-helper.c single_test(st->cmds->fence(st, st_opts, "unknown-host", "off", 1, 0), st 275 daemons/fenced/cts-fence-helper.c single_test(st->cmds->fence(st, st_opts, "false_1_node1", "off", 1, 0), st 279 daemons/fenced/cts-fence-helper.c single_test(st->cmds->fence(st, st_opts, "false_1_node1", "on", 1, 0), st 283 daemons/fenced/cts-fence-helper.c single_test(st->cmds->register_level(st, st_opts, "node1", 999, params), st 286 daemons/fenced/cts-fence-helper.c single_test(st->cmds->remove_device(st, st_opts, "test-id"), "Remove test-id", 1, 0); st 296 daemons/fenced/cts-fence-helper.c rc = st->cmds->connect(st, crm_system_name, &pollfd.fd); st 298 daemons/fenced/cts-fence-helper.c stonith_api_delete(st); st 301 daemons/fenced/cts-fence-helper.c st->cmds->register_notification(st, T_STONITH_NOTIFY_DISCONNECT, st_callback); st 302 daemons/fenced/cts-fence-helper.c st->cmds->register_notification(st, T_STONITH_NOTIFY_FENCE, st_callback); st 303 daemons/fenced/cts-fence-helper.c st->cmds->register_notification(st, STONITH_OP_DEVICE_ADD, st_callback); st 304 daemons/fenced/cts-fence-helper.c st->cmds->register_notification(st, STONITH_OP_DEVICE_DEL, st_callback); st 305 daemons/fenced/cts-fence-helper.c st->cmds->register_callback(st, 0, 120, st_opt_timeout_updates, NULL, "st_global_callback", st 322 daemons/fenced/cts-fence-helper.c rc = st->cmds->connect(st, crm_system_name, &pollfd.fd); st 324 daemons/fenced/cts-fence-helper.c stonith_api_delete(st); st 331 daemons/fenced/cts-fence-helper.c rc = st->cmds->register_device(st, st_opts, "test-id", "stonith-ng", "fence_xvm", params); st 334 daemons/fenced/cts-fence-helper.c rc = st->cmds->list(st, st_opts, "test-id", &tmp, 10); st 337 daemons/fenced/cts-fence-helper.c rc = st->cmds->monitor(st, st_opts, "test-id", 10); st 340 daemons/fenced/cts-fence-helper.c rc = st->cmds->status(st, st_opts, "test-id", "false_1_node2", 10); st 343 daemons/fenced/cts-fence-helper.c rc = st->cmds->status(st, st_opts, "test-id", "false_1_node1", 10); st 346 daemons/fenced/cts-fence-helper.c rc = st->cmds->fence(st, st_opts, "unknown-host", "off", 60, 0); st 349 daemons/fenced/cts-fence-helper.c rc = st->cmds->status(st, st_opts, "test-id", "false_1_node1", 10); st 352 daemons/fenced/cts-fence-helper.c rc = st->cmds->fence(st, st_opts, "false_1_node1", "off", 60, 0); st 355 daemons/fenced/cts-fence-helper.c rc = st->cmds->status(st, st_opts, "test-id", "false_1_node1", 10); st 358 daemons/fenced/cts-fence-helper.c rc = st->cmds->fence(st, st_opts, "false_1_node1", "on", 10, 0); st 361 daemons/fenced/cts-fence-helper.c rc = st->cmds->status(st, st_opts, "test-id", "false_1_node1", 10); st 364 daemons/fenced/cts-fence-helper.c rc = st->cmds->fence(st, st_opts, "some-host", "off", 10, 0); st 367 daemons/fenced/cts-fence-helper.c rc = st->cmds->status(st, st_opts, "test-id", "some-host", 10); st 370 daemons/fenced/cts-fence-helper.c rc = st->cmds->fence(st, st_opts, "false_1_node1", "on", 10, 0); st 373 daemons/fenced/cts-fence-helper.c rc = st->cmds->remove_device(st, st_opts, "test-id"); st 392 daemons/fenced/cts-fence-helper.c return st->cmds->register_callback(st, st 412 daemons/fenced/cts-fence-helper.c rc = st->cmds->fence(st, 0, "true_1_node1", "off", MAINLOOP_DEFAULT_TIMEOUT, 0); st 445 daemons/fenced/cts-fence-helper.c rc = st->cmds->fence(st, 0, "custom_timeout_node1", "off", MAINLOOP_DEFAULT_TIMEOUT, 0); st 468 daemons/fenced/cts-fence-helper.c rc = st->cmds->fence(st, 0, "false_1_node2", "off", MAINLOOP_DEFAULT_TIMEOUT, 0); st 491 daemons/fenced/cts-fence-helper.c rc = st->cmds->monitor(st, 0, "false_1", MAINLOOP_DEFAULT_TIMEOUT); st 510 daemons/fenced/cts-fence-helper.c st->cmds->register_device(st, st_opts, "false_1", "stonith-ng", "fence_dummy", params); st 517 daemons/fenced/cts-fence-helper.c st->cmds->register_device(st, st_opts, "true_1", "stonith-ng", "fence_dummy", params); st 527 daemons/fenced/cts-fence-helper.c st->cmds->register_device(st, st_opts, "false_custom_timeout", "stonith-ng", "fence_dummy", st 537 daemons/fenced/cts-fence-helper.c int rc = stonith_api_connect_retry(st, crm_system_name, 10); st 580 daemons/fenced/cts-fence-helper.c if (st) { st 581 daemons/fenced/cts-fence-helper.c rc = st->cmds->disconnect(st); st 585 daemons/fenced/cts-fence-helper.c stonith_api_delete(st); st 659 daemons/fenced/cts-fence-helper.c st = stonith_api_new(); st 660 daemons/fenced/cts-fence-helper.c if (st == NULL) { st 715 daemons/fenced/fenced_commands.c stonith_t *st = stonith_api_new(); st 718 daemons/fenced/fenced_commands.c if (st == NULL) { st 723 daemons/fenced/fenced_commands.c rc = st->cmds->metadata(st, st_opt_sync_call, agent, NULL, &buffer, 10); st 724 daemons/fenced/fenced_commands.c stonith_api_delete(st); st 209 include/crm/common/ipc_internal.h #define pcmk__ipc_send_ack(c, req, flags, tag, st) \ st 210 include/crm/common/ipc_internal.h pcmk__ipc_send_ack_as(__func__, __LINE__, (c), (req), (flags), (tag), (st)) st 174 include/crm/fencing/internal.h int stonith__lha_validate(stonith_t *st, int call_options, const char *target, st 183 include/crm/fencing/internal.h int stonith__rhcs_validate(stonith_t *st, int call_options, const char *target, st 143 include/crm/stonith-ng.h int (*free) (stonith_t *st); st 151 include/crm/stonith-ng.h int (*connect) (stonith_t *st, const char *name, int *stonith_fd); st 159 include/crm/stonith-ng.h int (*disconnect)(stonith_t *st); st 170 include/crm/stonith-ng.h stonith_t *st, int options, const char *name); st 181 include/crm/stonith-ng.h stonith_t *st, int options, const char *id, st 191 include/crm/stonith-ng.h stonith_t *st, int options, const char *node, int level); st 201 include/crm/stonith-ng.h stonith_t *st, int options, const char *node, int level, stonith_key_value_t *device_list); st 211 include/crm/stonith-ng.h int (*metadata)(stonith_t *st, int options, st 233 include/crm/stonith-ng.h int (*list)(stonith_t *st, int options, const char *id, char **list_output, int timeout); st 241 include/crm/stonith-ng.h int (*monitor)(stonith_t *st, int options, const char *id, int timeout); st 249 include/crm/stonith-ng.h int (*status)(stonith_t *st, int options, const char *id, const char *port, int timeout); st 260 include/crm/stonith-ng.h int (*query)(stonith_t *st, int options, const char *node, st 278 include/crm/stonith-ng.h int (*fence)(stonith_t *st, int options, const char *node, const char *action, st 287 include/crm/stonith-ng.h int (*confirm)(stonith_t *st, int options, const char *node); st 295 include/crm/stonith-ng.h int (*history)(stonith_t *st, int options, const char *node, stonith_history_t **output, int timeout); st 298 include/crm/stonith-ng.h stonith_t *st, const char *event, st 299 include/crm/stonith-ng.h void (*notify)(stonith_t *st, stonith_event_t *e)); st 300 include/crm/stonith-ng.h int (*remove_notification)(stonith_t *st, const char *event); st 319 include/crm/stonith-ng.h int (*register_callback)(stonith_t *st, st 325 include/crm/stonith-ng.h void (*callback)(stonith_t *st, stonith_callback_data_t *data)); st 330 include/crm/stonith-ng.h int (*remove_callback)(stonith_t *st, int call_id, bool all_callbacks); st 347 include/crm/stonith-ng.h int (*remove_level_full)(stonith_t *st, int options, st 367 include/crm/stonith-ng.h int (*register_level_full)(stonith_t *st, int options, st 390 include/crm/stonith-ng.h int (*validate)(stonith_t *st, int call_options, const char *rsc_id, st 412 include/crm/stonith-ng.h int (*fence_with_delay)(stonith_t *st, int options, const char *node, const char *action, st 431 include/crm/stonith-ng.h void stonith_api_delete(stonith_t * st); st 433 include/crm/stonith-ng.h void stonith_dump_pending_callbacks(stonith_t * st); st 435 include/crm/stonith-ng.h bool stonith_dispatch(stonith_t * st); st 444 include/crm/stonith-ng.h int stonith_api_connect_retry(stonith_t *st, const char *name, st 104 include/pacemaker.h int pcmk_fence_action(stonith_t *st, const char *target, const char *action, st 125 include/pacemaker.h int pcmk_fence_history(xmlNodePtr *xml, stonith_t *st, char *target, st 141 include/pacemaker.h int pcmk_fence_installed(xmlNodePtr *xml, stonith_t *st, unsigned int timeout); st 170 include/pacemaker.h int pcmk_fence_list_targets(xmlNodePtr *xml, stonith_t *st, st 186 include/pacemaker.h int pcmk_fence_metadata(xmlNodePtr *xml, stonith_t *st, char *agent, st 203 include/pacemaker.h int pcmk_fence_registered(xmlNodePtr *xml, stonith_t *st, char *target, st 221 include/pacemaker.h int pcmk_fence_register_level(stonith_t *st, char *target, int fence_level, st 238 include/pacemaker.h int pcmk_fence_unregister_level(stonith_t *st, char *target, int fence_level); st 255 include/pacemaker.h int pcmk_fence_validate(xmlNodePtr *xml, stonith_t *st, const char *agent, st 34 include/pcmki/pcmki_fence.h int pcmk__fence_action(stonith_t *st, const char *target, const char *action, st 58 include/pcmki/pcmki_fence.h int pcmk__fence_history(pcmk__output_t *out, stonith_t *st, char *target, st 78 include/pcmki/pcmki_fence.h int pcmk__fence_installed(pcmk__output_t *out, stonith_t *st, unsigned int timeout); st 115 include/pcmki/pcmki_fence.h int pcmk__fence_list_targets(pcmk__output_t *out, stonith_t *st, st 135 include/pcmki/pcmki_fence.h int pcmk__fence_metadata(pcmk__output_t *out, stonith_t *st, char *agent, st 156 include/pcmki/pcmki_fence.h int pcmk__fence_registered(pcmk__output_t *out, stonith_t *st, char *target, st 177 include/pcmki/pcmki_fence.h int pcmk__fence_register_level(stonith_t *st, char *target, int fence_level, st 197 include/pcmki/pcmki_fence.h int pcmk__fence_unregister_level(stonith_t *st, char *target, int fence_level); st 218 include/pcmki/pcmki_fence.h int pcmk__fence_validate(pcmk__output_t *out, stonith_t *st, const char *agent, st 201 lib/common/logging.c struct stat st; st 205 lib/common/logging.c if (fstat(logfd, &st) < 0) { st 218 lib/common/logging.c if ((st.st_gid == pcmk_gid) st 219 lib/common/logging.c && ((st.st_mode & S_IRWXG) == (S_IRGRP|S_IWGRP))) { st 414 lib/common/options.c struct stat st; st 420 lib/common/options.c if (stat(value, &st) != 0) { st 425 lib/common/options.c if (S_ISREG(st.st_mode) == 0) { st 430 lib/common/options.c if ((st.st_mode & (S_IXUSR | S_IXGRP)) == 0) { st 73 lib/fencing/st_client.c void (*op_callback) (stonith_t * st, stonith_callback_data_t * data); st 81 lib/fencing/st_client.c void (*notify) (stonith_t * st, stonith_event_t * e); st 87 lib/fencing/st_client.c void (*callback) (stonith_t * st, stonith_callback_data_t * data); st 111 lib/fencing/st_client.c bool stonith_dispatch(stonith_t * st); st 310 lib/fencing/st_client.c stonith_api_register_device(stonith_t * st, int call_options, st 320 lib/fencing/st_client.c rc = stonith_send_command(st, STONITH_OP_DEVICE_ADD, data, NULL, call_options, 0); st 327 lib/fencing/st_client.c stonith_api_remove_device(stonith_t * st, int call_options, const char *name) st 335 lib/fencing/st_client.c rc = stonith_send_command(st, STONITH_OP_DEVICE_DEL, data, NULL, call_options, 0); st 342 lib/fencing/st_client.c stonith_api_remove_level_full(stonith_t *st, int options, st 366 lib/fencing/st_client.c rc = stonith_send_command(st, STONITH_OP_LEVEL_DEL, data, NULL, options, 0); st 373 lib/fencing/st_client.c stonith_api_remove_level(stonith_t * st, int options, const char *node, int level) st 375 lib/fencing/st_client.c return stonith_api_remove_level_full(st, options, node, st 436 lib/fencing/st_client.c stonith_api_register_level_full(stonith_t * st, int options, const char *node, st 446 lib/fencing/st_client.c rc = stonith_send_command(st, STONITH_OP_LEVEL_ADD, data, NULL, options, 0); st 453 lib/fencing/st_client.c stonith_api_register_level(stonith_t * st, int options, const char *node, int level, st 456 lib/fencing/st_client.c return stonith_api_register_level_full(st, options, node, NULL, NULL, NULL, st 1286 lib/fencing/st_client.c invoke_callback(stonith_t * st, int call_id, int rc, void *userdata, st 1287 lib/fencing/st_client.c void (*callback) (stonith_t * st, stonith_callback_data_t * data)) st 1295 lib/fencing/st_client.c callback(st, &data); st 1394 lib/fencing/st_client.c update_callback_timeout(int call_id, int timeout, stonith_t * st) st 1397 lib/fencing/st_client.c stonith_private_t *private = st->st_private; st 1405 lib/fencing/st_client.c set_callback_timeout(callback, st, call_id, timeout); st 1414 lib/fencing/st_client.c stonith_t *st = userdata; st 1417 lib/fencing/st_client.c CRM_ASSERT(st != NULL); st 1418 lib/fencing/st_client.c private = st->st_private; st 1420 lib/fencing/st_client.c blob.stonith = st; st 1432 lib/fencing/st_client.c stonith_perform_callback(st, blob.xml, 0, 0); st 1443 lib/fencing/st_client.c update_callback_timeout(call_id, timeout, st); st 1652 lib/fencing/st_client.c void (*callback) (stonith_t * st, stonith_callback_data_t * data)) st 1953 lib/fencing/st_client.c stonith_dispatch(stonith_t * st) st 1958 lib/fencing/st_client.c CRM_ASSERT(st != NULL); st 1959 lib/fencing/st_client.c private = st->st_private; st 1966 lib/fencing/st_client.c stonith_dispatch_internal(msg, strlen(msg), st); st 2020 lib/fencing/st_client.c stonith_api_validate(stonith_t *st, int call_options, const char *rsc_id, st 2071 lib/fencing/st_client.c rc = stonith__rhcs_validate(st, call_options, target, agent, st 2078 lib/fencing/st_client.c rc = stonith__lha_validate(st, call_options, target, agent, st 2175 lib/fencing/st_client.c stonith_api_connect_retry(stonith_t *st, const char *name, int max_attempts) st 2180 lib/fencing/st_client.c rc = st->cmds->connect(st, name, NULL); st 2247 lib/fencing/st_client.c stonith_t *st = stonith_api_new(); st 2251 lib/fencing/st_client.c if (st == NULL) { st 2257 lib/fencing/st_client.c rc = st->cmds->connect(st, "stonith-api", NULL); st 2270 lib/fencing/st_client.c rc = st->cmds->fence(st, opts, name, action, timeout, 0); st 2281 lib/fencing/st_client.c stonith_api_delete(st); st 2290 lib/fencing/st_client.c stonith_t *st = stonith_api_new(); st 2293 lib/fencing/st_client.c if (st == NULL) { st 2299 lib/fencing/st_client.c rc = st->cmds->connect(st, "stonith-api", NULL); st 2313 lib/fencing/st_client.c rc = st->cmds->history(st, opts, name, &history, 120); st 2341 lib/fencing/st_client.c stonith_api_delete(st); st 2352 lib/fencing/st_client.c stonith_t *st = NULL; st 2361 lib/fencing/st_client.c st = stonith_api_new(); st 2362 lib/fencing/st_client.c if (st == NULL) { st 2366 lib/fencing/st_client.c st->cmds->list_agents(st, st_opt_sync_call, NULL, &devices, timeout == 0 ? 120 : timeout); st 2376 lib/fencing/st_client.c stonith_api_delete(st); st 276 lib/fencing/st_lha.c stonith__lha_validate(stonith_t *st, int call_options, const char *target, st 244 lib/fencing/st_rhcs.c stonith__rhcs_validate(stonith_t *st, int call_options, const char *target, st 28 lib/pacemaker/pcmk_fence.c stonith_t *st; st 39 lib/pacemaker/pcmk_fence.c handle_level(stonith_t *st, char *target, int fence_level, st 65 lib/pacemaker/pcmk_fence.c rc = st->cmds->register_level_full(st, st_opts, node, pattern, st 69 lib/pacemaker/pcmk_fence.c rc = st->cmds->remove_level_full(st, st_opts, node, pattern, st 77 lib/pacemaker/pcmk_fence.c notify_callback(stonith_t * st, stonith_event_t * e) st 102 lib/pacemaker/pcmk_fence.c stonith_t *st = async_fence_data.st; st 104 lib/pacemaker/pcmk_fence.c int rc = stonith_api_connect_retry(st, async_fence_data.name, 10); st 112 lib/pacemaker/pcmk_fence.c st->cmds->register_notification(st, T_STONITH_NOTIFY_FENCE, notify_callback); st 114 lib/pacemaker/pcmk_fence.c call_id = st->cmds->fence_with_delay(st, st 127 lib/pacemaker/pcmk_fence.c st->cmds->register_callback(st, st 136 lib/pacemaker/pcmk_fence.c pcmk__fence_action(stonith_t *st, const char *target, const char *action, st 142 lib/pacemaker/pcmk_fence.c async_fence_data.st = st; st 164 lib/pacemaker/pcmk_fence.c pcmk_fence_action(stonith_t *st, const char *target, const char *action, st 168 lib/pacemaker/pcmk_fence.c return pcmk__fence_action(st, target, action, name, timeout, tolerance, delay); st 173 lib/pacemaker/pcmk_fence.c pcmk__fence_history(pcmk__output_t *out, stonith_t *st, char *target, st 195 lib/pacemaker/pcmk_fence.c rc = st->cmds->history(st, opts, st 238 lib/pacemaker/pcmk_fence.c pcmk_fence_history(xmlNodePtr *xml, stonith_t *st, char *target, unsigned int timeout, st 252 lib/pacemaker/pcmk_fence.c rc = pcmk__fence_history(out, st, target, timeout, verbose, broadcast, cleanup); st 259 lib/pacemaker/pcmk_fence.c pcmk__fence_installed(pcmk__output_t *out, stonith_t *st, unsigned int timeout) { st 263 lib/pacemaker/pcmk_fence.c rc = st->cmds->list_agents(st, st_opt_sync_call, NULL, &devices, timeout/1000); st 281 lib/pacemaker/pcmk_fence.c pcmk_fence_installed(xmlNodePtr *xml, stonith_t *st, unsigned int timeout) { st 292 lib/pacemaker/pcmk_fence.c rc = pcmk__fence_installed(out, st, timeout); st 335 lib/pacemaker/pcmk_fence.c pcmk__fence_list_targets(pcmk__output_t *out, stonith_t *st, st 341 lib/pacemaker/pcmk_fence.c rc = st->cmds->list(st, st_opts, device_id, &lists, timeout/1000); st 361 lib/pacemaker/pcmk_fence.c pcmk_fence_list_targets(xmlNodePtr *xml, stonith_t *st, const char *device_id, st 373 lib/pacemaker/pcmk_fence.c rc = pcmk__fence_list_targets(out, st, device_id, timeout); st 380 lib/pacemaker/pcmk_fence.c pcmk__fence_metadata(pcmk__output_t *out, stonith_t *st, char *agent, st 383 lib/pacemaker/pcmk_fence.c int rc = st->cmds->metadata(st, st_opt_sync_call, agent, NULL, &buffer, st 397 lib/pacemaker/pcmk_fence.c pcmk_fence_metadata(xmlNodePtr *xml, stonith_t *st, char *agent, st 409 lib/pacemaker/pcmk_fence.c rc = pcmk__fence_metadata(out, st, agent, timeout); st 416 lib/pacemaker/pcmk_fence.c pcmk__fence_registered(pcmk__output_t *out, stonith_t *st, char *target, st 421 lib/pacemaker/pcmk_fence.c rc = st->cmds->query(st, st_opts, target, &devices, timeout/1000); st 443 lib/pacemaker/pcmk_fence.c pcmk_fence_registered(xmlNodePtr *xml, stonith_t *st, char *target, st 455 lib/pacemaker/pcmk_fence.c rc = pcmk__fence_registered(out, st, target, timeout); st 462 lib/pacemaker/pcmk_fence.c pcmk__fence_register_level(stonith_t *st, char *target, int fence_level, st 464 lib/pacemaker/pcmk_fence.c return handle_level(st, target, fence_level, devices, true); st 469 lib/pacemaker/pcmk_fence.c pcmk_fence_register_level(stonith_t *st, char *target, int fence_level, st 471 lib/pacemaker/pcmk_fence.c return pcmk__fence_register_level(st, target, fence_level, devices); st 476 lib/pacemaker/pcmk_fence.c pcmk__fence_unregister_level(stonith_t *st, char *target, int fence_level) { st 477 lib/pacemaker/pcmk_fence.c return handle_level(st, target, fence_level, NULL, false); st 482 lib/pacemaker/pcmk_fence.c pcmk_fence_unregister_level(stonith_t *st, char *target, int fence_level) { st 483 lib/pacemaker/pcmk_fence.c return pcmk__fence_unregister_level(st, target, fence_level); st 488 lib/pacemaker/pcmk_fence.c pcmk__fence_validate(pcmk__output_t *out, stonith_t *st, const char *agent, st 495 lib/pacemaker/pcmk_fence.c rc = st->cmds->validate(st, st_opt_sync_call, id, NULL, agent, params, st 503 lib/pacemaker/pcmk_fence.c pcmk_fence_validate(xmlNodePtr *xml, stonith_t *st, const char *agent, st 516 lib/pacemaker/pcmk_fence.c rc = pcmk__fence_validate(out, st, agent, id, params, timeout); st 244 lib/services/services.c struct stat st; st 254 lib/services/services.c if (stat(buf, &st) == 0) { st 886 lib/services/services_linux.c struct stat st; st 890 lib/services/services_linux.c if(stat(op->opaque->exec, &st) != 0) { st 1223 lib/services/services_linux.c struct stat st; st 1235 lib/services/services_linux.c if (stat(buf, &st) == 0) { st 261 lib/services/services_lsb.c struct stat st; st 264 lib/services/services_lsb.c rc = (stat(path, &st) == 0); st 50 lib/services/services_nagios.c struct stat st; st 54 lib/services/services_nagios.c if (stat(metadata, &st) == 0) { st 68 lib/services/services_nagios.c struct stat st; st 75 lib/services/services_nagios.c if (stat(buf, &st) == 0) { st 74 tools/crm_mon.c static stonith_t *st = NULL; st 138 tools/crm_mon.c static void mon_st_callback_event(stonith_t * st, stonith_event_t * e); st 139 tools/crm_mon.c static void mon_st_callback_display(stonith_t * st, stonith_event_t * e); st 767 tools/crm_mon.c if (st) { st 823 tools/crm_mon.c if (pcmk_is_set(options.mon_ops, mon_op_fence_connect) && (st == NULL)) { st 824 tools/crm_mon.c st = stonith_api_new(); st 828 tools/crm_mon.c st == NULL || st->state != stonith_disconnected) { st 832 tools/crm_mon.c rc = st->cmds->connect(st, crm_system_name, NULL); st 836 tools/crm_mon.c st->cmds->register_notification(st, T_STONITH_NOTIFY_DISCONNECT, st 838 tools/crm_mon.c st->cmds->register_notification(st, T_STONITH_NOTIFY_FENCE, mon_st_callback_event); st 840 tools/crm_mon.c st->cmds->register_notification(st, T_STONITH_NOTIFY_DISCONNECT, st 842 tools/crm_mon.c st->cmds->register_notification(st, T_STONITH_NOTIFY_HISTORY, mon_st_callback_display); st 2156 tools/crm_mon.c if (st != NULL) { st 2157 tools/crm_mon.c rc = st->cmds->history(st, st_opt_sync_call, NULL, stonith_history, 120); st 2295 tools/crm_mon.c mon_st_callback_event(stonith_t * st, stonith_event_t * e) st 2297 tools/crm_mon.c if (st->state == stonith_disconnected) { st 2361 tools/crm_mon.c mon_st_callback_display(stonith_t * st, stonith_event_t * e) st 2363 tools/crm_mon.c if (st->state == stonith_disconnected) { st 2387 tools/crm_mon.c if (st == NULL) { st 2391 tools/crm_mon.c if (st->state != stonith_disconnected) { st 2392 tools/crm_mon.c st->cmds->remove_notification(st, T_STONITH_NOTIFY_DISCONNECT); st 2393 tools/crm_mon.c st->cmds->remove_notification(st, T_STONITH_NOTIFY_FENCE); st 2394 tools/crm_mon.c st->cmds->remove_notification(st, T_STONITH_NOTIFY_HISTORY); st 2395 tools/crm_mon.c st->cmds->disconnect(st); st 2398 tools/crm_mon.c stonith_api_delete(st); st 2399 tools/crm_mon.c st = NULL; st 344 tools/stonith_admin.c stonith_t *st = NULL; st 495 tools/stonith_admin.c st = stonith_api_new(); st 496 tools/stonith_admin.c if (st == NULL) { st 499 tools/stonith_admin.c rc = st->cmds->connect(st, name, NULL); st 509 tools/stonith_admin.c rc = pcmk__fence_installed(out, st, options.timeout*1000); st 517 tools/stonith_admin.c rc = pcmk__fence_registered(out, st, target, options.timeout*1000); st 525 tools/stonith_admin.c rc = st->cmds->monitor(st, st_opts, device, options.timeout); st 527 tools/stonith_admin.c rc = st->cmds->list(st, st_opts, device, NULL, options.timeout); st 533 tools/stonith_admin.c rc = pcmk__fence_list_targets(out, st, device, options.timeout*1000); st 541 tools/stonith_admin.c rc = st->cmds->register_device(st, st_opts, device, NULL, options.agent, st 547 tools/stonith_admin.c rc = st->cmds->remove_device(st, st_opts, device); st 552 tools/stonith_admin.c rc = pcmk__fence_unregister_level(st, target, options.fence_level); st 556 tools/stonith_admin.c rc = pcmk__fence_register_level(st, target, options.fence_level, options.devices); st 560 tools/stonith_admin.c rc = pcmk__fence_metadata(out, st, options.agent, options.timeout*1000); st 568 tools/stonith_admin.c rc = st->cmds->confirm(st, st_opts, target); st 573 tools/stonith_admin.c rc = pcmk__fence_action(st, target, "reboot", name, options.timeout*1000, st 578 tools/stonith_admin.c rc = pcmk__fence_action(st, target, "off", name, options.timeout*1000, st 583 tools/stonith_admin.c rc = pcmk__fence_action(st, target, "on", name, options.timeout*1000, st 592 tools/stonith_admin.c rc = pcmk__fence_history(out, st, target, options.timeout*1000, args->verbosity, st 598 tools/stonith_admin.c rc = pcmk__fence_validate(out, st, options.agent, device, options.params, st 619 tools/stonith_admin.c if (st != NULL) { st 620 tools/stonith_admin.c st->cmds->disconnect(st); st 621 tools/stonith_admin.c stonith_api_delete(st);