/dports/emulators/qemu-devel/qemu-de8ed1055c2ce18c95f597eb10df360dcb534f99/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 …]
|
/dports/emulators/qemu/qemu-6.2.0/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 …]
|
/dports/emulators/qemu60/qemu-6.0.0/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 …]
|
/dports/emulators/qemu-powernv/qemu-powernv-3.0.50/scsi/ |
H A D | utils.c | 112 sense.ascq = in_buf[13]; in scsi_parse_sense_buf() 119 sense.ascq = in_buf[3]; in scsi_parse_sense_buf() 136 buf[13] = sense.ascq; in scsi_build_sense_buf() 142 buf[3] = sense.ascq; in scsi_build_sense_buf() 161 .key = NO_SENSE , .asc = 0x00 , .ascq = 0x00 166 .key = NOT_READY, .asc = 0x04, .ascq = 0x03 171 .key = NOT_READY, .asc = 0x3a, .ascq = 0x00 176 .key = NOT_READY, .asc = 0x53, .ascq = 0x02 261 .key = MEDIUM_ERROR, .asc = 0x11, .ascq = 0x00 266 .key = NOT_READY, .asc = 0x04, .ascq = 0x00 [all …]
|
/dports/emulators/qemu-utils/qemu-4.2.1/scsi/ |
H A D | utils.c | 112 sense.ascq = in_buf[13]; in scsi_parse_sense_buf() 119 sense.ascq = in_buf[3]; in scsi_parse_sense_buf() 136 buf[13] = sense.ascq; in scsi_build_sense_buf() 142 buf[3] = sense.ascq; in scsi_build_sense_buf() 161 .key = NO_SENSE , .asc = 0x00 , .ascq = 0x00 166 .key = NOT_READY, .asc = 0x04, .ascq = 0x03 171 .key = NOT_READY, .asc = 0x3a, .ascq = 0x00 176 .key = NOT_READY, .asc = 0x53, .ascq = 0x02 266 .key = NOT_READY, .asc = 0x04, .ascq = 0x00 356 switch ((asc << 8) | ascq) { in scsi_sense_is_guest_recoverable() [all …]
|
/dports/emulators/qemu5/qemu-5.2.0/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 262 .key = NOT_READY, .asc = 0x04, .ascq = 0x00 352 switch ((asc << 8) | ascq) { in scsi_sense_is_guest_recoverable() [all …]
|
/dports/emulators/qemu-guest-agent/qemu-5.0.1/scsi/ |
H A D | utils.c | 112 sense.ascq = in_buf[13]; in scsi_parse_sense_buf() 119 sense.ascq = in_buf[3]; in scsi_parse_sense_buf() 136 buf[13] = sense.ascq; in scsi_build_sense_buf() 142 buf[3] = sense.ascq; in scsi_build_sense_buf() 161 .key = NO_SENSE , .asc = 0x00 , .ascq = 0x00 166 .key = NOT_READY, .asc = 0x04, .ascq = 0x03 171 .key = NOT_READY, .asc = 0x3a, .ascq = 0x00 176 .key = NOT_READY, .asc = 0x53, .ascq = 0x02 266 .key = NOT_READY, .asc = 0x04, .ascq = 0x00 356 switch ((asc << 8) | ascq) { in scsi_sense_is_guest_recoverable() [all …]
|
/dports/emulators/qemu42/qemu-4.2.1/scsi/ |
H A D | utils.c | 112 sense.ascq = in_buf[13]; in scsi_parse_sense_buf() 119 sense.ascq = in_buf[3]; in scsi_parse_sense_buf() 136 buf[13] = sense.ascq; in scsi_build_sense_buf() 142 buf[3] = sense.ascq; in scsi_build_sense_buf() 161 .key = NO_SENSE , .asc = 0x00 , .ascq = 0x00 166 .key = NOT_READY, .asc = 0x04, .ascq = 0x03 171 .key = NOT_READY, .asc = 0x3a, .ascq = 0x00 176 .key = NOT_READY, .asc = 0x53, .ascq = 0x02 266 .key = NOT_READY, .asc = 0x04, .ascq = 0x00 356 switch ((asc << 8) | ascq) { in scsi_sense_is_guest_recoverable() [all …]
|
/dports/emulators/qemu-cheri/qemu-0a323821042c36e21ea80e58b9545dfc3b0cb8ef/scsi/ |
H A D | utils.c | 112 sense.ascq = in_buf[13]; in scsi_parse_sense_buf() 119 sense.ascq = in_buf[3]; in scsi_parse_sense_buf() 136 buf[13] = sense.ascq; in scsi_build_sense_buf() 142 buf[3] = sense.ascq; in scsi_build_sense_buf() 161 .key = NO_SENSE , .asc = 0x00 , .ascq = 0x00 166 .key = NOT_READY, .asc = 0x04, .ascq = 0x03 171 .key = NOT_READY, .asc = 0x3a, .ascq = 0x00 176 .key = NOT_READY, .asc = 0x53, .ascq = 0x02 266 .key = NOT_READY, .asc = 0x04, .ascq = 0x00 356 switch ((asc << 8) | ascq) { in scsi_sense_is_guest_recoverable() [all …]
|
/dports/devel/libburn/libburn-1.5.4/libburn/ |
H A D | spc.c | 103 *ascq = sense[3]; in spc_decode_sense() 111 *ascq = sense[13]; in spc_decode_sense() 250 } else if (ascq == 0x02 || ascq == 0x03) in spc_wait_unit_attention() 318 sense[13] = ascq; in spc_report_async_error() 353 (key != 0x2 || asc != 0x04 || ascq == 0x02 || ascq ==0x03)) { in spc_get_erase_progress() 1318 if (*ascq == 1) in scsi_error_msg() 1325 if (*ascq == 0) in scsi_error_msg() 1331 if (*ascq == 0) in scsi_error_msg() 1343 if (*ascq == 0) in scsi_error_msg() 1357 if (*ascq == 0) in scsi_error_msg() [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/target/ |
H A D | target_core_ua.c | 78 u8 ascq) in core_scsi3_ua_allocate() argument 90 ua->ua_ascq = ascq; 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 194 u8 *ascq) in core_scsi3_ua_for_check_condition() argument 218 *ascq = 0; in core_scsi3_ua_for_check_condition() 236 *ascq = ua->ua_ascq; in core_scsi3_ua_for_check_condition() 246 *ascq = ua->ua_ascq; in core_scsi3_ua_for_check_condition() 269 u8 *ascq) in core_scsi3_ua_clear_for_request_sense() argument 308 *ascq = ua->ua_ascq; in core_scsi3_ua_clear_for_request_sense() [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/target/ |
H A D | target_core_ua.c | 78 u8 ascq) in core_scsi3_ua_allocate() argument 90 ua->ua_ascq = ascq; 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 194 u8 *ascq) in core_scsi3_ua_for_check_condition() argument 218 *ascq = 0; in core_scsi3_ua_for_check_condition() 236 *ascq = ua->ua_ascq; in core_scsi3_ua_for_check_condition() 246 *ascq = ua->ua_ascq; in core_scsi3_ua_for_check_condition() 269 u8 *ascq) in core_scsi3_ua_clear_for_request_sense() argument 308 *ascq = ua->ua_ascq; in core_scsi3_ua_clear_for_request_sense() [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/target/ |
H A D | target_core_ua.c | 78 u8 ascq) in core_scsi3_ua_allocate() argument 90 ua->ua_ascq = ascq; 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 194 u8 *ascq) in core_scsi3_ua_for_check_condition() argument 218 *ascq = 0; in core_scsi3_ua_for_check_condition() 236 *ascq = ua->ua_ascq; in core_scsi3_ua_for_check_condition() 246 *ascq = ua->ua_ascq; in core_scsi3_ua_for_check_condition() 269 u8 *ascq) in core_scsi3_ua_clear_for_request_sense() argument 308 *ascq = ua->ua_ascq; in core_scsi3_ua_clear_for_request_sense() [all …]
|
/dports/net/istgt/istgt-20150713/src/ |
H A D | istgt_lu_pass.c | 106 int sk, asc, ascq; in istgt_lu_pass_parse_sense_key() local 133 ascq = sense_data[3]; in istgt_lu_pass_parse_sense_key() 138 ascq = sense_data[3]; in istgt_lu_pass_parse_sense_key() 141 sk = asc = ascq = -1; in istgt_lu_pass_parse_sense_key() 150 *ascqp = ascq; in istgt_lu_pass_parse_sense_key() 156 int sk, asc, ascq; in istgt_lu_pass_print_sense_key() local 162 sk, asc, ascq); in istgt_lu_pass_print_sense_key() 243 int sk, asc, ascq; in istgt_lu_pass_set_modesense() local 481 int sk, asc, ascq; in istgt_lu_pass_set_capacity() local 1111 int sk, asc, ascq; in istgt_lu_pass_do_cam() local [all …]
|
/dports/net/libiscsi/libiscsi-1.19.0/test-tool/ |
H A D | iscsi-support.h | 857 …, int sp, struct scsi_mode_page *mp, int status, enum scsi_sense_key key, int *ascq, int num_ascq); 859 …nt num_blocks, int immed, int group, int status, enum scsi_sense_key key, int *ascq, int num_ascq); 860 …nt num_blocks, int immed, int group, int status, enum scsi_sense_key key, int *ascq, int num_ascq); 866 …_task **task, uint32_t lba, int pmi, int status, enum scsi_sense_key key, int *ascq, int num_ascq); 867 …uct scsi_task **task, int alloc_len, int status, enum scsi_sense_key key, int *ascq, int num_ascq); 872 int *ascq, int num_ascq); 879 int *ascq, int num_ascq); 889 int testunitready(struct scsi_device *sdev, int status, enum scsi_sense_key key, int *ascq, int num… 890 …ruct unmap_list *list, int list_len, int status, enum scsi_sense_key key, int *ascq, int num_ascq); 907 …vice *sdev, struct iscsi_data *data, int status, enum scsi_sense_key key, int *ascq, int num_ascq); [all …]
|
H A D | iscsi-support.c | 177 switch (task->sense.ascq) { in status_is_invalid_opcode() 191 int *ascq, int num_ascq) in check_result() argument 210 scsi_sense_ascq_str(task->sense.ascq), task->sense.ascq); in check_result() 219 num_ascq ? ascq[0] : 0); in check_result() 232 if (ascq[i] == task->sense.ascq) { in check_result() 250 num_ascq ? ascq[0] : 0, in check_result() 258 scsi_sense_ascq_str(task->sense.ascq), task->sense.ascq); in check_result() 401 task->sense.ascq); in send_scsi_command() 421 task->sense.ascq = 0xffff; in send_scsi_command() 432 task->sense.ascq = 0xffff; in send_scsi_command() [all …]
|
/dports/sysutils/sg3_utils/sg3_utils-1.42/utils/ |
H A D | sg_chk_asc.c | 62 int k, j, res, c, num, len, asc, ascq; in main() local 139 num = sscanf(line, "%xh/%xh", &asc, &ascq); in main() 141 ascq = -1; in main() 172 if (ascq >= 0) { in main() 173 cp = sg_get_asc_ascq_str(asc, ascq, sizeof(bb) - 1, bb); in main() 175 fprintf(stderr, "no entry for %x,%x : %s\n", asc, ascq, b); in main() 187 "<missing>\n", asc, ascq, b); in main() 198 "%s\n", asc, ascq, b, cp); in main()
|
/dports/graphics/sane-backends/sane-backends-1.0.32/backend/ |
H A D | sp15c.c | 1092 unsigned int ret, sense, asc, ascq; in request_sense_parse() local 1095 ascq = get_RS_ASCQ (sensed_data); in request_sense_parse() 1106 if ((0x00 == asc) && (0x00 == ascq)) in request_sense_parse() 1117 if ((0x80 == asc) && (0x01 == ascq)) in request_sense_parse() 1122 else if ((0x80 == asc) && (0x02 == ascq)) in request_sense_parse() 1127 else if ((0x80 == asc) && (0x03 == ascq)) in request_sense_parse() 1139 if ((0x80 == asc) && (0x01 == ascq)) in request_sense_parse() 1143 else if ((0x80 == asc) && (0x02 == ascq)) in request_sense_parse() 1174 if ((0x20 == asc) && (0x00 == ascq)) in request_sense_parse() 1206 if ((0x00 == asc) && (0x00 == ascq)) in request_sense_parse() [all …]
|
/dports/sysutils/udfclient/UDFclient.0.8.11/ |
H A D | uscsi_sense.c | 80 unsigned char ascq; member 614 asc2ascii(u_char asc, u_char ascq, char *result, size_t l) in asc2ascii() argument 619 if (adesc[i].asc == asc && adesc[i].ascq == ascq) in asc2ascii() 624 if (asc == 0x40 && ascq != 0) in asc2ascii() 627 ascq & 0xff); in asc2ascii() 630 asc & 0xff, ascq & 0xff); in asc2ascii()
|
/dports/misc/rump/buildrump.sh-b914579/src/sys/dev/scsipi/ |
H A D | scsipi_verbose.c | 80 unsigned char ascq; member 637 asc2ascii(u_char asc, u_char ascq, char *result, size_t l) in asc2ascii() argument 642 if (adesc[i].asc == asc && adesc[i].ascq == ascq) in asc2ascii() 647 if (asc == 0x40 && ascq != 0) in asc2ascii() 650 ascq & 0xff); in asc2ascii() 653 asc & 0xff, ascq & 0xff); in asc2ascii()
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/ide/ |
H A D | ide-cd_verbose.c | 31 sense->asc, sense->ascq); in ide_cd_log_error() 278 sense->ascq); in ide_cd_log_error() 285 if (!(sense->ascq >= 0x80 && sense->ascq <= 0xdd)) in ide_cd_log_error() 286 key |= sense->ascq; in ide_cd_log_error() 310 s, sense->asc, sense->ascq); in ide_cd_log_error()
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/ide/ |
H A D | ide-cd_verbose.c | 31 sense->asc, sense->ascq); in ide_cd_log_error() 278 sense->ascq); in ide_cd_log_error() 285 if (!(sense->ascq >= 0x80 && sense->ascq <= 0xdd)) in ide_cd_log_error() 286 key |= sense->ascq; in ide_cd_log_error() 310 s, sense->asc, sense->ascq); in ide_cd_log_error()
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/ide/ |
H A D | ide-cd_verbose.c | 31 sense->asc, sense->ascq); in ide_cd_log_error() 278 sense->ascq); in ide_cd_log_error() 285 if (!(sense->ascq >= 0x80 && sense->ascq <= 0xdd)) in ide_cd_log_error() 286 key |= sense->ascq; in ide_cd_log_error() 310 s, sense->asc, sense->ascq); in ide_cd_log_error()
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/scsi/ |
H A D | scsi_common.c | 160 sshdr->ascq = sense_buffer[3]; in scsi_normalize_sense() 175 sshdr->ascq = sense_buffer[13]; in scsi_normalize_sense() 232 void scsi_build_sense_buffer(int desc, u8 *buf, u8 key, u8 asc, u8 ascq) in scsi_build_sense_buffer() argument 238 buf[3] = ascq; in scsi_build_sense_buffer() 245 buf[13] = ascq; in scsi_build_sense_buffer()
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/scsi/ |
H A D | scsi_common.c | 160 sshdr->ascq = sense_buffer[3]; in scsi_normalize_sense() 175 sshdr->ascq = sense_buffer[13]; in scsi_normalize_sense() 232 void scsi_build_sense_buffer(int desc, u8 *buf, u8 key, u8 asc, u8 ascq) in scsi_build_sense_buffer() argument 238 buf[3] = ascq; in scsi_build_sense_buffer() 245 buf[13] = ascq; in scsi_build_sense_buffer()
|