Lines Matching defs:sense
199 * @sense: optional sense buffer
210 unsigned char *sense, int timeout, int retries, int flags,
225 req->sense = sense;
262 char *sense = NULL;
266 sense = kzalloc(SCSI_SENSE_BUFFERSIZE, GFP_NOIO);
267 if (!sense)
271 sense, timeout, retries, 0, resid);
273 scsi_normalize_sense(sense, SCSI_SENSE_BUFFERSIZE, sshdr);
275 kfree(sense);
728 if (sense_valid && req->sense) {
736 memcpy(req->sense, cmd->sense_buffer, len);
887 description = "Unhandled sense code";
1786 * @sshdr: place to put sense data (or NULL if no sense to be collected).
1853 * scsi_mode_sense - issue a mode sense, falling back from 10 to six bytes if necessary.
1855 * @dbd: set if mode sense will allow block descriptors to be returned
1862 * @sshdr: place to put sense data (or NULL if no sense to be collected).
1885 /* caller might not be interested in sense, but we need it */
1914 * ILLEGAL REQUEST sense return identifies the actual command
1968 * returning sense. Make sure that this is cleared before passing
2001 /* could not allocate sense buffer, so can't process it */