函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:throtl_start_new_slice_with_credit

函数原型:static inline void throtl_start_new_slice_with_credit(struct throtl_grp *tg, bool rw, unsigned long start)

返回类型:void

参数:

类型参数名称
struct throtl_grp *tg
boolrw
unsigned longstart
780  Number of bytes disptached in current slice [rw]等于0
781  Number of bio's dispatched in current slice [rw]等于0
789  如果time_after_eq(start, When did we start a new slice [rw])则 When did we start a new slice [rw]等于start
792  slice_end[rw]等于jiffiesthrotl_slice
793  hrotl_log - log debug message via blktrace*@sq: the service_queue being reported*@fmt: printf format string*@args: printf args* The messages are prefixed with "throtl BLKG_NAME" if @sq belongs to a* throtl_grp; otherwise, just "throtl".( & this group's service queue , "[%c] new slice with credit start=%lu end=%lu jiffies=%lu", rw == generic data direction definitions ? 'R' : 'W', When did we start a new slice [rw], slice_end[rw], jiffies)
调用者
名称描述
start_parent_slice_with_credit