Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\blk-throttle.c Create Date:2022-07-28 17:43:56
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:g should not be an intermediate node

Proto:static unsigned long tg_last_low_overflow_time(struct throtl_grp *tg)

Type:unsigned long

Parameter:

TypeParameterName
struct throtl_grp *tg
1798  parent = tg
1799  ret = __tg_last_low_overflow_time(tg)
1801  When (true) cycle
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  If Not parent Then Break
1811  If Not internally used bytes per second rate limits [generic data direction definitions ][LIMIT_LOW] && Not internally used IOPS limits [generic data direction definitions ][LIMIT_LOW] && Not internally used bytes per second rate limits [WRITE][LIMIT_LOW] && Not internally used IOPS limits [WRITE][LIMIT_LOW] Then Continue
1816  If 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) Then ret = __tg_last_low_overflow_time(parent)
1819  Return ret
Caller
NameDescribe
throtl_tg_can_upgrade
throtl_tg_can_downgrade
throtl_downgrade_check