Rechercher une page de manuel
scsi_execute_async
Langue: en
Version: May 2009 (fedora - 06/07/09)
Section: 9 (Appels noyau Linux)
NAME
scsi_execute_async - insert requestSYNOPSIS
- int scsi_execute_async(struct scsi_device * sdev, const unsigned char * cmd, int cmd_len, int data_direction, void * buffer, unsigned bufflen, int use_sg, int timeout, int retries, void * privdata, void (*done) (void *, char *, int, int), gfp_t gfp);
ARGUMENTS
sdev
- scsi device
cmd
- scsi command
cmd_len
- length of scsi cdb
data_direction
- DMA_TO_DEVICE, DMA_FROM_DEVICE, or DMA_NONE
buffer
- data buffer (this can be a kernel buffer or scatterlist)
bufflen
- len of buffer
use_sg
- if buffer is a scatterlist this is the number of elements
timeout
- request timeout in seconds
retries
- number of times to retry request
privdata
- data passed to done
done
- callback function when done
gfp
- memory allocation flags
AUTHORS
James Bottomley <James.Bottomley@hansenpartnership.com>
- Author.
Rob Landley <rob@landley.net>
- Author.
COPYRIGHT
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre