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 212 lib/fencing/st_actions.c if (action->svc_action) { svc_action 213 lib/fencing/st_actions.c services_action_free(action->svc_action); svc_action 509 lib/fencing/st_actions.c stonith_action_async_done(svc_action_t *svc_action) svc_action 511 lib/fencing/st_actions.c stonith_action_t *action = (stonith_action_t *) svc_action->cb_data; svc_action 513 lib/fencing/st_actions.c set_result_from_svc_action(action, svc_action); svc_action 514 lib/fencing/st_actions.c svc_action->params = NULL; svc_action 530 lib/fencing/st_actions.c action->svc_action = NULL; // don't remove our caller svc_action 535 lib/fencing/st_actions.c stonith_action_async_forked(svc_action_t *svc_action) svc_action 537 lib/fencing/st_actions.c stonith_action_t *action = (stonith_action_t *) svc_action->cb_data; svc_action 539 lib/fencing/st_actions.c action->pid = svc_action->pid; svc_action 540 lib/fencing/st_actions.c action->svc_action = svc_action; svc_action 543 lib/fencing/st_actions.c (action->fork_cb) (svc_action->pid, action->userdata); svc_action 558 lib/fencing/st_actions.c svc_action_t *svc_action = NULL; svc_action 584 lib/fencing/st_actions.c svc_action = services_action_create_generic(buffer, NULL); svc_action 587 lib/fencing/st_actions.c if (svc_action->rc != PCMK_OCF_UNKNOWN) { svc_action 588 lib/fencing/st_actions.c set_result_from_svc_action(action, svc_action); svc_action 589 lib/fencing/st_actions.c services_action_free(svc_action); svc_action 593 lib/fencing/st_actions.c svc_action->timeout = 1000 * action->remaining_timeout; svc_action 594 lib/fencing/st_actions.c svc_action->standard = strdup(PCMK_RESOURCE_CLASS_STONITH); svc_action 595 lib/fencing/st_actions.c svc_action->id = crm_strdup_printf("%s_%s_%d", basename(action->agent), svc_action 597 lib/fencing/st_actions.c svc_action->agent = strdup(action->agent); svc_action 598 lib/fencing/st_actions.c svc_action->sequence = stonith_sequence++; svc_action 599 lib/fencing/st_actions.c svc_action->params = action->args; svc_action 600 lib/fencing/st_actions.c svc_action->cb_data = (void *) action; svc_action 601 lib/fencing/st_actions.c svc_action->flags = pcmk__set_flags_as(__func__, __LINE__, svc_action 603 lib/fencing/st_actions.c svc_action->id, svc_action->flags, svc_action 615 lib/fencing/st_actions.c CRM_LOG_ASSERT(services_action_async_fork_notify(svc_action, svc_action 620 lib/fencing/st_actions.c } else if (services_action_sync(svc_action)) { // sync success svc_action 627 lib/fencing/st_actions.c set_result_from_svc_action(action, svc_action); svc_action 628 lib/fencing/st_actions.c svc_action->params = NULL; svc_action 629 lib/fencing/st_actions.c services_action_free(svc_action);