SysTutorials

Linux Manual Pages › Section 9

sdev_evt_alloc(9)

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 [at] hansenpartnership.com>

Author.

Rob Landley <rob [at] landley.net>

Author.

Copyright