'\" t .\" Title: sdev_evt_alloc .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: July 2017 .\" Manual: SCSI mid layer .\" Source: Kernel Hackers Manual 4.12.2 .\" Language: English .\" .TH "SDEV_EVT_ALLOC" "9" "July 2017" "Kernel Hackers Manual 4\&.12\&" "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" sdev_evt_alloc \- allocate a new scsi event .SH "SYNOPSIS" .HP \w'struct\ scsi_event\ *\ sdev_evt_alloc('u .BI "struct scsi_event * sdev_evt_alloc(enum\ scsi_device_event\ " "evt_type" ", gfp_t\ " "gfpflags" ");" .SH "ARGUMENTS" .PP \fIenum scsi_device_event evt_type\fR .RS 4 type of event to allocate .RE .PP \fIgfp_t gfpflags\fR .RS 4 GFP flags for allocation .RE .SH "DESCRIPTION" .PP Allocates and returns a new scsi_event\&. .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