tb_ring_poll_complete(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… tb_ring_poll_complete(9) β€” the Kernel API Manual, but make it cute

okay so bestie, welcome to the tb_ring_poll_complete page πŸ’– this is one of those little kernel functions that's short but lowkey iconic. it's giving "tiny function, big job" energy, fr fr.


✨ NAME ✨

tb_ring_poll_complete β€” re-start the interrupt for the ring πŸŽ€

like, the whole vibe of this one is "okay we're done polling, wake the interrupt back up." slay.


🌸 SYNOPSIS 🌸

void tb_ring_poll_complete (struct tb_ring *ring );

yep, that's it. one argument, returns nothing (void), and it's literally just vibing there in the kernel tree waiting for you to call it πŸ¦‹


🧚 ARGUMENTS 🧚

  • ring β€” the ring you wanna re-start the interrupt for πŸ‘‘ like, which ring are we unmasking here, bestie? this one. this is the one.

πŸ’« DESCRIPTION πŸ’«

so here's the tea β˜• β€” this function re-starts (aka unmasks ✨) the ring interrupt once the user is done with polling.

that's it. that's the whole thing. no cap. you polled, you're done, now you hand the interrupt its crown back and let it do its thing again πŸ‘‘πŸ’…

ngl the parenthetical is doing a lot of work here: re-start = unmask. same energy, different word. iykyk 🀫

πŸ”₯ SEE ALSO πŸ”₯

okay so this is the part where we shout out the whole friend group 🫢 all of these live in the kernel file ./drivers/thunderbolt/nhi.c and they're all absolutely part of the lore:

go read them. all of them. it's a whole saga 🌈⭐


πŸŽ€ sign-off πŸŽ€

this page lives in ./drivers/thunderbolt, dated October 2026 β€” so yes, it's future-dated, and yes, it ate. periodt πŸ’œπŸ¦‹βœ¨

πŸ“¦ where this page comes from