---
name: "sdev_evt_alloc"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/sdev_evt_alloc"
---

# sdev\_evt\_alloc(9)

allocate a new scsi event

## 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
