Query: scsi_alloc_sdev
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
SCSI_ALLOC_SDEV(9) SCSI mid layer SCSI_ALLOC_SDEV(9)NAMEscsi_alloc_sdev - allocate and setup a scsi_DeviceSYNOPSISstruct scsi_device * scsi_alloc_sdev(struct scsi_target * starget, unsigned int lun, void * hostdata);ARGUMENTSstarget which target to allocate a scsi_device for lun which lun hostdata usually NULL and set by ->slave_alloc insteadDESCRIPTIONAllocate, initialize for io, and return a pointer to a scsi_Device. Stores the shost, channel, id, and lun in the scsi_Device, and adds scsi_Device to the appropriate list.RETURN VALUEscsi_Device pointer, or NULL on failure.AUTHORSJames Bottomley <James.Bottomley@hansenpartnership.com> Author. Rob Landley <rob@landley.net> Author.COPYRIGHTKernel Hackers Manual 3.10 June 2014 SCSI_ALLOC_SDEV(9)
Related Man Pages |
---|
scsi_device(9s) - sunos |
fc_remote_port_add(9) - centos |
fc_remote_port_delete(9) - centos |
srp_reconnect_rport(9) - centos |
tgt-setup-lun(8) - suse |
Similar Topics in the Unix Linux Community |
---|
Is UNIX an open source OS ? |
Tar Command |
Shopt -s histappend |
CentOS 6 ran out of space, need to reclaim it |
Controlling user input |