queue_for_each(9)
π queue_for_each(9) β like, the whole Kernel API Manual vibe, bestie π
okay so real talk, this one lives in the Kernel API Manual, and it's honestly lowkey iconic for how much it does with so little. no cap.
β¨ NAME β¨
queue_for_each β loop through all queues π
like⦠all of them. every last one. slay.
πΈ SYNOPSIS πΈ
queue_for_each (__dev , __entry );
that's it. that's the whole thing. two args, zero drama π
π¦ ARGUMENTS π¦
__devβ pointer tostruct rt2x00_dev. yes, a pointer. it's giving "here's where the device lives" energy π__entryβ pointer to where the current queue entry is gonna get stored in. that's the spot. it fills it up each time around the loop π«Ά
π§ DESCRIPTION π§
okay so this macro will loop through all available queues. that's the whole personality. it's a macro, so it's doing its little loop thing for you and you don't even have to write the loop yourself β main character macro energy fr fr β
no strings attached, no extra behaviour mentioned, just vibes and iteration π
π SEE ALSO π
this part is literally the group chat of related symbols, and we are NOT leaving anyone out π
kernel file ./drivers/net/wireless/ralink/rt2x00/rt2x00queue.h 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_loop(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)
and that's the page!! mwah π
this little cutie came from ./drivers/net/wireless/ralink/... and it's dated October 2026 β bestie, a future queen πβ¨ so go loop those queues and stan responsibly π«Άπ
π¦ 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