svc_action 48 lib/fencing/st_client.c svc_action_t *svc_action; svc_action 591 lib/fencing/st_client.c if (action->svc_action) { svc_action 592 lib/fencing/st_client.c services_action_free(action->svc_action); svc_action 699 lib/fencing/st_client.c svc_action_to_errno(svc_action_t *svc_action) { svc_action 702 lib/fencing/st_client.c if (svc_action->rc > 0) { svc_action 706 lib/fencing/st_client.c if (svc_action->rc == PCMK_OCF_TIMEOUT) { svc_action 709 lib/fencing/st_client.c } else if (svc_action->stderr_data == NULL) { svc_action 712 lib/fencing/st_client.c } else if (strstr(svc_action->stderr_data, "imed out")) { svc_action 716 lib/fencing/st_client.c } else if (strstr(svc_action->stderr_data, "Unrecognised action")) { svc_action 727 lib/fencing/st_client.c stonith_action_async_done(svc_action_t *svc_action) svc_action 729 lib/fencing/st_client.c stonith_action_t *action = (stonith_action_t *) svc_action->cb_data; svc_action 731 lib/fencing/st_client.c action->rc = svc_action_to_errno(svc_action); svc_action 732 lib/fencing/st_client.c action->output = svc_action->stdout_data; svc_action 733 lib/fencing/st_client.c svc_action->stdout_data = NULL; svc_action 734 lib/fencing/st_client.c action->error = svc_action->stderr_data; svc_action 735 lib/fencing/st_client.c svc_action->stderr_data = NULL; svc_action 737 lib/fencing/st_client.c svc_action->params = NULL; svc_action 740 lib/fencing/st_client.c action->pid, action->action, svc_action->rc); svc_action 755 lib/fencing/st_client.c action->svc_action = NULL; // don't remove our caller svc_action 760 lib/fencing/st_client.c stonith_action_async_forked(svc_action_t *svc_action) svc_action 762 lib/fencing/st_client.c stonith_action_t *action = (stonith_action_t *) svc_action->cb_data; svc_action 764 lib/fencing/st_client.c action->pid = svc_action->pid; svc_action 765 lib/fencing/st_client.c action->svc_action = svc_action; svc_action 768 lib/fencing/st_client.c (action->fork_cb) (svc_action->pid, action->userdata); svc_action 780 lib/fencing/st_client.c svc_action_t *svc_action = NULL; svc_action 800 lib/fencing/st_client.c svc_action = services_action_create_generic(buffer, NULL); svc_action 802 lib/fencing/st_client.c svc_action->timeout = 1000 * action->remaining_timeout; svc_action 803 lib/fencing/st_client.c svc_action->standard = strdup(PCMK_RESOURCE_CLASS_STONITH); svc_action 804 lib/fencing/st_client.c svc_action->id = crm_strdup_printf("%s_%s_%d", basename(action->agent), svc_action 806 lib/fencing/st_client.c svc_action->agent = strdup(action->agent); svc_action 807 lib/fencing/st_client.c svc_action->sequence = stonith_sequence++; svc_action 808 lib/fencing/st_client.c svc_action->params = action->args; svc_action 809 lib/fencing/st_client.c svc_action->cb_data = (void *) action; svc_action 810 lib/fencing/st_client.c svc_action->flags = pcmk__set_flags_as(__func__, __LINE__, svc_action 812 lib/fencing/st_client.c svc_action->id, svc_action->flags, svc_action 827 lib/fencing/st_client.c if(services_action_async_fork_notify(svc_action, svc_action 830 lib/fencing/st_client.c services_action_free(svc_action); svc_action 831 lib/fencing/st_client.c svc_action = NULL; svc_action 838 lib/fencing/st_client.c if (services_action_sync(svc_action)) { svc_action 840 lib/fencing/st_client.c action->rc = svc_action_to_errno(svc_action); svc_action 841 lib/fencing/st_client.c action->output = svc_action->stdout_data; svc_action 842 lib/fencing/st_client.c svc_action->stdout_data = NULL; svc_action 843 lib/fencing/st_client.c action->error = svc_action->stderr_data; svc_action 844 lib/fencing/st_client.c svc_action->stderr_data = NULL; svc_action 850 lib/fencing/st_client.c svc_action->params = NULL; svc_action 851 lib/fencing/st_client.c services_action_free(svc_action);