---
name: "scsi_queue_work"
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/scsi_queue_work"
---

# scsi\_queue\_work(9)

Queue work to the Scsi\_Host workqueue.

## NAME

scsi\_queue\_work - Queue work to the Scsi\_Host workqueue.

## SYNOPSIS

**int scsi\_queue\_work(struct Scsi\_Host \*** *shost***, struct work\_struct \*** *work***);**

## ARGUMENTS

*shost*

Pointer to Scsi\_Host.

*work*

Work to queue for execution.

## DESCRIPTION

Return value: 1 - work queued for execution 0 - work is already queued -EINVAL - work queue doesn't exist

## AUTHORS

**James Bottomley** \<James.Bottomley@hansenpartnership.com\>

Author.

**Rob Landley** \<rob@landley.net\>

Author.

## COPYRIGHT
