ata_build_rw_tf(9) suse man page | unix.com

Man Page: ata_build_rw_tf

Operating Environment: suse

Section: 9

ATA_BUILD_RW_TF(9)					       libata Core Internals						ATA_BUILD_RW_TF(9)

NAME
ata_build_rw_tf - Build ATA taskfile for given read/write request
SYNOPSIS
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
Kernel Hackers Manual 2.6. July 2010 ATA_BUILD_RW_TF(9)
Related Man Pages
struct_rio_dev(9) - centos
blktool(8) - debian
sg_scan(8) - suse
sg_sat_set_features(8) - suse
artsata(4) - netbsd
Similar Topics in the Unix Linux Community
Getting command output to putty window title.
Migrating to UNIX
Tar Command
The Future of the PM (Private Message) System at UNIX.com
32 bit process addressing more than 4GB