queue_loop(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… queue_loop β€” a Kernel API Manual moment (that's queue_loop(9), bestie)

okay so real talk, this one is a helper macro and it's lowkey iconic for how much it does with so little. sit down, hydrate, let's go 🫢


✨ NAME ✨

queue_loop β€” loop through the queues within a specific range (HELPER MACRO).

like, that's the whole vibe. it loops. through queues. in a range. periodt πŸ’…


🌸 SYNOPSIS 🌸

queue_loop (__entry , __start , __end );

no cap, that's it. three little arguments and she's serving ✨


πŸŽ€ ARGUMENTS πŸŽ€

  • __entry β€” the pointer where the current queue entry is gonna get stored. that's her little home. where she lives while the loop is doing its thing 🏠
  • __start β€” the start queue pointer. where the party begins πŸŽ‰
  • __end β€” the end queue pointer. where the party stops. the boundary. the "okay bestie wrap it up" line πŸ›‘

πŸ¦‹ DESCRIPTION πŸ¦‹

so what does it actually do?? this macro will loop through all the queues between __start and __end. that's the whole bit, and honestly? she ate πŸ’…

every queue in that range gets visited, one by one, and __entry is holding the current one while it happens. it's giving "main character energy" for each queue it touches, one at a time, in order, no skipping, no cutting the line πŸ™ˆ

lowkey important: this is a helper macro, so it's macro magic, not a regular function call. don't come for her about it 😭

πŸ’œ SEE ALSO πŸ’œ

okay so there's a whole friend group here, and they all live over in the kernel file ./drivers/net/wireless/ralink/rt2x00/rt2x00queue.h. say hi to everybody πŸ‘‹

like I said. whole friend group. iykyk 🌈


and that's the page!! mwah πŸ’– this little cutie comes to you from ./drivers/net/wireless/ralink/..., dated October 2026, and yes she's still signing her name queue_loop(9) at the bottom like the icon she is πŸ‘‘βœ¨

πŸ“¦ where this page comes from