Lines Matching refs:count_free

85     slab_pool->cache_pool_entry->count_free = PAGE_2M_SIZE / slab_pool->size;  in slab_create()
87 slab_pool->count_total_free = slab_pool->cache_pool_entry->count_free; in slab_create()
92 slab_pool->cache_pool_entry->bmp_count = slab_pool->cache_pool_entry->count_free; in slab_create()
194 tmp_slab_obj->count_free = PAGE_2M_SIZE / slab_pool->size; in slab_malloc()
196 tmp_slab_obj->bmp_count = tmp_slab_obj->count_free; in slab_malloc()
214 slab_pool->count_total_free += tmp_slab_obj->count_free; in slab_malloc()
223 if (slab_obj_ptr->count_free == 0) in slab_malloc()
247 --(slab_obj_ptr->count_free); in slab_malloc()
309 ++(slab_obj_ptr->count_free); in slab_free()
320 …nt_using == 0) && ((slab_pool->count_total_free >> 1) >= slab_obj_ptr->count_free) && (slab_obj_pt… in slab_free()
324 slab_pool->count_total_free -= slab_obj_ptr->count_free; in slab_free()
364 … kmalloc_cache_group[i].cache_pool_entry->count_free = PAGE_2M_SIZE / kmalloc_cache_group[i].size; in slab_init()
365 …ache_pool_entry->bmp_len = (((kmalloc_cache_group[i].cache_pool_entry->count_free + sizeof(ul) * 8… in slab_init()
366 …c_cache_group[i].cache_pool_entry->bmp_count = kmalloc_cache_group[i].cache_pool_entry->count_free; in slab_init()
380 … kmalloc_cache_group[i].count_total_free = kmalloc_cache_group[i].cache_pool_entry->count_free; in slab_init()
473 slab_obj_ptr->count_free = (PAGE_2M_SIZE - struct_size) / size; in kmalloc_create_slab_obj()
475 slab_obj_ptr->bmp_count = slab_obj_ptr->count_free; in kmalloc_create_slab_obj()
505 slab_obj_ptr->count_free = PAGE_2M_SIZE / size; in kmalloc_create_slab_obj()
507 slab_obj_ptr->bmp_count = slab_obj_ptr->count_free; in kmalloc_create_slab_obj()
575 kmalloc_cache_group[index].count_total_free += slab_obj_ptr->count_free; in kmalloc()
583 if (slab_obj_ptr->count_free == 0) in kmalloc()
606 --(slab_obj_ptr->count_free); in kmalloc()
666 ++(slab_obj_ptr->count_free); in kfree()