Rechercher une page de manuel
ata_build_rw_tf
Langue: en
Version: June 2009 (debian - 07/07/09)
Section: 9 (Appels noyau Linux)
NAME
ata_build_rw_tf - Build ATA taskfile for given read/write requestSYNOPSIS
- int ata_build_rw_tf(struct ata_taskfile * tf, struct ata_device * dev, u64 block, u32 n_block, unsigned int tf_flags, unsigned int tag);
ARGUMENTS
tf
- Target ATA taskfile
dev
- ATA device tf belongs to
block
- Block address
n_block
- Number of blocks
tf_flags
- RW/FUA etc...
tag
- tag
LOCKING
None.
Build ATA taskfile tf for read/write request described by block, n_block, tf_flags and tag on dev.
RETURNS
0 on success, -ERANGE if the request is too large for dev, -EINVAL if the request is invalid.
AUTHOR
Jeff Garzik
- Author.
COPYRIGHT
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre