Home
last modified time | relevance | path

Searched refs:sshdr (Results 1 – 6 of 6) sorted by relevance

/linux-4.19.296/include/scsi/
Dscsi_eh.h19 struct scsi_sense_hdr *sshdr);
22 static inline bool scsi_sense_is_deferred(const struct scsi_sense_hdr *sshdr) in scsi_sense_is_deferred() argument
24 return ((sshdr->response_code >= 0x70) && (sshdr->response_code & 1)); in scsi_sense_is_deferred()
Dscsi_common.h61 static inline bool scsi_sense_valid(const struct scsi_sense_hdr *sshdr) in scsi_sense_valid() argument
63 if (!sshdr) in scsi_sense_valid()
66 return (sshdr->response_code & 0x70) == 0x70; in scsi_sense_valid()
70 struct scsi_sense_hdr *sshdr);
Dscsi_device.h404 int retries, struct scsi_sense_hdr *sshdr);
433 unsigned char *sense, struct scsi_sense_hdr *sshdr,
438 sshdr, timeout, retries, flags, rq_flags, resid) \ argument
443 sense, sshdr, timeout, retries, flags, rq_flags, \
448 unsigned bufflen, struct scsi_sense_hdr *sshdr, int timeout, in scsi_execute_req() argument
452 bufflen, NULL, sshdr, timeout, retries, 0, 0, resid); in scsi_execute_req()
/linux-4.19.296/drivers/cdrom/
Dcdrom.c350 if (cgc->sshdr) { in cdrom_dummy_generic_packet()
351 cgc->sshdr->sense_key = 0x05; in cdrom_dummy_generic_packet()
352 cgc->sshdr->asc = 0x20; in cdrom_dummy_generic_packet()
353 cgc->sshdr->ascq = 0x00; in cdrom_dummy_generic_packet()
2233 struct scsi_sense_hdr sshdr; in cdrom_read_cdda_bpc() local
2237 &sshdr); in cdrom_read_cdda_bpc()
2238 cdi->last_sense = sshdr.sense_key; in cdrom_read_cdda_bpc()
2960 struct scsi_sense_hdr sshdr; in mmc_ioctl_cdrom_read_data() local
2988 memset(&sshdr, 0, sizeof(sshdr)); in mmc_ioctl_cdrom_read_data()
2989 cgc->sshdr = &sshdr; in mmc_ioctl_cdrom_read_data()
[all …]
/linux-4.19.296/include/linux/
Dcdrom.h25 struct scsi_sense_hdr *sshdr; member
/linux-4.19.296/drivers/xen/
Dxen-scsiback.c327 struct scsi_sense_hdr sshdr; in scsiback_send_response() local
341 &sshdr)) { in scsiback_send_response()