Home
last modified time | relevance | path

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

/DragonOS-0.1.2/kernel/src/mm/
Dslab.c85 slab_pool->cache_pool_entry->count_free = PAGE_2M_SIZE / slab_pool->size; in slab_create()
87 slab_pool->count_total_free = slab_pool->cache_pool_entry->count_free; in slab_create()
92 slab_pool->cache_pool_entry->bmp_count = slab_pool->cache_pool_entry->count_free; in slab_create()
194 tmp_slab_obj->count_free = PAGE_2M_SIZE / slab_pool->size; in slab_malloc()
196 tmp_slab_obj->bmp_count = tmp_slab_obj->count_free; in slab_malloc()
214 slab_pool->count_total_free += tmp_slab_obj->count_free; in slab_malloc()
223 if (slab_obj_ptr->count_free == 0) in slab_malloc()
247 --(slab_obj_ptr->count_free); in slab_malloc()
309 ++(slab_obj_ptr->count_free); in slab_free()
320 …nt_using == 0) && ((slab_pool->count_total_free >> 1) >= slab_obj_ptr->count_free) && (slab_obj_pt… in slab_free()
[all …]
Dslab.h24 ul count_free; member