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 223 lib/fencing/st_actions.c if (action->svc_action) { svc_action 224 lib/fencing/st_actions.c services_action_free(action->svc_action); svc_action 530 lib/fencing/st_actions.c stonith_action_async_done(svc_action_t *svc_action) svc_action 532 lib/fencing/st_actions.c stonith_action_t *action = (stonith_action_t *) svc_action->cb_data; svc_action 534 lib/fencing/st_actions.c set_result_from_svc_action(action, svc_action); svc_action 535 lib/fencing/st_actions.c svc_action->params = NULL; svc_action 551 lib/fencing/st_actions.c action->svc_action = NULL; // don't remove our caller svc_action 556 lib/fencing/st_actions.c stonith_action_async_forked(svc_action_t *svc_action) svc_action 558 lib/fencing/st_actions.c stonith_action_t *action = (stonith_action_t *) svc_action->cb_data; svc_action 560 lib/fencing/st_actions.c action->pid = svc_action->pid; svc_action 561 lib/fencing/st_actions.c action->svc_action = svc_action; svc_action 564 lib/fencing/st_actions.c (action->fork_cb) (svc_action->pid, action->userdata); svc_action 579 lib/fencing/st_actions.c svc_action_t *svc_action = NULL; svc_action 605 lib/fencing/st_actions.c svc_action = services_action_create_generic(buffer, NULL); svc_action 608 lib/fencing/st_actions.c if (svc_action->rc != PCMK_OCF_UNKNOWN) { svc_action 609 lib/fencing/st_actions.c set_result_from_svc_action(action, svc_action); svc_action 610 lib/fencing/st_actions.c services_action_free(svc_action); svc_action 614 lib/fencing/st_actions.c svc_action->timeout = 1000 * action->remaining_timeout; svc_action 615 lib/fencing/st_actions.c svc_action->standard = strdup(PCMK_RESOURCE_CLASS_STONITH); svc_action 616 lib/fencing/st_actions.c svc_action->id = crm_strdup_printf("%s_%s_%dof%d", basename(action->agent), svc_action 619 lib/fencing/st_actions.c svc_action->agent = strdup(action->agent); svc_action 620 lib/fencing/st_actions.c svc_action->sequence = stonith_sequence++; svc_action 621 lib/fencing/st_actions.c svc_action->params = action->args; svc_action 622 lib/fencing/st_actions.c svc_action->cb_data = (void *) action; svc_action 623 lib/fencing/st_actions.c svc_action->flags = pcmk__set_flags_as(__func__, __LINE__, svc_action 625 lib/fencing/st_actions.c svc_action->id, svc_action->flags, svc_action 637 lib/fencing/st_actions.c CRM_LOG_ASSERT(services_action_async_fork_notify(svc_action, svc_action 642 lib/fencing/st_actions.c } else if (services_action_sync(svc_action)) { // sync success svc_action 649 lib/fencing/st_actions.c set_result_from_svc_action(action, svc_action); svc_action 650 lib/fencing/st_actions.c svc_action->params = NULL; svc_action 651 lib/fencing/st_actions.c services_action_free(svc_action);