Lines Matching refs:slab_obj
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()
291 struct slab_obj *slab_obj_ptr = slab_pool->cache_pool_entry; in slab_free()
298 slab_obj_ptr = container_of(list_next(&slab_obj_ptr->list), struct slab_obj, list); in slab_free()
356 …kmalloc_cache_group[i].cache_pool_entry = (struct slab_obj *)memory_management_struct.end_of_struc… in slab_init()
358 memory_management_struct.end_of_struct += sizeof(struct slab_obj) + (sizeof(ul) << 2); in slab_init()
438 struct slab_obj *kmalloc_create_slab_obj(ul size) in kmalloc_create_slab_obj()
453 struct slab_obj *slab_obj_ptr; in kmalloc_create_slab_obj()
468 struct_size = sizeof(struct slab_obj) + PAGE_2M_SIZE / size / 8; in kmalloc_create_slab_obj()
470 slab_obj_ptr = (struct slab_obj *)((unsigned char *)vaddr + PAGE_2M_SIZE - struct_size); in kmalloc_create_slab_obj()
471 slab_obj_ptr->bmp = (void *)slab_obj_ptr + sizeof(struct slab_obj); in kmalloc_create_slab_obj()
503 slab_obj_ptr = (struct slab_obj *)kmalloc(sizeof(struct slab_obj), 0); in kmalloc_create_slab_obj()
560 struct slab_obj *slab_obj_ptr = kmalloc_cache_group[index].cache_pool_entry; in kmalloc()
584 slab_obj_ptr = container_of(list_next(&slab_obj_ptr->list), struct slab_obj, list); in kmalloc()
638 struct slab_obj *slab_obj_ptr = NULL; in kfree()
654 slab_obj_ptr = container_of(list_next(&slab_obj_ptr->list), struct slab_obj, list); in kfree()