函数逻辑报告

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

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

返回类型:void

参数:

类型参数名称
struct percpu_counter *fbc
s64amount
135  禁止抢占()
136  count加等于amount
137  禁用抢占和中断()
调用者
名称描述
fprop_new_periodDeclare @periods new periods. It is upto the caller to make sure period* transitions cannot happen in parallel.* The function returns true if the proportions are still defined and false* if aging zeroed out all events
__fprop_inc_singleEvent of type pl happened
__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
percpu_counter_add_batch
percpu_counter_inc
percpu_counter_dec
percpu_counter_sub
dst_entries_add