函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Set has_rules[] if @tg or any of its parents have limits configured.* This doesn't require walking up to the top of the hierarchy as the* parent's has_rules[] is guaranteed to be correct.

函数原型:static void tg_update_has_rules(struct throtl_grp *tg)

返回类型:void

参数:

类型参数名称
struct throtl_grp *tg
567  parent_tg等于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.
568  td等于 throtl_data this group belongs to
571 rw小于等于WRITE循环 are there any throtl rules between this group and td? [rw]等于parent_tg are there any throtl rules between this group and td? [rw]或limit_valid[limit_index]且tg_bps_limit(tg, rw)不等于U64_MAXtg_iops_limit(tg, rw)不等于UINT_MAX的值
调用者
名称描述
throtl_pd_online
tg_conf_updated