Lines Matching refs:cfg
83 def slub_get_slabinfo(s, cfg): argument
88 for node in range(cfg['nr_nodes']):
106 def cache_show(s, cfg, objs): argument
107 if cfg['allocator'] == 'SLUB':
108 sinfo = slub_get_slabinfo(s, cfg)
112 if cfg['shared_slab_pages']:
127 cfg = {}
129 cfg['nr_nodes'] = prog['nr_online_nodes'].value_()
132 cfg['allocator'] = 'SLUB'
134 cfg['allocator'] = 'SLAB'
138 cfg['shared_slab_pages'] = False
141 cfg['shared_slab_pages'] = True
145 return cfg
175 cfg = detect_kernel_config()
181 if cfg['shared_slab_pages']:
217 cache_show(caches[addr], cfg, stats[addr])
223 cache_show(s, cfg, None)