Home
last modified time | relevance | path

Searched refs:free_objs (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/lib/
Ddebugobjects.c53 struct hlist_head free_objs; member
228 obj = __alloc_object(&percpu_pool->free_objs); in alloc_object()
255 &percpu_pool->free_objs); in alloc_object()
299 goto free_objs; in free_obj_work()
318 free_objs: in free_obj_work()
354 hlist_add_head(&obj->node, &percpu_pool->free_objs); in __free_object()
365 objs[lookahead_count] = __alloc_object(&percpu_pool->free_objs); in __free_object()
1363 INIT_HLIST_HEAD(&per_cpu(percpu_obj_pool.free_objs, cpu)); in debug_objects_mem_init()
/Linux-v5.4/mm/
Dslab.c1335 unsigned long total_slabs, free_slabs, free_objs; in slab_out_of_memory() local
1340 free_objs = n->free_objects; in slab_out_of_memory()
1345 (total_slabs * cachep->num) - free_objs, in slab_out_of_memory()
4039 unsigned long total_slabs = 0, free_objs = 0, shared_avail = 0; in get_slabinfo() local
4050 free_objs += n->free_objects; in get_slabinfo()
4059 active_objs = num_objs - free_objs; in get_slabinfo()