snd_pcm_stre...k_irqrestore(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… snd_pcm_stre...k_irqrestore(9) πŸ’…

okay bestie, welcome to the Kernel API Manual β€” yes, the actual kernel manual, we're doing this, and honestly? we're gonna slay it πŸŽ€


✨ NAME ✨

snd_pcm_stream_unlock_irqrestore β€” the one that unlocks the PCM stream πŸ”“πŸ¦‹


🌸 SYNOPSIS 🌸

void snd_pcm_stream_unlock_irqrestore (struct snd_pcm_substream
*substream , unsigned long flags );

like literally that's the whole signature, no cap πŸ’…


🧚 ARGUMENTS 🧚

  • substream β€” the PCM substream, aka the main character of this whole situation πŸ‘‘
  • flags β€” the irq flags, keep them safe, keep them close 🫢

πŸ”₯ DESCRIPTION πŸ”₯

So this function is the counter-part of snd_pcm_stream_lock_irqsave β€” like, they're a matching set, they come as a pair, you literally cannot separate them, it's giving soulmate energy πŸ’–βœ¨

Translation for the girlies: one locks the stream (and saves the irq flags), and this one unlocks it and restores the flags. periodt. 🌈


⭐ SEE ALSO ⭐

Kernel file ./sound/core/pcm_native.c β€” and also literally all of these besties:


and that's the whole page, bestie πŸ’€πŸ’…

ngl the manpage name got truncated to snd_pcm_stre...k_irqrestore(9) and honestly it's giving "my username was taken" energy 😭 but the vibes are immaculate regardless πŸ™ˆ

kisses, this page lives in ./sound/core and it's dated October 2026 β€” see u in the kernel, mwah πŸ“πŸ’œπŸ«Ά

πŸ“¦ where this page comes from