SDEV_EVT_ALLOC

Section: SCSI mid layer (9)
Updated: February 2011
Index Return to Main Contents
 

NAME

sdev_evt_alloc - allocate a new scsi event  

SYNOPSIS

struct scsi_event * sdev_evt_alloc(enum scsi_device_event evt_type, gfp_t gfpflags);
 

ARGUMENTS

evt_type

type of event to allocate

gfpflags

GFP flags for allocation
 

DESCRIPTION

Allocates and returns a new scsi_event.  

AUTHORS

James Bottomley <James.Bottomley@hansenpartnership.com>

Author.

Rob Landley <rob@landley.net>

Author.
 

COPYRIGHT