函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\slab_common.c Create Date:2022-07-27 15:54:21
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:cache_show

函数原型:static void cache_show(struct kmem_cache *s, struct seq_file *m)

返回类型:void

参数:

类型参数名称
struct kmem_cache *s
struct seq_file *m
1463  memset( & sinfo, 0, 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')
调用者
名称描述
slab_show
memcg_slab_show