iwl_txq_dec_wrap(9)
π iwl_txq_dec_wrap(9) β like, the Kernel API Manual page you didn't know you needed
okay so bestie, welcome to the <pink>Kernel API Manual</pink> entry for iwl_txq_dec_wrap, and yes this is the whole iwl_txq_dec_wrap(9) page, we're doing it π
β¨ NAME β¨
iwl_txq_dec_wrap β decrements the queue index, and when it runs out it wraps right back to the end π literally the "no u" of index math
π¦ SYNOPSIS π¦
int iwl_txq_dec_wrap (struct iwl_trans *trans , int index );
she takes two things and gives you back an int, that's the whole vibe β¨
πΈ ARGUMENTS πΈ
transβ the transport (for configuration data) π like, it's the one carrying the config tea, she's the main character hereindexβ current index π the number you're standing on right now, bestie
π₯ RETURN π₯
the queue index decremented, subject to wrapping π so you get your index minus one, except when the wrap kicks in and she goes all the way around β no cap, that's it, that's the return value
β SEE ALSO β
- The kernel file
./drivers/net/wireless/intel/iwlwifi/pcie/gen1_2/internal.hπ struct iwl_rx_mem_buffer(9)struct iwl_rx_transfer_desc(9)struct iwl_rx_completion_desc(9)struct iwl_rx_completion_desc_bz(9)struct iwl_rxq(9)struct iwl_rb_allocator(9)iwl_get_closed_rb_stts(9)enum iwl_fw_mon_dbgfs_state(9)enum iwl_shared_irq_flags(9)enum iwl_image_response_code(9)struct cont_rec(9)enum iwl_pcie_imr_status(9)struct iwl_txq(9)struct iwl_pcie_txqs(9)struct iwl_trans_pcie(9)iwl_txq_inc_wrap(9)π« (her sister btw, the one that goes the other way, obsessed with them both)
π friendly reminder that this page is literally just about decrementing an index with wrapping, so don't go reading extra behaviour into it, bestie β what you see is what you get π
okay that's the page!! π«Ά this little beauty lives in ./drivers/net/wireless/intel/i... and she's dated October 2026 β go off, gen1_2 internal header, you ate π
β¨π
π¦ 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