scsi_alloc_sdev(9) suse man page | unix.com

Man Page: scsi_alloc_sdev

Operating Environment: suse

Section: 9

SCSI_ALLOC_SDEV(9)						  SCSI mid layer						SCSI_ALLOC_SDEV(9)

NAME
scsi_alloc_sdev - allocate and setup a scsi_Device
SYNOPSIS
struct scsi_device * scsi_alloc_sdev(struct scsi_target * starget, unsigned int lun, void * hostdata);
ARGUMENTS
starget which target to allocate a scsi_device for lun which lun hostdata usually NULL and set by ->slave_alloc instead
DESCRIPTION
Allocate, 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 VALUE
scsi_Device pointer, or NULL on failure.
AUTHORS
James Bottomley <James.Bottomley@hansenpartnership.com> Author. Rob Landley <rob@landley.net> Author.
COPYRIGHT
Kernel Hackers Manual 2.6. July 2010 SCSI_ALLOC_SDEV(9)
Related Man Pages
mpioutil(1) - mojave
scsi_device(9s) - sunos
fc_remote_port_delete(9) - centos
fc_remote_port_delete(9) - suse
mpioutil(1) - osx
Similar Topics in the Unix Linux Community
Grant unprivileged user rights to see the output of echo|format but not modify disks
Cut command on RHEL 6.8 compatibility issues
SOCKS proxy &amp; PAM configuration exposure
Docker learning Phase-I
The Future of the PM (Private Message) System at UNIX.com