'\" t .\" Title: bio_reset .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: July 2017 .\" Manual: The Linux VFS .\" Source: Kernel Hackers Manual 4.11.6 .\" Language: English .\" .TH "BIO_RESET" "9" "July 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_reset \- reinitialize a bio .SH "SYNOPSIS" .HP \w'void\ bio_reset('u .BI "void bio_reset(struct\ bio\ *\ " "bio" ");" .SH "ARGUMENTS" .PP \fIstruct bio * bio\fR .RS 4 bio to reset .RE .SH "DESCRIPTION" .PP After calling \fBbio_reset\fR, \fIbio\fR will be in the same state as a freshly allocated bio returned bio \fBbio_alloc_bioset\fR \- the only fields that are preserved are the ones that are initialized by \fBbio_alloc_bioset\fR\&. See comment in struct bio\&. .SH "COPYRIGHT" .br