1SCSI_BUILD_SENSE_BUF(9) SCSI mid layer SCSI_BUILD_SENSE_BUF(9)
2
3
4
6 scsi_build_sense_buffer - build sense data in a buffer
7
9 void scsi_build_sense_buffer(int desc, u8 * buf, u8 key, u8 asc,
10 u8 ascq);
11
13 desc
14 Sense format (non zero == descriptor format, 0 == fixed format)
15
16 buf
17 Where to build sense data
18
19 key
20 Sense key
21
22 asc
23 Additional sense code
24
25 ascq
26 Additional sense code qualifier
27
29 James Bottomley <James.Bottomley@hansenpartnership.com>
30 Author.
31
32 Rob Landley <rob@landley.net>
33 Author.
34
36Kernel Hackers Manual 2.6. November 2011 SCSI_BUILD_SENSE_BUF(9)