Lines Matching defs:action
705 #define SST(asc, ascq, action, desc) \
706 asc, ascq, action, desc
710 #define SST(asc, ascq, action, desc) \
711 asc, ascq, action, empty_string
3057 || ((table_entry->action & SSQ_RANGE) != 0
3195 * Given sense and device type information, return the appropriate action.
3206 scsi_sense_action action;
3210 action = SS_RETRY | SSQ_DECREMENT_COUNT | SSQ_PRINT_SENSE | EIO;
3236 action = SS_RETRY|SSQ_DECREMENT_COUNT|SSQ_PRINT_SENSE;
3245 * with the error action of the sense key.
3249 action = asc_entry->action;
3251 action = sense_entry->action;
3253 action = SS_RETRY|SSQ_DECREMENT_COUNT|SSQ_PRINT_SENSE;
3257 * The action succeeded but the device wants
3258 * the user to know that some recovery action
3261 action &= ~(SS_MASK|SSQ_MASK|SS_ERRMASK);
3262 action |= SS_NOP|SSQ_PRINT_SENSE;
3265 action &= ~SSQ_PRINT_SENSE;
3268 && (action & SS_MASK) == SS_FAIL) {
3269 action &= ~(SS_MASK|SSQ_MASK);
3270 action |= SS_RETRY|SSQ_DECREMENT_COUNT|
3273 action |= SSQ_UA;
3276 if ((action & SS_MASK) >= SS_START &&
3278 action &= ~SS_MASK;
3279 action |= SS_FAIL;
3280 } else if ((action & SS_MASK) == SS_RETRY &&
3282 action &= ~SS_MASK;
3283 action |= SS_FAIL;
3286 action |= SSQ_PRINT_SENSE;
3288 action &= ~SSQ_PRINT_SENSE;
3290 return (action);
7570 u_int8_t tag_action, u_int8_t action,
7589 scsi_cmd->how = action;
8313 scsi_cmd->action = service_action;
8341 scsi_cmd->action = service_action;