Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name: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.

Proto:static struct throtl_grp *sq_to_tg(struct throtl_service_queue *sq)

Type:struct throtl_grp

Parameter:

TypeParameterName
struct throtl_service_queue *sq
255  If sq && the parent service_queue Then Return 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  Else Return NULL
Caller
NameDescribe
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