'\" t .\" Title: blk_queue_dma_alignment .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: July 2017 .\" Manual: Block Devices .\" Source: Kernel Hackers Manual 4.11.6 .\" Language: English .\" .TH "BLK_QUEUE_DMA_ALIGNM" "9" "July 2017" "Kernel Hackers Manual 4\&.11\&" "Block Devices" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" blk_queue_dma_alignment \- set dma length and memory alignment .SH "SYNOPSIS" .HP \w'void\ blk_queue_dma_alignment('u .BI "void blk_queue_dma_alignment(struct\ request_queue\ *\ " "q" ", int\ " "mask" ");" .SH "ARGUMENTS" .PP \fIstruct request_queue * q\fR .RS 4 the request queue for the device .RE .PP \fIint mask\fR .RS 4 alignment mask .RE .SH "DESCRIPTION" .PP set required memory and length alignment for direct dma transactions\&. this is used when building direct io requests for the queue\&. .SH "COPYRIGHT" .br