Searched refs:kmalloc_cache_group (Results 1 – 2 of 2) sorted by relevance
17 extern const struct slab kmalloc_cache_group[16];122 for (int i = 0; i < sizeof(kmalloc_cache_group) / sizeof(struct slab); ++i) in __count_kmalloc_free()124 result += kmalloc_cache_group[i].size * kmalloc_cache_group[i].count_total_free; in __count_kmalloc_free()137 for (int i = 0; i < sizeof(kmalloc_cache_group) / sizeof(struct slab); ++i) in __count_kmalloc_using()139 result += kmalloc_cache_group[i].size * kmalloc_cache_group[i].count_total_using; in __count_kmalloc_using()152 for (int i = 0; i < sizeof(kmalloc_cache_group) / sizeof(struct slab); ++i) in __count_kmalloc_total()154 …result += kmalloc_cache_group[i].size * (kmalloc_cache_group[i].count_total_free + kmalloc_cache_g… in __count_kmalloc_total()
4 struct slab kmalloc_cache_group[16] = variable354 spin_init(&kmalloc_cache_group[i].lock); in slab_init()356 …kmalloc_cache_group[i].cache_pool_entry = (struct slab_obj *)memory_management_struct.end_of_struc… in slab_init()360 list_init(&kmalloc_cache_group[i].cache_pool_entry->list); in slab_init()363 kmalloc_cache_group[i].cache_pool_entry->count_using = 0; in slab_init()364 … kmalloc_cache_group[i].cache_pool_entry->count_free = PAGE_2M_SIZE / kmalloc_cache_group[i].size; in slab_init()365 …kmalloc_cache_group[i].cache_pool_entry->bmp_len = (((kmalloc_cache_group[i].cache_pool_entry->cou… in slab_init()366 …kmalloc_cache_group[i].cache_pool_entry->bmp_count = kmalloc_cache_group[i].cache_pool_entry->coun… in slab_init()369 kmalloc_cache_group[i].cache_pool_entry->bmp = (ul *)memory_management_struct.end_of_struct; in slab_init()372 …ruct.end_of_struct = (ul)(memory_management_struct.end_of_struct + kmalloc_cache_group[i].cache_po… in slab_init()[all …]