Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:memory_stat_format

Proto:static char *memory_stat_format(struct mem_cgroup *memcg)

Type:char

Parameter:

TypeParameterName
struct mem_cgroup *memcg
1362  seq_buf_init( & s, kmalloc(PAGE_SIZE, GFP_KERNEL), PAGE_SIZE)
1363  If Not buffer Then Return NULL
1377  seq_buf_printf - sequence printing of information*@s: seq_buf descriptor*@fmt: printf format string* Writes a printf() format into the sequence buffer.* Returns zero on success, -1 on overflow.
1380  seq_buf_printf - sequence printing of information*@s: seq_buf descriptor*@fmt: printf format string* Writes a printf() format into the sequence buffer.* Returns zero on success, -1 on overflow.
1383  seq_buf_printf - sequence printing of information*@s: seq_buf descriptor*@fmt: printf format string* Writes a printf() format into the sequence buffer.* Returns zero on success, -1 on overflow.
1386  seq_buf_printf - sequence printing of information*@s: seq_buf descriptor*@fmt: printf format string* Writes a printf() format into the sequence buffer.* Returns zero on success, -1 on overflow.
1390  seq_buf_printf - sequence printing of information*@s: seq_buf descriptor*@fmt: printf format string* Writes a printf() format into the sequence buffer.* Returns zero on success, -1 on overflow.
1394  seq_buf_printf - sequence printing of information*@s: seq_buf descriptor*@fmt: printf format string* Writes a printf() format into the sequence buffer.* Returns zero on success, -1 on overflow.
1397  seq_buf_printf - sequence printing of information*@s: seq_buf descriptor*@fmt: printf format string* Writes a printf() format into the sequence buffer.* Returns zero on success, -1 on overflow.
1400  seq_buf_printf - sequence printing of information*@s: seq_buf descriptor*@fmt: printf format string* Writes a printf() format into the sequence buffer.* Returns zero on success, -1 on overflow.
1403  seq_buf_printf - sequence printing of information*@s: seq_buf descriptor*@fmt: printf format string* Writes a printf() format into the sequence buffer.* Returns zero on success, -1 on overflow.
1413  seq_buf_printf - sequence printing of information*@s: seq_buf descriptor*@fmt: printf format string* Writes a printf() format into the sequence buffer.* Returns zero on success, -1 on overflow.
1417  When i < NR_LRU_LISTS cycle seq_buf_printf - sequence printing of information*@s: seq_buf descriptor*@fmt: printf format string* Writes a printf() format into the sequence buffer.* Returns zero on success, -1 on overflow.
1422  seq_buf_printf - sequence printing of information*@s: seq_buf descriptor*@fmt: printf format string* Writes a printf() format into the sequence buffer.* Returns zero on success, -1 on overflow.
1425  seq_buf_printf - sequence printing of information*@s: seq_buf descriptor*@fmt: printf format string* Writes a printf() format into the sequence buffer.* Returns zero on success, -1 on overflow.
1431  seq_buf_printf - sequence printing of information*@s: seq_buf descriptor*@fmt: printf format string* Writes a printf() format into the sequence buffer.* Returns zero on success, -1 on overflow.
1433  seq_buf_printf - sequence printing of information*@s: seq_buf descriptor*@fmt: printf format string* Writes a printf() format into the sequence buffer.* Returns zero on success, -1 on overflow.
1436  seq_buf_printf - sequence printing of information*@s: seq_buf descriptor*@fmt: printf format string* Writes a printf() format into the sequence buffer.* Returns zero on success, -1 on overflow.
1438  seq_buf_printf - sequence printing of information*@s: seq_buf descriptor*@fmt: printf format string* Writes a printf() format into the sequence buffer.* Returns zero on success, -1 on overflow.
1440  seq_buf_printf - sequence printing of information*@s: seq_buf descriptor*@fmt: printf format string* Writes a printf() format into the sequence buffer.* Returns zero on success, -1 on overflow.
1443  seq_buf_printf - sequence printing of information*@s: seq_buf descriptor*@fmt: printf format string* Writes a printf() format into the sequence buffer.* Returns zero on success, -1 on overflow.
1445  seq_buf_printf - sequence printing of information*@s: seq_buf descriptor*@fmt: printf format string* Writes a printf() format into the sequence buffer.* Returns zero on success, -1 on overflow.
1448  seq_buf_printf - sequence printing of information*@s: seq_buf descriptor*@fmt: printf format string* Writes a printf() format into the sequence buffer.* Returns zero on success, -1 on overflow.
1451  seq_buf_printf - sequence printing of information*@s: seq_buf descriptor*@fmt: printf format string* Writes a printf() format into the sequence buffer.* Returns zero on success, -1 on overflow.
1453  seq_buf_printf - sequence printing of information*@s: seq_buf descriptor*@fmt: printf format string* Writes a printf() format into the sequence buffer.* Returns zero on success, -1 on overflow.
1455  seq_buf_printf - sequence printing of information*@s: seq_buf descriptor*@fmt: printf format string* Writes a printf() format into the sequence buffer.* Returns zero on success, -1 on overflow.
1457  seq_buf_printf - sequence printing of information*@s: seq_buf descriptor*@fmt: printf format string* Writes a printf() format into the sequence buffer.* Returns zero on success, -1 on overflow.
1461  seq_buf_printf - sequence printing of information*@s: seq_buf descriptor*@fmt: printf format string* Writes a printf() format into the sequence buffer.* Returns zero on success, -1 on overflow.
1463  seq_buf_printf - sequence printing of information*@s: seq_buf descriptor*@fmt: printf format string* Writes a printf() format into the sequence buffer.* Returns zero on success, -1 on overflow.
1468  WARN_ON_ONCE(seq_buf have a buffer that might overflow. When this happens* the len and size are set to be equal.)
1470  Return buffer
Caller
NameDescribe
mem_cgroup_print_oom_meminfomem_cgroup_print_oom_meminfo: Print OOM memory information relevant to* memory controller.*@memcg: The memory cgroup that went over limit
memory_stat_show