---
name: "snd_pcm_sgbuf_get_chunk_size"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/snd_pcm_sgbuf_get_chunk_size"
---

# snd\_pcm\_sgbuf\_get\_chunk\_size(9)

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

## NAME

snd\_pcm\_sgbuf\_get\_chunk\_size - Compute the max size that fits within the contig. page from the given size

## SYNOPSIS

**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

## COPYRIGHT
