suse man page for scsi_alloc_target

Query: scsi_alloc_target

OS: suse

Section: 9

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

SCSI_ALLOC_TARGET(9)						  SCSI mid layer					      SCSI_ALLOC_TARGET(9)

NAME
scsi_alloc_target - allocate a new or find an existing target
SYNOPSIS
struct scsi_target * scsi_alloc_target(struct device * parent, int channel, uint id);
ARGUMENTS
parent parent of the target (need not be a scsi host) channel target channel number (zero if no channels) id target id number
DESCRIPTION
Return an existing target if one exists, provided it hasn't already gone into STARGET_DEL state, otherwise allocate a new target. The target is returned with an incremented reference, so the caller is responsible for both reaping and doing a last put
AUTHORS
James Bottomley <James.Bottomley@hansenpartnership.com> Author. Rob Landley <rob@landley.net> Author.
COPYRIGHT
Kernel Hackers Manual 2.6. July 2010 SCSI_ALLOC_TARGET(9)
Related Man Pages
utrace_attach_task(9) - suse
fc_remote_port_add(9) - centos
scsi_address(9s) - opensolaris
fc_remote_port_delete(9) - suse
glbindrenderbuffer(3g) - osx
Similar Topics in the Unix Linux Community
Is UNIX an open source OS ?
Grant unprivileged user rights to see the output of echo|format but not modify disks
Migrating to UNIX
Cut command on RHEL 6.8 compatibility issues
Update kernel Linux without reboot?!