Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\slab_common.c Create Date:2022-07-28 14:29:48
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:memcg_slab_show

Proto:int memcg_slab_show(struct seq_file *m, void *p)

Type:int

Parameter:

TypeParameterName
struct seq_file *m
void *p
1547  s = list_entry - get the struct for this entry*@ptr: the &struct list_head pointer.*@type: the type of the struct this is embedded in.*@member: the name of the list_head within the struct.(p, structkmem_cache, kmem_caches_node)
1549  memcg = mem_cgroup_from_seq(m)
1551  If p == next Then print_slabinfo_header(m)
1553  cache_show(s, m)
1554  Return 0