Home
last modified time | relevance | path

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

/DragonOS-0.1.2/kernel/src/mm/
Dslab.c123 struct slab_obj *slab_obj_ptr = slab_pool->cache_pool_entry; in slab_destroy() local
131 while (!list_empty(&slab_obj_ptr->list)) in slab_destroy()
133 tmp_slab_obj = slab_obj_ptr; in slab_destroy()
135 slab_obj_ptr = container_of(list_next(&slab_obj_ptr->list), struct slab_obj, list); in slab_destroy()
148 kfree(slab_obj_ptr->bmp); in slab_destroy()
149 page_clean(slab_obj_ptr->page); in slab_destroy()
150 free_pages(slab_obj_ptr->page, 1); in slab_destroy()
151 kfree(slab_obj_ptr); in slab_destroy()
165 struct slab_obj *slab_obj_ptr = slab_pool->cache_pool_entry; in slab_malloc() local
216 slab_obj_ptr = tmp_slab_obj; in slab_malloc()
[all …]