'\" t .\" Title: iscsi_create_flashnode_sess .\" Author: .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: January 2017 .\" Manual: SCSI mid layer .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "ISCSI_CREATE_FLASHNO" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "SCSI mid layer" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" iscsi_create_flashnode_sess \- Add flashnode session entry in sysfs .SH "SYNOPSIS" .HP \w'struct\ iscsi_bus_flash_session\ *\ iscsi_create_flashnode_sess('u .BI "struct iscsi_bus_flash_session * iscsi_create_flashnode_sess(struct\ Scsi_Host\ *\ " "shost" ", int\ " "index" ", struct\ iscsi_transport\ *\ " "transport" ", int\ " "dd_size" ");" .SH "ARGUMENTS" .PP \fIshost\fR .RS 4 pointer to host data .RE .PP \fIindex\fR .RS 4 index of flashnode to add in sysfs .RE .PP \fItransport\fR .RS 4 pointer to transport data .RE .PP \fIdd_size\fR .RS 4 total size to allocate .RE .SH "DESCRIPTION" .PP Adds a sysfs entry for the flashnode session attributes .SH "RETURN" .PP pointer to allocated flashnode sess on success \fBNULL\fR on failure .SH "AUTHORS" .PP \fBJames Bottomley\fR <\&James.Bottomley@hansenpartnership.com\&> .RS 4 Author. .RE .PP \fBRob Landley\fR <\&rob@landley.net\&> .RS 4 Author. .RE .SH "COPYRIGHT" .br