Home
last modified time | relevance | path

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

/Linux-v5.10/tools/testing/radix-tree/
Dlinux.c24 int nr_objs; member
37 if (cachep->nr_objs) { in kmem_cache_alloc()
39 cachep->nr_objs--; in kmem_cache_alloc()
69 if (cachep->nr_objs > 10 || cachep->align) { in kmem_cache_free()
74 cachep->nr_objs++; in kmem_cache_free()
116 ret->nr_objs = 0; in kmem_cache_create()
/Linux-v5.10/tools/cgroup/
Dmemcg_slabinfo.py85 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-v5.10/mm/
Dslub.c2551 unsigned long nr_objs; in slab_out_of_memory() local
2556 nr_objs = node_nr_objs(n); in slab_out_of_memory()
2559 node, nr_slabs, nr_objs, nr_free); in slab_out_of_memory()
5741 unsigned long nr_objs = 0; in get_slabinfo() local
5748 nr_objs += node_nr_objs(n); in get_slabinfo()
5752 sinfo->active_objs = nr_objs - nr_free; in get_slabinfo()
5753 sinfo->num_objs = nr_objs; in get_slabinfo()