Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__blk_mq_run_hw_queue

Proto:static void __blk_mq_run_hw_queue(struct blk_mq_hw_ctx *hctx)

Type:void

Parameter:

TypeParameterName
struct blk_mq_hw_ctx *hctx
1351  If Not pumask_test_cpu - test for a cpu in a cpumask*@cpu: cpu number (< nr_cpu_ids)*@cpumask: the cpumask pointer* Returns 1 if @cpu is set in @cpumask, else returns 0 && cpu_online(@next_cpu: Used by blk_mq_hctx_next_cpu() for round-robin CPU* selection from @cpumask.) Then
1353  printk - print a kernel message*@fmt: format string* This is printk(). It can be called from any context. We want it to work.* We try to grab the console_lock. If we succeed, it's easy - we log the* output and call the console drivers
1356  dump_stack()
1363  WARN_ON_ONCE(in_interrupt())
1365  might_sleep_if(@flags: BLK_MQ_F_* flags. Defines the behaviour of the queue. & BLK_MQ_F_BLOCKING)
1367  hctx_lock(hctx, & srcu_idx)
1368  blk_mq_sched_dispatch_requests(hctx)
1369  hctx_unlock(hctx, srcu_idx)
Caller
NameDescribe
__blk_mq_delay_run_hw_queue
blk_mq_run_work_fn