Home
last modified time | relevance | path

Searched refs:bmp_len (Results 1 – 4 of 4) sorted by relevance

/DragonOS-0.1.2/kernel/src/mm/
Dslab.c95 …slab_pool->cache_pool_entry->bmp_len = ((slab_pool->cache_pool_entry->bmp_count + sizeof(ul) * 8 -… in slab_create()
97 slab_pool->cache_pool_entry->bmp = (ul *)kmalloc(slab_pool->cache_pool_entry->bmp_len, 0); in slab_create()
109 memset(slab_pool->cache_pool_entry->bmp, 0, slab_pool->cache_pool_entry->bmp_len); in slab_create()
198 tmp_slab_obj->bmp_len = ((tmp_slab_obj->bmp_count + sizeof(ul) * 8 - 1) >> 6) << 3; in slab_malloc()
199 tmp_slab_obj->bmp = (ul *)kmalloc(tmp_slab_obj->bmp_len, 0); in slab_malloc()
210 memset(tmp_slab_obj->bmp, 0, tmp_slab_obj->bmp_len); in slab_malloc()
365 …kmalloc_cache_group[i].cache_pool_entry->bmp_len = (((kmalloc_cache_group[i].cache_pool_entry->cou… in slab_init()
372 …nagement_struct.end_of_struct + kmalloc_cache_group[i].cache_pool_entry->bmp_len + (sizeof(ul) << … in slab_init()
375 …lloc_cache_group[i].cache_pool_entry->bmp, 0xff, kmalloc_cache_group[i].cache_pool_entry->bmp_len); in slab_init()
481 slab_obj_ptr->bmp_len = ((slab_obj_ptr->bmp_count + sizeof(ul) * 8 - 1) >> 6) << 3; in kmalloc_create_slab_obj()
[all …]
Dslab.h30 ul bmp_len; // 位图的长度(字节) member
Dmm-types.h53 ul bmp_len; // bmp的长度 member
Dmm.c109 …memory_management_struct.bmp_len = (((unsigned long)(max_addr >> PAGE_2M_SHIFT) + sizeof(unsigned … in mm_init()
113 memset(memory_management_struct.bmp, 0xff, memory_management_struct.bmp_len); in mm_init()
117 …(((unsigned long)memory_management_struct.bmp + memory_management_struct.bmp_len + PAGE_4K_SIZE - … in mm_init()