Home
last modified time | relevance | path

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

/linux-6.1.9/tools/testing/radix-tree/
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.1.9/tools/cgroup/
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.1.9/mm/
Dslub.c2978 unsigned long nr_objs; in slab_out_of_memory() local
2983 nr_objs = node_nr_objs(n); in slab_out_of_memory()
2986 node, nr_slabs, nr_objs, nr_free); in slab_out_of_memory()
6282 unsigned long nr_objs = 0; in get_slabinfo() local
6289 nr_objs += node_nr_objs(n); in get_slabinfo()
6293 sinfo->active_objs = nr_objs - nr_free; in get_slabinfo()
6294 sinfo->num_objs = nr_objs; in get_slabinfo()