Query: ata_build_rw_tf
OS: suse
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
ATA_BUILD_RW_TF(9) libata Core Internals ATA_BUILD_RW_TF(9)NAMEata_build_rw_tf - Build ATA taskfile for given read/write requestSYNOPSISint ata_build_rw_tf(struct ata_taskfile * tf, struct ata_device * dev, u64 block, u32 n_block, unsigned int tf_flags, unsigned int tag);ARGUMENTStf Target ATA taskfile dev ATA device tf belongs to block Block address n_block Number of blocks tf_flags RW/FUA etc... tag tagLOCKINGNone. Build ATA taskfile tf for read/write request described by block, n_block, tf_flags and tag on dev.RETURNS0 on success, -ERANGE if the request is too large for dev, -EINVAL if the request is invalid.AUTHORJeff Garzik Author.COPYRIGHTKernel Hackers Manual 2.6. July 2010 ATA_BUILD_RW_TF(9)