'\" t .\" Title: blk_rq_count_integrity_sg .\" 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_RQ_COUNT_INTEGRI" "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_rq_count_integrity_sg \- Count number of integrity scatterlist elements .SH "SYNOPSIS" .HP \w'int\ blk_rq_count_integrity_sg('u .BI "int blk_rq_count_integrity_sg(struct\ request_queue\ *\ " "q" ", struct\ bio\ *\ " "bio" ");" .SH "ARGUMENTS" .PP \fIstruct request_queue * q\fR .RS 4 request queue .RE .PP \fIstruct bio * bio\fR .RS 4 bio with integrity metadata attached .RE .SH "DESCRIPTION" .PP Returns the number of elements required in a scatterlist corresponding to the integrity metadata in a bio\&. .SH "COPYRIGHT" .br