dvb_ringbuff...nlock_wakeup(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… dvb_ringbuff...nlock_wakeup(9) πŸ’…

okay so bestie, welcome to the Kernel API Manual ✨ β€” yes that's the manual name, yes it's a mouthful, no we're not changing it. today's main character is a function with a name so long it got its own abbreviation in the header: dvb_ringbuff...nlock_wakeup(9). iconic honestly. πŸŽ€


🌸 NAME 🌸

dvb_ringbuffer_flush_spinlock_wakeup β€” flush a buffer that's protected by a spinlock, and wake up whatever task(s) are waiting on it 🫢

like, two jobs. one function. she's booked and busy. πŸ’…


✨ SYNOPSIS ✨

void dvb_ringbuffer_flush_spinlock_wakeup (struct dvb_ringbuffer *rbuf
);

returns nothing (void), takes one pointer, does the thing. no cap. πŸ”₯


πŸ¦‹ ARGUMENTS πŸ¦‹

  • rbuf β€” pointer to struct dvb_ringbuffer πŸ’– that's it, that's the whole argument. she needs the ring buffer, she's gonna flush it, periodt.

πŸŽ€ SEE ALSO πŸŽ€

bestie there is so much lore here, the whole friend group showed up 😭 β€” and it's all in the kernel file ./include/media/dvb_ringbuffer.h:


⭐ friendly reminder: this one's spinlock-protected, so mind your locking vibes β€” the whole point of the flush and the wakeup living in the same function is that they happen together, iykyk 🧚

and that's the whole page, diva. 🌈 source lives in ./include/media, dated October 2026 β€” mwah, xoxo, go flush responsibly πŸ’œπŸ“

πŸ“¦ where this page comes from