Home
last modified time | relevance | path

Searched refs:nr_objs (Results 1 - 7 of 7) sorted by relevance

/kernel/linux/linux-6.6/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 in test_kmem_cache_bulk()
[all...]
/kernel/linux/linux-5.10/tools/testing/radix-tree/
H A 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()
/kernel/linux/linux-6.6/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,
/kernel/linux/linux-5.10/tools/cgroup/
H A 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,
/kernel/linux/linux-6.6/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
/kernel/linux/linux-5.10/mm/
H A Dslub.c2558 unsigned long nr_objs; in slab_out_of_memory() local
2563 nr_objs = node_nr_objs(n); in slab_out_of_memory()
2566 node, nr_slabs, nr_objs, nr_free); in slab_out_of_memory()
5746 unsigned long nr_objs = 0; in get_slabinfo() local
5753 nr_objs += node_nr_objs(n); in get_slabinfo()
5757 sinfo->active_objs = nr_objs - nr_free; in get_slabinfo()
5758 sinfo->num_objs = nr_objs; in get_slabinfo()
/kernel/linux/linux-6.6/mm/
H A Dslub.c3005 unsigned long nr_objs; in slab_out_of_memory() local
3010 nr_objs = node_nr_objs(n); in slab_out_of_memory()
3013 node, nr_slabs, nr_objs, nr_free); in slab_out_of_memory()
6499 unsigned long nr_objs = 0; in get_slabinfo() local
6506 nr_objs += node_nr_objs(n); in get_slabinfo()
6510 sinfo->active_objs = nr_objs - nr_free; in get_slabinfo()
6511 sinfo->num_objs = nr_objs; in get_slabinfo()

Completed in 18 milliseconds