snd_pcm_sgbu...t_chunk_size(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– snd_pcm_sgbu...t_chunk_size(9) πŸ’–

okay bestie, welcome to the Kernel API Manual page for snd_pcm_sgbu...t_chunk_size(9) β€” yes the title is doing the absolute most with that truncation, but we move. This is the one that computes the max size that fits within the contig. page from the given size. no cap, that's the whole vibe. ✨

🌸 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. that's the PCM substream right there, bestie.
  • ofs β€” byte offset. literally the byte offset.
  • size β€” byte size to examine. the byte size you're examining, periodt.

πŸ’… RETURN πŸ’…

chunk size. that's it, that's the return β€” chunk size. iconic. πŸ’…

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file: ./include/sound/pcm.h β€” and here's the whole squad, nobody left out:


okay that's the page, bestie 🫢 source/version: ./include/sound β€’ date: October 2026 β€’ title: snd_pcm_sgbu...t_chunk_size(9) β€” mwah πŸ’‹

πŸ“¦ where this page comes from