Home
last modified time | relevance | path

Searched refs:mem_pool (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/drivers/block/zram/
Dzram_drv.c285 zs_get_total_pages(zram->mem_pool)); in mem_used_max_store()
1055 zs_compact(zram->mem_pool); in compact_store()
1092 mem_used = zs_get_total_pages(zram->mem_pool); in mm_stat_show()
1093 zs_pool_stats(zram->mem_pool, &pool_stats); in mm_stat_show()
1169 zs_destroy_pool(zram->mem_pool); in zram_meta_free()
1182 zram->mem_pool = zs_create_pool(zram->disk->disk_name); in zram_meta_alloc()
1183 if (!zram->mem_pool) { in zram_meta_alloc()
1189 huge_class_size = zs_huge_class_size(zram->mem_pool); in zram_meta_alloc()
1233 zs_free(zram->mem_pool, handle); in zram_free_page()
1289 src = zs_map_object(zram->mem_pool, handle, ZS_MM_RO); in __zram_bvec_read()
[all …]
Dzram_drv.h94 struct zs_pool *mem_pool; member
/linux-6.1.9/drivers/firmware/google/
Dgsmi.c99 struct kmem_cache *mem_pool; /* kmem cache for gsmi_buf allocations */ member
163 smibuf->start = kmem_cache_alloc(gsmi_dev.mem_pool, GFP_KERNEL); in gsmi_buf_alloc()
181 kmem_cache_free(gsmi_dev.mem_pool, smibuf->start); in gsmi_buf_free()
938 gsmi_dev.mem_pool = kmem_cache_create("gsmi", GSMI_BUF_SIZE, in gsmi_init()
941 if (!gsmi_dev.mem_pool) in gsmi_init()
1057 kmem_cache_destroy(gsmi_dev.mem_pool); in gsmi_init()
1082 kmem_cache_destroy(gsmi_dev.mem_pool); in gsmi_exit()
/linux-6.1.9/mm/
Dkmemleak.c195 static struct kmemleak_object mem_pool[CONFIG_DEBUG_KMEMLEAK_MEM_POOL_SIZE]; variable
196 static int mem_pool_free_count = ARRAY_SIZE(mem_pool);
459 object = &mem_pool[--mem_pool_free_count]; in mem_pool_alloc()
474 if (object < mem_pool || object >= mem_pool + ARRAY_SIZE(mem_pool)) { in mem_pool_free()