Lines Matching refs:mem_pool
286 zs_get_total_pages(zram->mem_pool)); in mem_used_max_store()
1064 zs_compact(zram->mem_pool); in compact_store()
1101 mem_used = zs_get_total_pages(zram->mem_pool); in mm_stat_show()
1102 zs_pool_stats(zram->mem_pool, &pool_stats); in mm_stat_show()
1178 zs_destroy_pool(zram->mem_pool); in zram_meta_free()
1191 zram->mem_pool = zs_create_pool(zram->disk->disk_name); in zram_meta_alloc()
1192 if (!zram->mem_pool) { in zram_meta_alloc()
1198 huge_class_size = zs_huge_class_size(zram->mem_pool); in zram_meta_alloc()
1242 zs_free(zram->mem_pool, handle); in zram_free_page()
1295 src = zs_map_object(zram->mem_pool, handle, ZS_MM_RO); in __zram_bvec_read()
1307 zs_unmap_object(zram->mem_pool, handle); in __zram_bvec_read()
1380 zs_free(zram->mem_pool, handle); in __zram_bvec_write()
1400 handle = zs_malloc(zram->mem_pool, comp_len, in __zram_bvec_write()
1408 handle = zs_malloc(zram->mem_pool, comp_len, in __zram_bvec_write()
1416 alloced_pages = zs_get_total_pages(zram->mem_pool); in __zram_bvec_write()
1421 zs_free(zram->mem_pool, handle); in __zram_bvec_write()
1425 dst = zs_map_object(zram->mem_pool, handle, ZS_MM_WO); in __zram_bvec_write()
1435 zs_unmap_object(zram->mem_pool, handle); in __zram_bvec_write()