1ISCSI_CREATE_FLASHNO(9) SCSI mid layer ISCSI_CREATE_FLASHNO(9)
2
3
4
6 iscsi_create_flashnode_sess - Add flashnode session entry in sysfs
7
9 struct iscsi_bus_flash_session *
10 iscsi_create_flashnode_sess(struct Scsi_Host * shost,
11 int index,
12 struct iscsi_transport * transport,
13 int dd_size);
14
16 shost
17 pointer to host data
18
19 index
20 index of flashnode to add in sysfs
21
22 transport
23 pointer to transport data
24
25 dd_size
26 total size to allocate
27
29 Adds a sysfs entry for the flashnode session attributes
30
32 pointer to allocated flashnode sess on sucess NULL on failure
33
35 James Bottomley <James.Bottomley@hansenpartnership.com>
36 Author.
37
38 Rob Landley <rob@landley.net>
39 Author.
40
42Kernel Hackers Manual 3.10 June 2019 ISCSI_CREATE_FLASHNO(9)