Lines Matching full:asc
77 u8 asc, in core_scsi3_ua_allocate() argument
89 ua->ua_asc = asc; in core_scsi3_ua_allocate()
97 if ((ua_p->ua_asc == asc) && (ua_p->ua_ascq == ascq)) { in core_scsi3_ua_allocate()
119 * the 29h ASC family, see spc4r17 Table D.1 in core_scsi3_ua_allocate()
122 if ((asc == 0x29) && (ascq > ua_p->ua_ascq)) in core_scsi3_ua_allocate()
133 if ((asc == 0x29) || (ascq > ua_p->ua_asc)) in core_scsi3_ua_allocate()
149 pr_debug("Allocated UNIT ATTENTION, mapped LUN: %llu, ASC:" in core_scsi3_ua_allocate()
151 asc, ascq); in core_scsi3_ua_allocate()
157 u32 unpacked_lun, u8 asc, u8 ascq) in target_ua_allocate_lun() argument
171 core_scsi3_ua_allocate(deve, asc, ascq); in target_ua_allocate_lun()
190 * returns true if the dequeuing succeeded and if *@key, *@asc and *@ascq have
193 bool core_scsi3_ua_for_check_condition(struct se_cmd *cmd, u8 *key, u8 *asc, in core_scsi3_ua_for_check_condition() argument
217 *asc = 0x25; /* LOGICAL UNIT NOT SUPPORTED */ in core_scsi3_ua_for_check_condition()
231 * highest priority UNIT_ATTENTION and ASC/ASCQ without in core_scsi3_ua_for_check_condition()
235 *asc = ua->ua_asc; in core_scsi3_ua_for_check_condition()
241 * condition. Return the ASC/ASCQ of the highest priority UA in core_scsi3_ua_for_check_condition()
245 *asc = ua->ua_asc; in core_scsi3_ua_for_check_condition()
257 " reported ASC: 0x%02x, ASCQ: 0x%02x\n", in core_scsi3_ua_for_check_condition()
261 cmd->orig_fe_lun, cmd->t_task_cdb[0], *asc, *ascq); in core_scsi3_ua_for_check_condition()
268 u8 *asc, in core_scsi3_ua_clear_for_request_sense() argument
297 * ASC/ASCQ will be returned in REQUEST_SENSE payload data for the in core_scsi3_ua_clear_for_request_sense()
300 * Once the returning ASC/ASCQ values are set, we go ahead and in core_scsi3_ua_clear_for_request_sense()
307 *asc = ua->ua_asc; in core_scsi3_ua_clear_for_request_sense()
318 " LUN: %llu, got REQUEST_SENSE reported ASC: 0x%02x," in core_scsi3_ua_clear_for_request_sense()
320 cmd->orig_fe_lun, *asc, *ascq); in core_scsi3_ua_clear_for_request_sense()