函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Enable polling stats and return whether they were already enabled.

函数原型:static bool blk_poll_stats_enable(struct request_queue *q)

返回类型:bool

参数:

类型参数名称
struct request_queue *q
3311  如果test_bit(collecting stats for hybrid polling , & * various queue flags, see QUEUE_* below)或lk_queue_flag_test_and_set - atomically test and set a queue flag*@flag: flag to be set*@q: request queue* Returns the previous value of @flag - 0 if the flag was not set and 1 if* the flag was already set.则返回:true
3314  blk_stat_add_callback(q, poll_cb)
3315  返回:false
调用者
名称描述
blk_mq_poll_nsecs