函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\percpu_counter.h Create Date:2022-07-27 06:44:13
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:percpu_counter_add_batch

函数原型:static inline void percpu_counter_add_batch(struct percpu_counter *fbc, s64 amount, s32 batch)

返回类型:void

参数:

类型参数名称
struct percpu_counter *fbc
s64amount
s32batch
143  percpu_counter_add(fbc, amount)
调用者
名称描述
fprop_reflect_period_percpu
__fprop_inc_percpuEvent of type pl happened
__fprop_inc_percpu_maxLike __fprop_inc_percpu() except that event is counted only if the given* type has fraction smaller than @max_frac/FPROP_FRAC_BASE
vm_acct_memory
__add_wb_stat
blkg_rwstat_addlkg_rwstat_add - add a value to a blkg_rwstat*@rwstat: target blkg_rwstat*@op: REQ_OP and flags*@val: value to add* Add @val to @rwstat. The counters are chosen according to @rw. The* caller is responsible for synchronizing calls to this function.