Lines Matching refs:ul
33 struct slab *slab_create(ul size, void *(*constructor)(void *vaddr, ul arg), void *(*destructor)(vo… in slab_create()
95 …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()
121 ul slab_destroy(struct slab *slab_pool) in slab_destroy()
163 void *slab_malloc(struct slab *slab_pool, ul arg) in slab_malloc()
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()
289 ul slab_free(struct slab *slab_pool, void *addr, ul arg) in slab_free()
346 ul slab_init() in slab_init()
350 ul tmp_addr = memory_management_struct.end_of_struct; in slab_init()
358 memory_management_struct.end_of_struct += sizeof(struct slab_obj) + (sizeof(ul) << 2); in slab_init()
365 …>bmp_len = (((kmalloc_cache_group[i].cache_pool_entry->count_free + sizeof(ul) * 8 - 1) >> 6) << 3… in slab_init()
369 kmalloc_cache_group[i].cache_pool_entry->bmp = (ul *)memory_management_struct.end_of_struct; in slab_init()
372 …f_struct = (ul)(memory_management_struct.end_of_struct + kmalloc_cache_group[i].cache_pool_entry->… in slab_init()
387 ul tmp_page_mms_end = virt_2_phys(memory_management_struct.end_of_struct) >> PAGE_2M_SHIFT; in slab_init()
389 ul page_num = 0; in slab_init()
404 ul *virt = NULL; in slab_init()
408 …virt = (ul *)((memory_management_struct.end_of_struct + PAGE_2M_SIZE * i + PAGE_2M_SIZE - 1) & PAG… in slab_init()
438 struct slab_obj *kmalloc_create_slab_obj(ul size) in kmalloc_create_slab_obj()
451 ul *vaddr = NULL; in kmalloc_create_slab_obj()
452 ul struct_size = 0; 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()
509 slab_obj_ptr->bmp_len = ((slab_obj_ptr->bmp_count + sizeof(ul) * 8 - 1) >> 6) << 3; in kmalloc_create_slab_obj()
511 slab_obj_ptr->bmp = (ul *)kmalloc(slab_obj_ptr->bmp_len, 0); in kmalloc_create_slab_obj()
641 void *page_base_addr = (void *)((ul)address & PAGE_2M_MASK); in kfree()