Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:dx can be of type enum memcg_stat_item or node_stat_item

Proto:static inline void __inc_memcg_state(struct mem_cgroup *memcg, int idx)

Type:void

Parameter:

TypeParameterName
struct mem_cgroup *memcg
intidx
1165  __mod_memcg_state - update cgroup memory statistics*@memcg: the memory cgroup*@idx: the stat item - can be enum memcg_stat_item or enum node_stat_item*@val: delta to add to the counter, can be negative