Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:throtl_rb_first

Proto:static struct throtl_grp *throtl_rb_first(struct throtl_service_queue *parent_sq)

Type:struct throtl_grp

Parameter:

TypeParameterName
struct throtl_service_queue *parent_sq
640  If Not # queued in the tree Then Return NULL
643  n = Same as rb_first(), but O(1) ( & RB tree of active tgs )
644  WARN_ON_ONCE(!n)
645  If Not n Then Return NULL
647  Return rb_entry_tg(n)
Caller
NameDescribe
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[].