Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\blk-mq-cpumap.c Create Date:2022-07-28 17:14:34
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:lk_mq_hw_queue_to_node - Look up the memory node for a hardware queue index*@qmap: CPU to hardware queue map.*@index: hardware queue index.* We have no quick way of doing reverse lookups. This is only used at* queue init time, so runtime isn't important.

Proto:int blk_mq_hw_queue_to_node(struct blk_mq_queue_map *qmap, unsigned int index)

Type:int

Parameter:

TypeParameterName
struct blk_mq_queue_map *qmap
unsigned intindex
90  for_each_possible_cpu(i)
91  If index == mq_map[i] Then Return local_memory_node(cpu_to_node(i))
95  Return NUMA_NO_NODE
Caller
NameDescribe
blk_mq_alloc_rqs
blk_mq_realloc_hw_ctxs