函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称: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.

函数原型:static struct throtl_grp *sq_to_tg(struct throtl_service_queue *sq)

返回类型:struct throtl_grp

参数:

类型参数名称
struct throtl_service_queue *sq
255  如果sq the parent service_queue 则返回:container_of - cast a member of a structure out to the containing structure*@ptr: the pointer to the member.*@type: the type of the container struct this is embedded in.*@member: the name of the member within the struct.(sq, structthrotl_grp, service_queue)
257  否则返回:NULL
调用者
名称描述
sq_to_tdsq_to_td - return throtl_data the specified service queue belongs to*@sq: the throtl_service_queue of interest* A service_queue can be embedded in either a throtl_grp or throtl_data.* Determine the associated throtl_data accordingly and return it.
tg_update_has_rulesSet 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.
tg_dispatch_one_bio
throtl_pending_timer_fn
tg_last_low_overflow_timeg should not be an intermediate node
throtl_hierarchy_can_upgrade
throtl_hierarchy_can_downgrade
blk_throtl_bio