'\" t .\" Title: kfifo_reset .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: June 2017 .\" Manual: FIFO Buffer .\" Source: Kernel Hackers Manual 4.11.3 .\" Language: English .\" .TH "KFIFO_RESET" "9" "June 2017" "Kernel Hackers Manual 4\&.11\&" "FIFO Buffer" .\" ----------------------------------------------------------------- .\" * 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" kfifo_reset \- removes the entire fifo content .SH "SYNOPSIS" .HP \w'kfifo_reset('u .BI "kfifo_reset(" "fifo" ");" .SH "ARGUMENTS" .PP \fI fifo\fR .RS 4 address of the fifo to be used .RE .SH "NOTE" .PP usage of \fBkfifo_reset\fR is dangerous\&. It should be only called when the fifo is exclusived locked or when it is secured that no other thread is accessing the fifo\&. .SH "COPYRIGHT" .br