1PROC_SCSI_READ(9) SCSI mid layer PROC_SCSI_READ(9)
2
3
4
6 proc_scsi_read - handle read from /proc by calling host´s proc_info
7 command
8
10 int proc_scsi_read(char * buffer, char ** start, off_t offset,
11 int length, int * eof, void * data);
12
14 buffer
15 passed to proc_info
16
17 start
18 passed to proc_info
19
20 offset
21 passed to proc_info
22
23 length
24 passed to proc_info
25
26 eof
27 returns whether length read was less than requested
28
29 data
30 pointer to a struct Scsi_Host
31
33 James Bottomley <James.Bottomley@hansenpartnership.com>
34 Author.
35
36 Rob Landley <rob@landley.net>
37 Author.
38
40Kernel Hackers Manual 2.6. June 2019 PROC_SCSI_READ(9)