Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/fs/yaffs2/
H A Dyaffs_allocator.c50 struct list_head free_objs; member
216 INIT_LIST_HEAD(&allocator->free_objs); in yaffs_init_raw_objs()
237 INIT_LIST_HEAD(&allocator->free_objs); in yaffs_deinit_raw_objs()
273 list_add(&new_objs[i].siblings, &allocator->free_objs); in yaffs_create_free_objs()
299 if (list_empty(&allocator->free_objs)) in yaffs_alloc_raw_obj()
302 if (!list_empty(&allocator->free_objs)) { in yaffs_alloc_raw_obj()
303 lh = allocator->free_objs.next; in yaffs_alloc_raw_obj()
323 list_add(&obj->siblings, &allocator->free_objs); in yaffs_free_raw_obj()
/OK3568_Linux_fs/kernel/lib/
H A Ddebugobjects.c54 struct hlist_head free_objs; member
233 obj = __alloc_object(&percpu_pool->free_objs); in alloc_object()
260 &percpu_pool->free_objs); in alloc_object()
304 goto free_objs; in free_obj_work()
323 free_objs: in free_obj_work()
359 hlist_add_head(&obj->node, &percpu_pool->free_objs); in __free_object()
370 objs[lookahead_count] = __alloc_object(&percpu_pool->free_objs); in __free_object()
446 hlist_for_each_entry_safe(obj, tmp, &percpu_pool->free_objs, node) { in object_cpu_offline()
1376 INIT_HLIST_HEAD(&per_cpu(percpu_obj_pool.free_objs, cpu)); in debug_objects_mem_init()
/OK3568_Linux_fs/kernel/mm/
H A Dslab.c1346 unsigned long total_slabs, free_slabs, free_objs; in slab_out_of_memory() local
1351 free_objs = n->free_objects; in slab_out_of_memory()
1356 (total_slabs * cachep->num) - free_objs, in slab_out_of_memory()
4033 unsigned long total_slabs = 0, free_objs = 0, shared_avail = 0; in get_slabinfo() local
4044 free_objs += n->free_objects; in get_slabinfo()
4053 active_objs = num_objs - free_objs; in get_slabinfo()