函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:g should not be an intermediate node

函数原型:static unsigned long tg_last_low_overflow_time(struct throtl_grp *tg)

返回类型:unsigned long

参数:

类型参数名称
struct throtl_grp *tg
1798  parent等于tg
1799  ret等于__tg_last_low_overflow_time(tg)
1801  当(true)循环
1802  parent_sq等于 the parent service_queue
1803  parent等于sq_to_tg - return the throl_grp the specified service queue belongs to*@sq: the throtl_service_queue of interest* Return the throtl_grp @sq belongs to. If @sq is the top-level one* embedded in throtl_data, %NULL is returned.
1804  如果非parent退出
1811  如果非 internally used bytes per second rate limits [generic data direction definitions ][LIMIT_LOW]且非 internally used IOPS limits [generic data direction definitions ][LIMIT_LOW]且非 internally used bytes per second rate limits [WRITE][LIMIT_LOW]且非 internally used IOPS limits [WRITE][LIMIT_LOW]则继续下一循环
1816  如果These 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.(__tg_last_low_overflow_time(parent), ret)则ret等于__tg_last_low_overflow_time(parent)
1819  返回:ret
调用者
名称描述
throtl_tg_can_upgrade
throtl_tg_can_downgrade
throtl_downgrade_check