Home
last modified time | relevance | path

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

/DragonOS-0.1.2/kernel/src/mm/
Dslab.c92 slab_pool->cache_pool_entry->bmp_count = slab_pool->cache_pool_entry->count_free; in slab_create()
95 …slab_pool->cache_pool_entry->bmp_len = ((slab_pool->cache_pool_entry->bmp_count + sizeof(ul) * 8 -… in slab_create()
196 tmp_slab_obj->bmp_count = tmp_slab_obj->count_free; in slab_malloc()
198 tmp_slab_obj->bmp_len = ((tmp_slab_obj->bmp_count + sizeof(ul) * 8 - 1) >> 6) << 3; in slab_malloc()
229 for (int i = 0; i < slab_obj_ptr->bmp_count; ++i) in slab_malloc()
366 …kmalloc_cache_group[i].cache_pool_entry->bmp_count = kmalloc_cache_group[i].cache_pool_entry->coun… in slab_init()
376 for (int j = 0; j < kmalloc_cache_group[i].cache_pool_entry->bmp_count; ++j) in slab_init()
475 slab_obj_ptr->bmp_count = slab_obj_ptr->count_free; in kmalloc_create_slab_obj()
481 slab_obj_ptr->bmp_len = ((slab_obj_ptr->bmp_count + sizeof(ul) * 8 - 1) >> 6) << 3; in kmalloc_create_slab_obj()
486 for (int i = 0; i < slab_obj_ptr->bmp_count; ++i) in kmalloc_create_slab_obj()
[all …]
Dslab.h31 ul bmp_count; // 位图的有效位数 member