Home
last modified time | relevance | path

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

/linux-6.3-rc2/tools/testing/radix-tree/
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 …]
/linux-6.3-rc2/tools/cgroup/
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,
/linux-6.3-rc2/mm/
A Dslub.c2987 unsigned long nr_objs; in slab_out_of_memory() local
2992 nr_objs = node_nr_objs(n); in slab_out_of_memory()
2995 node, nr_slabs, nr_objs, nr_free); in slab_out_of_memory()
6478 unsigned long nr_objs = 0; in get_slabinfo() local
6485 nr_objs += node_nr_objs(n); in get_slabinfo()
6489 sinfo->active_objs = nr_objs - nr_free; in get_slabinfo()
6490 sinfo->num_objs = nr_objs; in get_slabinfo()

Completed in 18 milliseconds