Home
last modified time | relevance | path

Searched refs:nr_objs (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/tools/testing/radix-tree/
H A Dlinux.c23 int nr_objs; member
69 if (cachep->nr_objs) { in kmem_cache_alloc_lru()
71 cachep->nr_objs--; in kmem_cache_alloc_lru()
103 if (cachep->nr_objs > 10 || cachep->align) { in kmem_cache_free_locked()
108 cachep->nr_objs++; in kmem_cache_free_locked()
152 if (cachep->nr_objs >= size) { in kmem_cache_alloc_bulk()
157 cachep->nr_objs--; in kmem_cache_alloc_bulk()
199 ret->nr_objs = 0; in kmem_cache_create()
228 assert(test_cache->nr_objs == 5); in test_kmem_cache_bulk()
240 assert(test_cache->nr_objs == 11); in test_kmem_cache_bulk()
[all …]
/openbmc/linux/tools/cgroup/
H A Dmemcg_slabinfo.py72 nr_objs = 0
75 nr_objs += fn(slab)
76 return nr_objs
85 nr_objs = 0
91 nr_objs += n.total_objects.counter.value_()
94 return {'active_objs': nr_objs - nr_free,
95 'num_objs': nr_objs,
/openbmc/linux/scripts/gdb/linux/
H A Dslab.py300 nr_objs = 0
307 nr_objs = int(cache_node['total_objects']['counter'])
311 active_objs = nr_objs - nr_free
312 num_objs = nr_objs
/openbmc/linux/mm/
H A Dslub.c3012 unsigned long nr_objs; in slab_out_of_memory() local
3017 nr_objs = node_nr_objs(n); in slab_out_of_memory()
3020 node, nr_slabs, nr_objs, nr_free); in slab_out_of_memory()
6506 unsigned long nr_objs = 0; in get_slabinfo() local
6513 nr_objs += node_nr_objs(n); in get_slabinfo()
6517 sinfo->active_objs = nr_objs - nr_free; in get_slabinfo()
6518 sinfo->num_objs = nr_objs; in get_slabinfo()