blk_mq_map_hw_queues(9)
okay so bestie, welcome to blk_mq_map_hw_queues(9) from the Kernel API Manual β itβs giving tiny-but-iconic kernel API energy, and weβre obsessed π
β¨
πΈ NAME πΈ
blk_mq_map_hw_queues β Create CPU to hardware queue mapping
β¨ SYNOPSIS β¨
void blk_mq_map_hw_queues (struct blk_mq_queue_map *qmap , struct device
*dev , unsigned int offset );
π ARGUMENTS π
qmapβ CPU to hardware queue map. Thatβs the map, bestie πdevβ The device to map queues. Like, the device in question π¦offsetβ Queue offset to use for the device. The offset vibe for this device, periodt β¨
π DESCRIPTION π
okay so what this does is create a CPU to hardware queue mapping in qmap. The struct bus_type irq_get_affinity callback will be used to retrieve the affinity. Thatβs literally the whole plot, and it ate π₯π
π₯ SEE ALSO π₯
- Kernel file
./block/blk-mq-cpumap.c blk_mq_num_possible_queues(9)blk_mq_num_online_queues(9)blk_mq_hw_queue_to_node(9)
mwah π this lil page is from source/version ./block, dated October 2026, and itβs literally blk_mq_map_hw_queues(9) β no cap, periodt π«Άπ
π¦ 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