函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\page-writeback.c Create Date:2022-07-27 15:33:16
Last Modify:2022-05-23 13:25:58 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:(dirty) := 1

函数原型:static long long pos_ratio_polynom(unsigned long setpoint, unsigned long dirty, unsigned long limit)

返回类型:long long

参数:

类型参数名称
unsigned longsetpoint dirty 3
unsigned longdirty
unsigned longlimit setpoint
819  x等于div64_s64 - signed 64bit divide with 64bit divisor*@dividend: 64bit dividend*@divisor: 64bit divisor
821  pos_ratio等于x
822  pos_ratio等于pos_ratiox右移RATELIMIT_CALC_SHIFT
823  pos_ratio等于pos_ratiox右移RATELIMIT_CALC_SHIFT
824  pos_ratio加等于1左移RATELIMIT_CALC_SHIFT
826  返回:clamp - return a value clamped to a given range with strict typechecking*@val: current value*@lo: lowest allowable value*@hi: highest allowable value* This macro does strict typechecking of @lo/@hi to make sure they are of the* same type as @val(pos_ratio, 0LL, 2LL << RATELIMIT_CALC_SHIFT)
调用者
名称描述
wb_position_ratioDirty position control