'\" t .\" Title: snd_pcm_sgbuf_get_chunk_size .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: PCM API .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "SND_PCM_SGBUF_GET_CH" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "PCM API" .\" ----------------------------------------------------------------- .\" * 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" snd_pcm_sgbuf_get_chunk_size \- Compute the max size that fits within the contig\&. page from the given size .SH "SYNOPSIS" .HP \w'unsigned\ int\ snd_pcm_sgbuf_get_chunk_size('u .BI "unsigned int snd_pcm_sgbuf_get_chunk_size(struct\ snd_pcm_substream\ *\ " "substream" ", unsigned\ int\ " "ofs" ", unsigned\ int\ " "size" ");" .SH "ARGUMENTS" .PP \fIsubstream\fR .RS 4 PCM substream .RE .PP \fIofs\fR .RS 4 byte offset .RE .PP \fIsize\fR .RS 4 byte size to examine .RE .SH "COPYRIGHT" .br