函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\memcontrol.h Create Date:2022-07-27 06:56:24
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:dx can be of type enum memcg_stat_item or node_stat_item.* Keep in sync with memcg_exact_page_state().

函数原型:static inline unsigned long memcg_page_state_local(struct mem_cgroup *memcg, int idx)

返回类型:unsigned long

参数:

类型参数名称
struct mem_cgroup *memcg
intidx
601  x等于0
604  遍历可用CPU(cpu)
605  x加等于per_cpu(stat[idx], cpu)
610  返回:x
调用者
名称描述
mem_cgroup_nr_lru_pages
memcg_stat_show