SysTutorials

Linux Manual Pages › Section 9

scsi_queue_work(9)

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

Author.

Rob Landley <rob [at] landley.net>

Author.

Copyright