stonith_api 356 daemons/controld/controld_fencing.c static stonith_t *stonith_api = NULL; stonith_api 419 daemons/controld/controld_fencing.c if (stonith_api) { stonith_api 423 daemons/controld/controld_fencing.c if (stonith_api->state != stonith_disconnected) { stonith_api 424 daemons/controld/controld_fencing.c stonith_api->cmds->disconnect(st); stonith_api 426 daemons/controld/controld_fencing.c stonith_api->cmds->remove_notification(stonith_api, T_STONITH_NOTIFY_DISCONNECT); stonith_api 427 daemons/controld/controld_fencing.c stonith_api->cmds->remove_notification(stonith_api, T_STONITH_NOTIFY_FENCE); stonith_api 428 daemons/controld/controld_fencing.c stonith_api->cmds->remove_notification(stonith_api, T_STONITH_NOTIFY_HISTORY_SYNCED); stonith_api 592 daemons/controld/controld_fencing.c if (stonith_api == NULL) { stonith_api 593 daemons/controld/controld_fencing.c stonith_api = stonith_api_new(); stonith_api 594 daemons/controld/controld_fencing.c if (stonith_api == NULL) { stonith_api 600 daemons/controld/controld_fencing.c if (stonith_api->state != stonith_disconnected) { stonith_api 607 daemons/controld/controld_fencing.c rc = stonith_api_connect_retry(stonith_api, crm_system_name, 30); stonith_api 614 daemons/controld/controld_fencing.c rc = stonith_api->cmds->connect(stonith_api, crm_system_name, NULL); stonith_api 629 daemons/controld/controld_fencing.c stonith_api->cmds->register_notification(stonith_api, stonith_api 632 daemons/controld/controld_fencing.c stonith_api->cmds->register_notification(stonith_api, stonith_api 635 daemons/controld/controld_fencing.c stonith_api->cmds->register_notification(stonith_api, stonith_api 664 daemons/controld/controld_fencing.c if (stonith_api) { stonith_api 668 daemons/controld/controld_fencing.c if (stonith_api->state != stonith_disconnected) { stonith_api 669 daemons/controld/controld_fencing.c stonith_api->cmds->disconnect(stonith_api); stonith_api 671 daemons/controld/controld_fencing.c stonith_api->cmds->remove_notification(stonith_api, T_STONITH_NOTIFY_DISCONNECT); stonith_api 672 daemons/controld/controld_fencing.c stonith_api->cmds->remove_notification(stonith_api, T_STONITH_NOTIFY_FENCE); stonith_api 673 daemons/controld/controld_fencing.c stonith_api->cmds->remove_notification(stonith_api, T_STONITH_NOTIFY_HISTORY_SYNCED); stonith_api 676 daemons/controld/controld_fencing.c if (stonith_api) { stonith_api 677 daemons/controld/controld_fencing.c stonith_api->cmds->free(stonith_api); stonith_api 678 daemons/controld/controld_fencing.c stonith_api = NULL; stonith_api 694 daemons/controld/controld_fencing.c if (stonith_api && (stonith_api->state != stonith_disconnected)) { stonith_api 697 daemons/controld/controld_fencing.c te_cleanup_stonith_history_sync(stonith_api, FALSE); stonith_api 698 daemons/controld/controld_fencing.c stonith_api->cmds->history(stonith_api, stonith_api 821 daemons/controld/controld_fencing.c return stonith_api->cmds->fence_with_delay(stonith_api, options, target, stonith_api 866 daemons/controld/controld_fencing.c stonith_api->cmds->register_callback(stonith_api, rc, stonith_api 1234 daemons/execd/execd_commands.c execd_stonith_start(stonith_t *stonith_api, lrmd_rsc_t *rsc, lrmd_cmd_t *cmd) stonith_api 1257 daemons/execd/execd_commands.c rc = stonith_api->cmds->register_device(stonith_api, st_opt_sync_call, stonith_api 1278 daemons/execd/execd_commands.c execd_stonith_stop(stonith_t *stonith_api, const lrmd_rsc_t *rsc) stonith_api 1283 daemons/execd/execd_commands.c return stonith_api->cmds->remove_device(stonith_api, st_opt_sync_call, stonith_api 1298 daemons/execd/execd_commands.c execd_stonith_monitor(stonith_t *stonith_api, lrmd_rsc_t *rsc, lrmd_cmd_t *cmd) stonith_api 1300 daemons/execd/execd_commands.c int rc = stonith_api->cmds->monitor(stonith_api, 0, cmd->rsc_id, stonith_api 1303 daemons/execd/execd_commands.c rc = stonith_api->cmds->register_callback(stonith_api, rc, 0, 0, cmd, stonith_api 1321 daemons/execd/execd_commands.c stonith_t *stonith_api = get_stonith_connection(); stonith_api 1323 daemons/execd/execd_commands.c if (!stonith_api) { stonith_api 1327 daemons/execd/execd_commands.c rc = execd_stonith_start(stonith_api, rsc, cmd); stonith_api 1333 daemons/execd/execd_commands.c rc = execd_stonith_stop(stonith_api, rsc); stonith_api 1344 daemons/execd/execd_commands.c rc = execd_stonith_monitor(stonith_api, rsc, cmd); stonith_api 29 daemons/execd/pacemaker-execd.c static stonith_t *stonith_api = NULL; stonith_api 45 daemons/execd/pacemaker-execd.c stonith_api->state = stonith_disconnected; stonith_api 53 daemons/execd/pacemaker-execd.c if (stonith_api && stonith_api->state == stonith_disconnected) { stonith_api 54 daemons/execd/pacemaker-execd.c stonith_api_delete(stonith_api); stonith_api 55 daemons/execd/pacemaker-execd.c stonith_api = NULL; stonith_api 58 daemons/execd/pacemaker-execd.c if (stonith_api == NULL) { stonith_api 61 daemons/execd/pacemaker-execd.c stonith_api = stonith_api_new(); stonith_api 62 daemons/execd/pacemaker-execd.c if (stonith_api == NULL) { stonith_api 66 daemons/execd/pacemaker-execd.c rc = stonith_api_connect_retry(stonith_api, crm_system_name, 10); stonith_api 70 daemons/execd/pacemaker-execd.c stonith_api_delete(stonith_api); stonith_api 71 daemons/execd/pacemaker-execd.c stonith_api = NULL; stonith_api 73 daemons/execd/pacemaker-execd.c stonith_api->cmds->register_notification(stonith_api, stonith_api 78 daemons/execd/pacemaker-execd.c return stonith_api; stonith_api 265 daemons/execd/pacemaker-execd.c if (stonith_api) { stonith_api 266 daemons/execd/pacemaker-execd.c stonith_api->cmds->remove_notification(stonith_api, T_STONITH_NOTIFY_DISCONNECT); stonith_api 267 daemons/execd/pacemaker-execd.c stonith_api->cmds->disconnect(stonith_api); stonith_api 268 daemons/execd/pacemaker-execd.c stonith_api_delete(stonith_api); stonith_api 1910 lib/lrmd/lrmd_client.c stonith_t *stonith_api = stonith_api_new(); stonith_api 1912 lib/lrmd/lrmd_client.c if (stonith_api == NULL) { stonith_api 1917 lib/lrmd/lrmd_client.c rc = stonith_api->cmds->metadata(stonith_api, st_opt_sync_call, type, stonith_api 1922 lib/lrmd/lrmd_client.c stonith_api->cmds->free(stonith_api); stonith_api 2068 lib/lrmd/lrmd_client.c stonith_t *stonith_api = stonith_api_new(); stonith_api 2072 lib/lrmd/lrmd_client.c if (stonith_api == NULL) { stonith_api 2076 lib/lrmd/lrmd_client.c stonith_api->cmds->list_agents(stonith_api, st_opt_sync_call, NULL, stonith_api 2078 lib/lrmd/lrmd_client.c stonith_api->cmds->free(stonith_api);