stonith_api 398 daemons/controld/controld_fencing.c static stonith_t *stonith_api = NULL; stonith_api 463 daemons/controld/controld_fencing.c if (stonith_api) { stonith_api 467 daemons/controld/controld_fencing.c if (stonith_api->state != stonith_disconnected) { stonith_api 468 daemons/controld/controld_fencing.c stonith_api->cmds->disconnect(st); stonith_api 470 daemons/controld/controld_fencing.c stonith_api->cmds->remove_notification(stonith_api, NULL); stonith_api 669 daemons/controld/controld_fencing.c if (stonith_api == NULL) { stonith_api 670 daemons/controld/controld_fencing.c stonith_api = stonith_api_new(); stonith_api 671 daemons/controld/controld_fencing.c if (stonith_api == NULL) { stonith_api 677 daemons/controld/controld_fencing.c if (stonith_api->state != stonith_disconnected) { stonith_api 684 daemons/controld/controld_fencing.c rc = stonith_api_connect_retry(stonith_api, crm_system_name, 30); stonith_api 691 daemons/controld/controld_fencing.c rc = stonith_api->cmds->connect(stonith_api, crm_system_name, NULL); stonith_api 720 daemons/controld/controld_fencing.c stonith_api_operations_t *cmds = stonith_api->cmds; stonith_api 722 daemons/controld/controld_fencing.c cmds->register_notification(stonith_api, stonith_api 725 daemons/controld/controld_fencing.c cmds->register_notification(stonith_api, PCMK__VALUE_ST_NOTIFY_FENCE, stonith_api 727 daemons/controld/controld_fencing.c cmds->register_notification(stonith_api, stonith_api 740 daemons/controld/controld_fencing.c if (stonith_api) { stonith_api 744 daemons/controld/controld_fencing.c if (stonith_api->state != stonith_disconnected) { stonith_api 745 daemons/controld/controld_fencing.c stonith_api->cmds->disconnect(stonith_api); stonith_api 747 daemons/controld/controld_fencing.c stonith_api->cmds->remove_notification(stonith_api, NULL); stonith_api 750 daemons/controld/controld_fencing.c if (stonith_api) { stonith_api 751 daemons/controld/controld_fencing.c stonith_api->cmds->free(stonith_api); stonith_api 752 daemons/controld/controld_fencing.c stonith_api = NULL; stonith_api 768 daemons/controld/controld_fencing.c if (stonith_api && (stonith_api->state != stonith_disconnected)) { stonith_api 771 daemons/controld/controld_fencing.c te_cleanup_stonith_history_sync(stonith_api, FALSE); stonith_api 772 daemons/controld/controld_fencing.c stonith_api->cmds->history(stonith_api, stonith_api 945 daemons/controld/controld_fencing.c return stonith_api->cmds->fence_with_delay(stonith_api, options, target, stonith_api 1002 daemons/controld/controld_fencing.c stonith_api->cmds->register_callback(stonith_api, rc, stonith_api 1018 daemons/controld/controld_fencing.c || (stonith_api && (stonith_api->state != stonith_disconnected) && stonith_api 1019 daemons/controld/controld_fencing.c stonith__watchdog_fencing_enabled_for_node_api(stonith_api, stonith_api 1161 daemons/execd/execd_commands.c execd_stonith_start(stonith_t *stonith_api, const lrmd_rsc_t *rsc, stonith_api 1185 daemons/execd/execd_commands.c rc = stonith_api->cmds->register_device(stonith_api, st_opt_sync_call, stonith_api 1206 daemons/execd/execd_commands.c execd_stonith_stop(stonith_t *stonith_api, const lrmd_rsc_t *rsc) stonith_api 1211 daemons/execd/execd_commands.c return stonith_api->cmds->remove_device(stonith_api, st_opt_sync_call, stonith_api 1226 daemons/execd/execd_commands.c execd_stonith_monitor(stonith_t *stonith_api, lrmd_rsc_t *rsc, lrmd_cmd_t *cmd) stonith_api 1228 daemons/execd/execd_commands.c int rc = stonith_api->cmds->monitor(stonith_api, 0, cmd->rsc_id, stonith_api 1231 daemons/execd/execd_commands.c rc = stonith_api->cmds->register_callback(stonith_api, rc, 0, 0, cmd, stonith_api 1249 daemons/execd/execd_commands.c stonith_t *stonith_api = get_stonith_connection(); stonith_api 1259 daemons/execd/execd_commands.c } else if (stonith_api == NULL) { stonith_api 1266 daemons/execd/execd_commands.c rc = execd_stonith_start(stonith_api, rsc, cmd); stonith_api 1272 daemons/execd/execd_commands.c rc = execd_stonith_stop(stonith_api, rsc); stonith_api 1286 daemons/execd/execd_commands.c rc = execd_stonith_monitor(stonith_api, rsc, cmd); stonith_api 41 daemons/execd/pacemaker-execd.c static stonith_t *stonith_api = NULL; stonith_api 65 daemons/execd/pacemaker-execd.c stonith_api->state = stonith_disconnected; stonith_api 72 daemons/execd/pacemaker-execd.c if (stonith_api && stonith_api->state == stonith_disconnected) { stonith_api 73 daemons/execd/pacemaker-execd.c stonith_api_delete(stonith_api); stonith_api 74 daemons/execd/pacemaker-execd.c stonith_api = NULL; stonith_api 77 daemons/execd/pacemaker-execd.c if (stonith_api == NULL) { stonith_api 80 daemons/execd/pacemaker-execd.c stonith_api = stonith_api_new(); stonith_api 81 daemons/execd/pacemaker-execd.c if (stonith_api == NULL) { stonith_api 85 daemons/execd/pacemaker-execd.c rc = stonith_api_connect_retry(stonith_api, crm_system_name, 10); stonith_api 89 daemons/execd/pacemaker-execd.c stonith_api_delete(stonith_api); stonith_api 90 daemons/execd/pacemaker-execd.c stonith_api = NULL; stonith_api 92 daemons/execd/pacemaker-execd.c stonith_api_operations_t *cmds = stonith_api->cmds; stonith_api 94 daemons/execd/pacemaker-execd.c cmds->register_notification(stonith_api, stonith_api 99 daemons/execd/pacemaker-execd.c return stonith_api; stonith_api 287 daemons/execd/pacemaker-execd.c stonith_api_delete(stonith_api); stonith_api 175 lib/fencing/st_client.c stonith_t *stonith_api = st?st:stonith_api_new(); stonith_api 178 lib/fencing/st_client.c if(stonith_api) { stonith_api 179 lib/fencing/st_client.c if (stonith_api->state == stonith_disconnected) { stonith_api 180 lib/fencing/st_client.c int rc = stonith_api->cmds->connect(stonith_api, "stonith-api", NULL); stonith_api 187 lib/fencing/st_client.c if (stonith_api->state != stonith_disconnected) { stonith_api 191 lib/fencing/st_client.c int rc = stonith_api->cmds->list(stonith_api, st_opt_sync_call, STONITH_WATCHDOG_ID, &list, 0); stonith_api 215 lib/fencing/st_client.c stonith_api->cmds->disconnect(stonith_api); stonith_api 220 lib/fencing/st_client.c stonith_api_delete(stonith_api); stonith_api 1998 lib/lrmd/lrmd_client.c stonith_t *stonith_api = stonith_api_new(); stonith_api 2000 lib/lrmd/lrmd_client.c if (stonith_api == NULL) { stonith_api 2005 lib/lrmd/lrmd_client.c rc = stonith_api->cmds->metadata(stonith_api, st_opt_sync_call, type, stonith_api 2010 lib/lrmd/lrmd_client.c stonith_api->cmds->free(stonith_api); stonith_api 2158 lib/lrmd/lrmd_client.c stonith_t *stonith_api = stonith_api_new(); stonith_api 2162 lib/lrmd/lrmd_client.c if (stonith_api == NULL) { stonith_api 2166 lib/lrmd/lrmd_client.c stonith_api->cmds->list_agents(stonith_api, st_opt_sync_call, NULL, stonith_api 2168 lib/lrmd/lrmd_client.c stonith_api->cmds->free(stonith_api);