Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\blk-mq.c Create Date:2022-07-28 17:11:06
Last Modify:2020-03-17 23:18:05 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:blk_mq_init_cpu_queues

Proto:static void blk_mq_init_cpu_queues(struct request_queue *q, unsigned int nr_hw_queues)

Type:void

Parameter:

TypeParameterName
struct request_queue *q
unsigned intnr_hw_queues
2376  set = tag_set
2379  for_each_possible_cpu(i)
2380  __ctx = per_cpu_ptr( sw queues , i)
2384  cpu = i
2385  Process spin lock initialization( & lock)
2386  When k < HCTX_MAX_TYPES cycle Initialization list head
2389  queue = q
2395  When j < nr_maps cycle
Caller
NameDescribe
blk_mq_init_allocated_queue