Searched refs:struct_size (Results 1 – 1 of 1) sorted by relevance
452 ul struct_size = 0; in kmalloc_create_slab_obj() local468 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()473 slab_obj_ptr->count_free = (PAGE_2M_SIZE - struct_size) / size; in kmalloc_create_slab_obj()