'\" t .\" Title: bio_clone_bioset .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: The Linux VFS .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "BIO_CLONE_BIOSET" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "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 \- clone a bio .SH "SYNOPSIS" .HP \w'struct\ bio\ *\ bio_clone_bioset('u .BI "struct bio * bio_clone_bioset(struct\ bio\ *\ " "bio_src" ", gfp_t\ " "gfp_mask" ", struct\ bio_set\ *\ " "bs" ");" .SH "ARGUMENTS" .PP \fIbio_src\fR .RS 4 bio to clone .RE .PP \fIgfp_mask\fR .RS 4 allocation priority .RE .PP \fIbs\fR .RS 4 bio_set to allocate from .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