1SCSI_HOST_ALLOC(9) SCSI mid layer SCSI_HOST_ALLOC(9)
2
3
4
6 scsi_host_alloc - register a scsi host adapter instance.
7
9 struct Scsi_Host * scsi_host_alloc(struct scsi_host_template * sht,
10 int privsize);
11
13 sht
14 pointer to scsi host template
15
16 privsize
17 extra bytes to allocate for driver
18
20 Allocate a new Scsi_Host and perform basic initialization. The host is
21 not published to the scsi midlayer until scsi_add_host is called.
22
24 Pointer to a new Scsi_Host
25
27 James Bottomley <James.Bottomley@hansenpartnership.com>
28 Author.
29
30 Rob Landley <rob@landley.net>
31 Author.
32
34Kernel Hackers Manual 3.10 June 2019 SCSI_HOST_ALLOC(9)