snd_pcm_sgbuf_get_chunk_size(9)

snd_pcm_sgbuf_get_chunk_size9

Compute the max size that fits within the contig. page from the given size

Usage

unsigned int snd_pcm_sgbuf_get_chunk_size(struct snd_pcm_substream * substream, unsigned int ofs, unsigned int size);

Arguments

substream

PCM substream

ofs

byte offset

size

byte size to examine

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.