snd_sgbuf_get_page(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– snd_sgbuf_get_page(9) πŸ’–

okay bestie, we're in the Kernel API Manual and this function is literally here to return the physical page at the corresponding offset. ✨ super straightforward, no cap.

🌸 SYNOPSIS 🌸

struct page * snd_sgbuf_get_page (struct snd_dma_buffer *dmab , size_t offset );

πŸŽ€ ARGUMENTS πŸŽ€

  • dmab β€” buffer allocation information, aka the buffer's little info packet 🫢
  • offset β€” offset in the ring buffer, aka where you're pointing inside it πŸ’…

πŸ’… RETURN πŸ’…

It gives you back the page pointer β€” that's the whole return value, periodt. πŸ¦‹

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./sound/core/memalloc.c, plus these absolute icons:


mwah πŸ’‹ this page lives in ./sound/core and is dated October 2026 β€” Kernel API Manual energy forever, bestie πŸ‘‘

πŸ“¦ where this page comes from