Lines Matching defs:action
315 gact_t action, int calltype)
342 switch (action) {
425 * Before firing off the HBA action, restart the timer
438 /* save a copy in case action function frees it */
443 if (action == GACTION_RESET_BUS && cccp->ccc_waitq_frozen) {
448 /* invoke the HBA's action function */
449 if ((*func)(hba_handle, gcmdp, gtgtp, action, calltype)) {
457 if (action == GACTION_INCOMPLETE)
460 /* all other failures cause transition to next action */
469 action = next_action;
473 * HBA action function is done with gsav (if used)
475 * outstanding requests if they were affected by this action
495 switch (action) {
586 * This function steps a packet to the next action in the recovery
598 gact_t action;
618 action = GACTION_EARLY_TIMEOUT;
622 action = GACTION_ABORT_CMD;
626 action = GACTION_ABORT_DEV;
630 action = GACTION_RESET_TARGET;
634 action = GACTION_RESET_BUS;
638 action = GACTION_INCOMPLETE;
642 action = GACTION_INCOMPLETE;
646 ghd_timer_newstate(cccp, gcmdp, gcmdp->cmd_gtgtp, action,