Searched refs:ascq (Results 1 – 10 of 10) sorted by relevance
/qemu/scsi/ |
H A D | utils.c | 108 sense.ascq = in_buf[13]; in scsi_parse_sense_buf() 115 sense.ascq = in_buf[3]; in scsi_parse_sense_buf() 132 buf[13] = sense.ascq; in scsi_build_sense_buf() 138 buf[3] = sense.ascq; 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 282 .key = NOT_READY, .asc = 0x04, .ascq = 0x00 372 switch ((asc << 8) | ascq) { in scsi_sense_is_guest_recoverable() [all …]
|
/qemu/include/scsi/ |
H A D | utils.h | 46 uint8_t ascq; member 125 int scsi_sense_to_errno(int key, int asc, int ascq);
|
/qemu/hw/scsi/ |
H A D | scsi-bus.c | 903 ua->ascq == SENSE_CODE(REPORTED_LUNS_CHANGED).ascq) { in scsi_clear_reported_luns_changed() 944 sense.key, sense.asc, sense.ascq); in scsi_req_build_sense() 1660 if (sense.asc == 0x29 && sense.ascq == 0x04) { in scsi_ua_precedence() 1663 } else if (sense.asc == 0x3F && sense.ascq == 0x01) { in scsi_ua_precedence() 1666 } else if (sense.asc == 0x29 && (sense.ascq == 0x05 || sense.ascq == 0x06)) { in scsi_ua_precedence() 1669 } else if (sense.asc == 0x29 && sense.ascq <= 0x07) { in scsi_ua_precedence() 1676 return sense.ascq; in scsi_ua_precedence() 1677 } else if (sense.asc == 0x2F && sense.ascq == 0x01) { in scsi_ua_precedence() 1681 return (sense.asc << 8) | sense.ascq; in scsi_ua_precedence() 1709 sense.asc, sense.ascq); in scsi_device_set_ua() [all …]
|
H A D | trace-events | 16 …target, int lun, int tag, int key, int asc, int ascq) "target %d lun %d tag %d key 0x%02x asc 0x%0… 17 …_set_ua(int target, int lun, int key, int asc, int ascq) "target %d lun %d key 0x%02x asc 0x%02x a… 318 scsi_disk_check_condition(uint32_t tag, uint8_t key, uint8_t asc, uint8_t ascq) "Command complete t…
|
H A D | spapr_vscsi.c | 217 uint8_t key, uint8_t asc, uint8_t ascq) in vscsi_makeup_sense() argument 229 req->sense[13] = ascq; in vscsi_makeup_sense()
|
H A D | virtio-scsi.c | 1042 .reason = sense.asc | (sense.ascq << 8), in virtio_scsi_change()
|
H A D | megasas.c | 363 sense_buf[13] = sense.ascq; in megasas_write_sense()
|
H A D | scsi-disk.c | 131 sense.ascq); in scsi_check_condition()
|
/qemu/block/ |
H A D | iscsi.c | 231 (sense->ascq & 0xFF00) >> 8, in iscsi_translate_sense() 232 sense->ascq & 0xFF); in iscsi_translate_sense() 1289 (iTask.task->sense.ascq == SCSI_SENSE_ASCQ_INVALID_OPERATION_CODE || in iscsi_co_pwrite_zeroes() 1290 iTask.task->sense.ascq == SCSI_SENSE_ASCQ_INVALID_FIELD_IN_CDB)) { in iscsi_co_pwrite_zeroes()
|
/qemu/hw/usb/ |
H A D | dev-uas.c | 443 st->status.sense.sense_data[13] = sense.ascq; in usb_uas_queue_fake_sense()
|