函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\blk-throttle.c Create Date:2022-07-27 19:18:00
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:hrotl_schedule_next_dispatch - schedule the next dispatch cycle*@sq: the service_queue to schedule dispatch for*@force: force scheduling* Arm @sq->pending_timer so that the next dispatch cycle starts on the* dispatch time of the first pending child

函数原型:static bool throtl_schedule_next_dispatch(struct throtl_service_queue *sq, bool force)

返回类型:bool

参数:

类型参数名称
struct throtl_service_queue *sq
boolforce
762  如果非 # queued in the tree 则返回:true
765  update_min_dispatch_time(sq)
768  如果forceThese inlines deal with timer wrapping correctly. You are * strongly encouraged to use them* 1. Because people otherwise forget* 2. Because if the timer wrap changes in future you won't have to* alter your driver code.( disptime of the first tg , jiffies)则
769  Call with queue lock held
770  返回:true
774  返回:false
调用者
名称描述
throtl_pending_timer_fn
tg_conf_updated
throtl_upgrade_state
blk_throtl_bio