Lines Matching refs:key

106         sense.key = in_buf[2];  in scsi_parse_sense_buf()
113 sense.key = in_buf[1]; in scsi_parse_sense_buf()
129 buf[2] = sense.key; in scsi_build_sense_buf()
136 buf[1] = sense.key; in scsi_build_sense_buf()
157 .key = NO_SENSE , .asc = 0x00 , .ascq = 0x00
162 .key = NOT_READY, .asc = 0x04, .ascq = 0x03
167 .key = NOT_READY, .asc = 0x3a, .ascq = 0x00
172 .key = NOT_READY, .asc = 0x53, .ascq = 0x02
177 .key = HARDWARE_ERROR, .asc = 0x44, .ascq = 0x00
182 .key = ILLEGAL_REQUEST, .asc = 0x20, .ascq = 0x00
187 .key = ILLEGAL_REQUEST, .asc = 0x21, .ascq = 0x00
192 .key = ILLEGAL_REQUEST, .asc = 0x24, .ascq = 0x00
197 .key = ILLEGAL_REQUEST, .asc = 0x26, .ascq = 0x00
202 .key = ILLEGAL_REQUEST, .asc = 0x26, .ascq = 0x01
207 .key = ILLEGAL_REQUEST, .asc = 0x1a, .ascq = 0x00
212 .key = ILLEGAL_REQUEST, .asc = 0x25, .ascq = 0x00
217 .key = ILLEGAL_REQUEST, .asc = 0x39, .ascq = 0x00
222 .key = ILLEGAL_REQUEST, .asc = 0x30, .ascq = 0x00
227 .key = ILLEGAL_REQUEST, .asc = 0x53, .ascq = 0x02
232 .key = ILLEGAL_REQUEST, .asc = 0x4b, .ascq = 0x01
237 .key = ABORTED_COMMAND, .asc = 0x00, .ascq = 0x06
242 .key = ABORTED_COMMAND, .asc = 0x29, .ascq = 0x07
247 .key = ABORTED_COMMAND, .asc = 0x3e, .ascq = 0x01
252 .key = ABORTED_COMMAND, .asc = 0x4e, .ascq = 0x00
257 .key = ABORTED_COMMAND, .asc = 0x08, .ascq = 0x00
262 .key = ABORTED_COMMAND, .asc = 0x05, .ascq = 0x00
267 .key = ABORTED_COMMAND, .asc = 0x2e, .ascq = 0x02
272 .key = ABORTED_COMMAND, .asc = 0x2f, .ascq = 0x02
277 .key = MEDIUM_ERROR, .asc = 0x11, .ascq = 0x00
282 .key = NOT_READY, .asc = 0x04, .ascq = 0x00
287 .key = UNIT_ATTENTION, .asc = 0x2a, .ascq = 0x09
292 .key = UNIT_ATTENTION, .asc = 0x29, .ascq = 0x00
297 .key = UNIT_ATTENTION, .asc = 0x29, .ascq = 0x02
302 .key = UNIT_ATTENTION, .asc = 0x3a, .ascq = 0x00
307 .key = UNIT_ATTENTION, .asc = 0x28, .ascq = 0x00
312 .key = UNIT_ATTENTION, .asc = 0x3f, .ascq = 0x0e
317 .key = UNIT_ATTENTION, .asc = 0x29, .ascq = 0x04
322 .key = DATA_PROTECT, .asc = 0x27, .ascq = 0x00
327 .key = DATA_PROTECT, .asc = 0x27, .ascq = 0x07
355 static bool scsi_sense_is_guest_recoverable(int key, int asc, int ascq) in scsi_sense_is_guest_recoverable() argument
357 switch (key) { in scsi_sense_is_guest_recoverable()
392 int scsi_sense_to_errno(int key, int asc, int ascq) in scsi_sense_to_errno() argument
394 switch (key) { in scsi_sense_to_errno()
443 return scsi_sense_to_errno(sense.key, sense.asc, sense.ascq); in scsi_sense_buf_to_errno()
454 return scsi_sense_is_guest_recoverable(sense.key, sense.asc, sense.ascq); in scsi_sense_buf_is_guest_recoverable()