Home
last modified time | relevance | path

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

/DragonOS-0.1.2/kernel/src/mm/
Dslab.c48 slab_pool->count_total_free = 0; in slab_create()
87 slab_pool->count_total_free = slab_pool->cache_pool_entry->count_free; in slab_create()
169 if (slab_pool->count_total_free == 0) in slab_malloc()
214 slab_pool->count_total_free += tmp_slab_obj->count_free; in slab_malloc()
250 --(slab_pool->count_total_free); in slab_malloc()
312 ++(slab_pool->count_total_free); in slab_free()
320 …if ((slab_obj_ptr->count_using == 0) && ((slab_pool->count_total_free >> 1) >= slab_obj_ptr->count… in slab_free()
324 slab_pool->count_total_free -= slab_obj_ptr->count_free; in slab_free()
380 … kmalloc_cache_group[i].count_total_free = kmalloc_cache_group[i].cache_pool_entry->count_free; in slab_init()
563 if (unlikely(kmalloc_cache_group[index].count_total_free == 0)) in kmalloc()
[all …]
Dmm-stat.c124 result += kmalloc_cache_group[i].size * kmalloc_cache_group[i].count_total_free; in __count_kmalloc_free()
154 …result += kmalloc_cache_group[i].size * (kmalloc_cache_group[i].count_total_free + kmalloc_cache_g… in __count_kmalloc_total()
Dslab.h40 ul count_total_free; member