函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:throtl_set_slice_end

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

返回类型:void

参数:

类型参数名称
struct throtl_grp *tg
boolrw
unsigned longjiffy_end
814  slice_end[rw]等于undup - round up to the next specified multiple*@x: the value to up*@y: multiple to round up to* Rounds @x up to next multiple of @y. If @y will always be a power* of 2, consider using the faster round_up().(jiffy_end, throtl_slice)
调用者
名称描述
throtl_trim_sliceTrim the used slices and adjust slice start accordingly