函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:throtl_rb_first

函数原型:static struct throtl_grp *throtl_rb_first(struct throtl_service_queue *parent_sq)

返回类型:struct throtl_grp

参数:

类型参数名称
struct throtl_service_queue *parent_sq
640  如果非 # queued in the tree 则返回:NULL
643  n等于Same as rb_first(), but O(1) ( & RB tree of active tgs )
644  WARN_ON_ONCE(!n)
645  如果非n则返回:NULL
647  返回:rb_entry_tg(n)
调用者
名称描述
update_min_dispatch_time
throtl_select_dispatch
tg_drain_biosDispatch all bios from all children tg's queued on @parent_sq. On* return, @parent_sq is guaranteed to not have any active children tg's* and all bios from previously active tg's are on @parent_sq->bio_lists[].