Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:swap_events_show

Proto:static int swap_events_show(struct seq_file *m, void *v)

Type:int

Parameter:

TypeParameterName
struct seq_file *m
void *v
7083  memcg = mem_cgroup_from_seq(m)
7085  seq_printf(m, "max %lu\n", atomic_long_read( & memory.events [MEMCG_SWAP_MAX]))
7087  seq_printf(m, "fail %lu\n", atomic_long_read( & memory.events [MEMCG_SWAP_FAIL]))
7090  Return 0