'\" t .\" Title: blk_rq_map_integrity_sg .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: January 2017 .\" Manual: Block Devices .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "BLK_RQ_MAP_INTEGRITY" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "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_rq_map_integrity_sg \- Map integrity metadata into a scatterlist .SH "SYNOPSIS" .HP \w'int\ blk_rq_map_integrity_sg('u .BI "int blk_rq_map_integrity_sg(struct\ request_queue\ *\ " "q" ", struct\ bio\ *\ " "bio" ", struct\ scatterlist\ *\ " "sglist" ");" .SH "ARGUMENTS" .PP \fIq\fR .RS 4 request queue .RE .PP \fIbio\fR .RS 4 bio with integrity metadata attached .RE .PP \fIsglist\fR .RS 4 target scatterlist .RE .SH "DESCRIPTION" .PP Map the integrity vectors in request into a scatterlist\&. The scatterlist must be big enough to hold all elements\&. I\&.e\&. sized using \fBblk_rq_count_integrity_sg\fR\&. .SH "COPYRIGHT" .br