函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:mem_cgroup_nr_lru_pages

函数原型:static unsigned long mem_cgroup_nr_lru_pages(struct mem_cgroup *memcg, unsigned int lru_mask)

返回类型:unsigned long

参数:

类型参数名称
struct mem_cgroup *memcg
unsigned intlru_mask
3636  nr等于0
3640  如果非BIT(lru)按位与lru_mask的值则继续下一循环
3642  nr加等于dx can be of type enum memcg_stat_item or node_stat_item.* Keep in sync with memcg_exact_page_state().
3644  返回:nr
调用者
名称描述
memcg_numa_stat_show