'\" t .\" Title: bio_clone_bioset_partial .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: June 2017 .\" Manual: The Linux VFS .\" Source: Kernel Hackers Manual 4.11.3 .\" Language: English .\" .TH "BIO_CLONE_BIOSET_PAR" "9" "June 2017" "Kernel Hackers Manual 4\&.11\&" "The Linux VFS" .\" ----------------------------------------------------------------- .\" * 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" bio_clone_bioset_partial \- clone a partial bio .SH "SYNOPSIS" .HP \w'struct\ bio\ *\ bio_clone_bioset_partial('u .BI "struct bio * bio_clone_bioset_partial(struct\ bio\ *\ " "bio_src" ", gfp_t\ " "gfp_mask" ", struct\ bio_set\ *\ " "bs" ", int\ " "offset" ", int\ " "size" ");" .SH "ARGUMENTS" .PP \fIstruct bio * bio_src\fR .RS 4 bio to clone .RE .PP \fIgfp_t gfp_mask\fR .RS 4 allocation priority .RE .PP \fIstruct bio_set * bs\fR .RS 4 bio_set to allocate from .RE .PP \fIint offset\fR .RS 4 cloned starting from the offset .RE .PP \fIint size\fR .RS 4 size for the cloned bio .RE .SH "DESCRIPTION" .PP Clone bio\&. Caller will own the returned bio, but not the actual data it points to\&. Reference count of returned bio will be one\&. .SH "COPYRIGHT" .br