svc_action 49 lib/fencing/st_client.c svc_action_t *svc_action; svc_action 584 lib/fencing/st_client.c if (action->svc_action) { svc_action 585 lib/fencing/st_client.c services_action_free(action->svc_action); svc_action 692 lib/fencing/st_client.c svc_action_to_errno(svc_action_t *svc_action) { svc_action 695 lib/fencing/st_client.c if (svc_action->rc > 0) { svc_action 699 lib/fencing/st_client.c if (svc_action->rc == PCMK_OCF_TIMEOUT) { svc_action 702 lib/fencing/st_client.c } else if (svc_action->stderr_data == NULL) { svc_action 705 lib/fencing/st_client.c } else if (strstr(svc_action->stderr_data, "imed out")) { svc_action 709 lib/fencing/st_client.c } else if (strstr(svc_action->stderr_data, "Unrecognised action")) { svc_action 720 lib/fencing/st_client.c stonith_action_async_done(svc_action_t *svc_action) svc_action 722 lib/fencing/st_client.c stonith_action_t *action = (stonith_action_t *) svc_action->cb_data; svc_action 724 lib/fencing/st_client.c action->rc = svc_action_to_errno(svc_action); svc_action 725 lib/fencing/st_client.c action->output = svc_action->stdout_data; svc_action 726 lib/fencing/st_client.c svc_action->stdout_data = NULL; svc_action 727 lib/fencing/st_client.c action->error = svc_action->stderr_data; svc_action 728 lib/fencing/st_client.c svc_action->stderr_data = NULL; svc_action 730 lib/fencing/st_client.c svc_action->params = NULL; svc_action 733 lib/fencing/st_client.c action->pid, action->action, svc_action->rc); svc_action 748 lib/fencing/st_client.c action->svc_action = NULL; // don't remove our caller svc_action 753 lib/fencing/st_client.c stonith_action_async_forked(svc_action_t *svc_action) svc_action 755 lib/fencing/st_client.c stonith_action_t *action = (stonith_action_t *) svc_action->cb_data; svc_action 757 lib/fencing/st_client.c action->pid = svc_action->pid; svc_action 758 lib/fencing/st_client.c action->svc_action = svc_action; svc_action 761 lib/fencing/st_client.c (action->fork_cb) (svc_action->pid, action->userdata); svc_action 773 lib/fencing/st_client.c svc_action_t *svc_action = NULL; svc_action 793 lib/fencing/st_client.c svc_action = services_action_create_generic(buffer, NULL); svc_action 795 lib/fencing/st_client.c svc_action->timeout = 1000 * action->remaining_timeout; svc_action 796 lib/fencing/st_client.c svc_action->standard = strdup(PCMK_RESOURCE_CLASS_STONITH); svc_action 797 lib/fencing/st_client.c svc_action->id = crm_strdup_printf("%s_%s_%d", basename(action->agent), svc_action 799 lib/fencing/st_client.c svc_action->agent = strdup(action->agent); svc_action 800 lib/fencing/st_client.c svc_action->sequence = stonith_sequence++; svc_action 801 lib/fencing/st_client.c svc_action->params = action->args; svc_action 802 lib/fencing/st_client.c svc_action->cb_data = (void *) action; svc_action 803 lib/fencing/st_client.c svc_action->flags = pcmk__set_flags_as(__func__, __LINE__, svc_action 805 lib/fencing/st_client.c svc_action->id, svc_action->flags, svc_action 820 lib/fencing/st_client.c if(services_action_async_fork_notify(svc_action, svc_action 823 lib/fencing/st_client.c services_action_free(svc_action); svc_action 824 lib/fencing/st_client.c svc_action = NULL; svc_action 831 lib/fencing/st_client.c if (services_action_sync(svc_action)) { svc_action 833 lib/fencing/st_client.c action->rc = svc_action_to_errno(svc_action); svc_action 834 lib/fencing/st_client.c action->output = svc_action->stdout_data; svc_action 835 lib/fencing/st_client.c svc_action->stdout_data = NULL; svc_action 836 lib/fencing/st_client.c action->error = svc_action->stderr_data; svc_action 837 lib/fencing/st_client.c svc_action->stderr_data = NULL; svc_action 843 lib/fencing/st_client.c svc_action->params = NULL; svc_action 844 lib/fencing/st_client.c services_action_free(svc_action);