Searched refs:slab_obj (Results 1 – 2 of 2) sorted by relevance
/DragonOS-0.1.2/kernel/src/mm/ |
D | slab.h | 17 struct slab_obj struct 42 struct slab_obj *cache_pool_entry; argument 44 struct slab_obj *cache_dma_pool_entry; 127 struct slab_obj *kmalloc_create_slab_obj(ul size);
|
D | slab.c | 50 slab_pool->cache_pool_entry = (struct slab_obj *)kmalloc(sizeof(struct slab_obj), 0); in slab_create() 59 memset(slab_pool->cache_pool_entry, 0, sizeof(struct slab_obj)); in slab_create() 123 struct slab_obj *slab_obj_ptr = slab_pool->cache_pool_entry; in slab_destroy() 130 struct slab_obj *tmp_slab_obj = NULL; in slab_destroy() 135 slab_obj_ptr = container_of(list_next(&slab_obj_ptr->list), struct slab_obj, list); in slab_destroy() 165 struct slab_obj *slab_obj_ptr = slab_pool->cache_pool_entry; in slab_malloc() 166 struct slab_obj *tmp_slab_obj = NULL; in slab_malloc() 171 tmp_slab_obj = (struct slab_obj *)kmalloc(sizeof(struct slab_obj), 0); in slab_malloc() 180 memset(tmp_slab_obj, 0, sizeof(struct slab_obj)); in slab_malloc() 225 slab_obj_ptr = container_of(list_next(&slab_obj_ptr->list), struct slab_obj, list); in slab_malloc() [all …]
|