queue_loop(9)
π
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 π
Entry frame size(9)enum data_queue_qid(9)enum skb_frame_desc_flags(9)struct skb_frame_desc(9)get_skb_frame_desc(9)enum rxdone_entry_desc_flags(9)RXDONE_SIGNAL_MASK(9)struct rxdone_entry_desc(9)enum txdone_entry_desc_flags(9)struct txdone_entry_desc(9)enum txentry_desc_flags(9)struct txentry_desc(9)enum queue_entry_flags(9)struct queue_entry(9)enum queue_index(9)enum data_queue_flags(9)struct data_queue(9)queue_end(9)tx_queue_end(9)queue_next(9)queue_for_each(9)tx_queue_for_each(9)txall_queue_for_each(9)rt2x00queue_for_each_entry(9)rt2x00queue_empty(9)rt2x00queue_full(9)rt2x00queue_threshold(9)rt2x00queue_dma_timeout(9)_rt2x00_desc_read(9)rt2x00_desc_read(9)rt2x00_desc_write(9)
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
- 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