函数逻辑报告

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_sum_positive

函数原型:static inline s64 percpu_counter_sum_positive(struct percpu_counter *fbc)

返回类型:s64

参数:

类型参数名称
struct percpu_counter *fbc
162  返回:percpu_counter is intended to track positive numbers. In the UP case the* number should never be negative.
调用者
名称描述
alloc_empty_fileFind an unused file structure and return a pointer to it
dst_entries_get_slow
proto_sockets_allocated_sum_positive
tcp_too_many_orphans
wb_stat_sum
blkg_rwstat_read_counter
blkg_rwstat_readlkg_rwstat_read - read the current values of a blkg_rwstat*@rwstat: blkg_rwstat to read* Read the current snapshot of @rwstat and return it in the aux counts.
blkg_rwstat_add_auxlkg_rwstat_add_aux - add a blkg_rwstat into another's aux count*@to: the destination blkg_rwstat*@from: the source* Add @from's count including the aux one to @to's aux count.