Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\percpu_counter.h Create Date:2022-07-28 05:42:42
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:percpu_counter is intended to track positive numbers. In the UP case the* number should never be negative.

Proto:static inline s64 percpu_counter_read_positive(struct percpu_counter *fbc)

Type:s64

Parameter:

TypeParameterName
struct percpu_counter *fbc
157  Return count
Caller
NameDescribe
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