Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:lruvec_page_state_local

Proto:static inline unsigned long lruvec_page_state_local(struct lruvec *lruvec, enum node_stat_item idx)

Type:unsigned long

Parameter:

TypeParameterName
struct lruvec *lruvec
enum node_stat_itemidx
679  x = 0
682  If mem_cgroup_disabled() Then Return 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  for_each_possible_cpu(cpu)
687  x += per_cpu(count[idx], cpu)
692  Return x
Caller
NameDescribe
count_shadow_nodes
mem_cgroup_node_nr_lru_pages