函数逻辑报告

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 is intended to track positive numbers. In the UP case the* number should never be negative.

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

返回类型:s64

参数:

类型参数名称
struct percpu_counter *fbc
157  返回:count
调用者
名称描述
fprop_fraction_singleReturn fraction of events of type pl
fprop_fraction_percpu
vm_memory_committedThe global memory commitment made in the system can be a metric* that can be used to drive ballooning decisions when Linux is hosted* as a guest. On Hyper-V, the host implements a policy engine for dynamically
__vm_enough_memoryCheck that a process has enough memory to allocate a new virtual* mapping. 0 means there is enough memory for the allocation to* succeed and -ENOMEM implies there is not.* We currently support three overcommit policies, which are set via the* vm
get_nr_filesReturn the total number of open files in the system
dqcache_shrink_count
percpu_counter_sum_positive
dst_entries_get_fast
sk_sockets_allocated_read_positive
tcp_too_many_orphans
wb_stat