snd_pcm_stre...k_irqrestore(9)
π 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:
snd_pcm_stream_lock(9)snd_pcm_stream_unlock(9)snd_pcm_stream_lock_irq(9)snd_pcm_stream_unlock_irq(9)snd_pcm_set_state(9)snd_pcm_get_state(9)snd_pcm_hw_params_choose(9)snd_pcm_start(9)snd_pcm_stop(9)snd_pcm_drain_done(9)snd_pcm_stop_xrun(9)snd_pcm_suspend_all(9)snd_pcm_prepare(9)snd_pcm_kernel_ioctl(9)snd_pcm_lib_default_mmap(9)snd_pcm_lib_mmap_iomem(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms