函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:lruvec_page_state_local

函数原型:static inline unsigned long lruvec_page_state_local(struct lruvec *lruvec, enum node_stat_item idx)

返回类型:unsigned long

参数:

类型参数名称
struct lruvec *lruvec
enum node_stat_itemidx
679  x等于0
682  如果mem_cgroup_disabled()则返回:Determine the per node value of a stat item.
685  pn等于container_of - cast a member of a structure out to the containing structure*@ptr: the pointer to the member.*@type: the type of the container struct this is embedded in.*@member: the name of the member within the struct.(lruvec, structmem_cgroup_per_node, lruvec)
686  遍历可用CPU(cpu)
687  x加等于per_cpu(count[idx], cpu)
692  返回:x
调用者
名称描述
count_shadow_nodes
mem_cgroup_node_nr_lru_pages