queue_for_each(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 to struct 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