snd_pcm_stream_lock_irqsave(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… snd_pcm_stream_lock_irqsave(9) πŸ’…

okay bestie, welcome to the Kernel API Manual ✨ this page is all about snd_pcm_stream_lock_irqsave and it’s lowkey a locking vibe check for your PCM stream 🫢.


✨ NAME ✨

snd_pcm_stream_lock_irqsave β€” Lock the PCM stream. That’s the whole name, and yes it ate πŸ’….


πŸ’– SYNOPSIS πŸ’–

the call is giving:

snd_pcm_stream_lock_irqsave (substream , flags );

no cap, that spacing is the original πŸ’€.


πŸŽ€ ARGUMENTS πŸŽ€

  • substream β€” PCM substream, the main character here 🎡.
  • flags β€” irq flags, carry them carefully bestie 🚩.

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so this locks the PCM stream like snd_pcm_stream_lock, but with the local IRQ β€” and that IRQ part is only when nonatomic is false ⚠️. In the nonatomic case, this is identical to snd_pcm_stream_lock, periodt. So yeah: same lock energy, extra IRQ behavior when nonatomic is false, and no extra drama when nonatomic is true πŸ’…βœ¨.


🌈 SEE ALSO 🌈

Kernel file: ./include/sound/pcm.h πŸ’–

the whole linked friend group:

okay bye bestie 🫢 this was the Kernel API Manual page for snd_pcm_stream_lock_irqsave(9), source/version ./include/sound, dated October 2026 βœ¨πŸ’…

πŸ“¦ where this page comes from