'\" t .\" Title: relay_subbufs_consumed .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: July 2017 .\" Manual: relay interface support .\" Source: Kernel Hackers Manual 4.11.6 .\" Language: English .\" .TH "RELAY_SUBBUFS_CONSUM" "9" "July 2017" "Kernel Hackers Manual 4\&.11\&" "relay interface support" .\" ----------------------------------------------------------------- .\" * 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" relay_subbufs_consumed \- update the buffer\*(Aqs sub\-buffers\-consumed count .SH "SYNOPSIS" .HP \w'void\ relay_subbufs_consumed('u .BI "void relay_subbufs_consumed(struct\ rchan\ *\ " "chan" ", unsigned\ int\ " "cpu" ", size_t\ " "subbufs_consumed" ");" .SH "ARGUMENTS" .PP \fIstruct rchan * chan\fR .RS 4 the channel .RE .PP \fIunsigned int cpu\fR .RS 4 the cpu associated with the channel buffer to update .RE .PP \fIsize_t subbufs_consumed\fR .RS 4 number of sub\-buffers to add to current buf\*(Aqs count .RE .SH "DESCRIPTION" .PP Adds to the channel buffer\*(Aqs consumed sub\-buffer count\&. subbufs_consumed should be the number of sub\-buffers newly consumed, not the total consumed\&. .PP NOTE\&. Kernel clients don\*(Aqt need to call this function if the channel mode is \*(Aqoverwrite\*(Aq\&. .SH "COPYRIGHT" .br