Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Enable polling stats and return whether they were already enabled.

Proto:static bool blk_poll_stats_enable(struct request_queue *q)

Type:bool

Parameter:

TypeParameterName
struct request_queue *q
3311  If Determine whether a bit is set(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. Then Return true
3314  blk_stat_add_callback(q, poll_cb)
3315  Return false
Caller
NameDescribe
blk_mq_poll_nsecs