svc_action 41 lib/fencing/st_actions.c svc_action_t *svc_action; svc_action 64 lib/fencing/st_actions.c set_result_from_svc_action(stonith_action_t *action, svc_action_t *svc_action) svc_action 66 lib/fencing/st_actions.c pcmk__set_result(&(action->result), svc_action->rc, svc_action->status, svc_action 67 lib/fencing/st_actions.c services__exit_reason(svc_action)); svc_action 69 lib/fencing/st_actions.c services__grab_stdout(svc_action), svc_action 70 lib/fencing/st_actions.c services__grab_stderr(svc_action)); svc_action 225 lib/fencing/st_actions.c if (action->svc_action) { svc_action 226 lib/fencing/st_actions.c services_action_free(action->svc_action); svc_action 534 lib/fencing/st_actions.c stonith_action_async_done(svc_action_t *svc_action) svc_action 536 lib/fencing/st_actions.c stonith_action_t *action = (stonith_action_t *) svc_action->cb_data; svc_action 538 lib/fencing/st_actions.c set_result_from_svc_action(action, svc_action); svc_action 539 lib/fencing/st_actions.c svc_action->params = NULL; svc_action 555 lib/fencing/st_actions.c action->svc_action = NULL; // don't remove our caller svc_action 560 lib/fencing/st_actions.c stonith_action_async_forked(svc_action_t *svc_action) svc_action 562 lib/fencing/st_actions.c stonith_action_t *action = (stonith_action_t *) svc_action->cb_data; svc_action 564 lib/fencing/st_actions.c action->pid = svc_action->pid; svc_action 565 lib/fencing/st_actions.c action->svc_action = svc_action; svc_action 568 lib/fencing/st_actions.c (action->fork_cb) (svc_action->pid, action->userdata); svc_action 583 lib/fencing/st_actions.c svc_action_t *svc_action = NULL; svc_action 609 lib/fencing/st_actions.c svc_action = services_action_create_generic(buffer, NULL); svc_action 612 lib/fencing/st_actions.c if (svc_action->rc != PCMK_OCF_UNKNOWN) { svc_action 613 lib/fencing/st_actions.c set_result_from_svc_action(action, svc_action); svc_action 614 lib/fencing/st_actions.c services_action_free(svc_action); svc_action 618 lib/fencing/st_actions.c svc_action->timeout = 1000 * action->remaining_timeout; svc_action 619 lib/fencing/st_actions.c svc_action->standard = strdup(PCMK_RESOURCE_CLASS_STONITH); svc_action 620 lib/fencing/st_actions.c svc_action->id = crm_strdup_printf("%s_%s_%dof%d", basename(action->agent), svc_action 623 lib/fencing/st_actions.c svc_action->agent = strdup(action->agent); svc_action 624 lib/fencing/st_actions.c svc_action->sequence = stonith_sequence++; svc_action 625 lib/fencing/st_actions.c svc_action->params = action->args; svc_action 626 lib/fencing/st_actions.c svc_action->cb_data = (void *) action; svc_action 627 lib/fencing/st_actions.c svc_action->flags = pcmk__set_flags_as(__func__, __LINE__, svc_action 629 lib/fencing/st_actions.c svc_action->id, svc_action->flags, svc_action 641 lib/fencing/st_actions.c CRM_LOG_ASSERT(services_action_async_fork_notify(svc_action, svc_action 646 lib/fencing/st_actions.c } else if (services_action_sync(svc_action)) { // sync success svc_action 653 lib/fencing/st_actions.c set_result_from_svc_action(action, svc_action); svc_action 654 lib/fencing/st_actions.c svc_action->params = NULL; svc_action 655 lib/fencing/st_actions.c services_action_free(svc_action);