函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\blk-mq.c Create Date:2022-07-27 18:45:11
Last Modify:2020-03-17 23:18:05 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:__blk_mq_delay_run_hw_queue

函数原型:static void __blk_mq_delay_run_hw_queue(struct blk_mq_hw_ctx *hctx, bool async, unsigned long msecs)

返回类型:void

参数:

类型参数名称
struct blk_mq_hw_ctx *hctx
boolasync
unsigned longmsecs
1430  如果此条件成立可能性小(为编译器优化)(blk_mq_hctx_stopped(hctx))则返回
1433  如果非async且非@flags: BLK_MQ_F_* flags. Defines the behaviour of the queue. 按位与BLK_MQ_F_BLOCKING的值则
1434  cpu等于get_cpu()
1435  如果测试CPU信息
1437  put_cpu()
1438  返回
1441  put_cpu()
1444  kblockd_mod_delayed_work_on(It'd be great if the workqueue API had a way to pass* in a mask and had some smarts for more clever placement.* For now we just round-robin here, switching for every* BLK_MQ_CPU_WORK_BATCH queued items., & @run_work: Used for scheduling a hardware queue run at a later time., msecs_to_jiffies: - convert milliseconds to jiffies*@m: time in milliseconds* conversion is done as follows:* - negative values mean 'infinite timeout' (MAX_JIFFY_OFFSET)* - 'too large' values [that would result in larger than)
调用者
名称描述
blk_mq_delay_run_hw_queue
blk_mq_run_hw_queue