scsi_alloc_sdev man page on Scientific

Man page or keyword search:  
man Server   26626 pages
apropos Keyword Search (all sections)
Output format
Scientific logo
[printable version]

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.	 November 2013		    SCSI_ALLOC_SDEV(9)
[top]

List of man pages available for Scientific

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net