Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:cache_show

Proto:static void cache_show(struct kmem_cache *s, struct seq_file *m)

Type:void

Parameter:

TypeParameterName
struct kmem_cache *s
struct seq_file *m
1463  memset( & sinfo, 0, size of sinfo )
1464  get_slabinfo(s, & sinfo)
1466  memcg_accumulate_slabinfo(s, & sinfo)
1468  seq_printf(m, "%-17s %6lu %6lu %6u %4u %4d", cache_name(s), active_objs, num_objs, The size of an object including metadata , objects_per_slab, (1 << cache_order))
1472  seq_printf(m, " : tunables %4u %4u %4u", limit, batchcount, shared)
1474  seq_printf(m, " : slabdata %6lu %6lu %6lu", active_slabs, num_slabs, shared_avail)
1476  slabinfo_show_stats(m, s)
1477  seq_putc(m, '\n')
Caller
NameDescribe
slab_show
memcg_slab_show