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

enum scsi_device_event evt_type

type of event to allocate

gfp_t gfpflags

GFP flags for allocation

Description

Allocates and returns a new scsi_event.