Home
last modified time | relevance | path

Searched refs:zs_pool (Results 1 – 3 of 3) sorted by relevance

/linux-6.15/include/linux/
H A Dzsmalloc.h24 struct zs_pool;
26 struct zs_pool *zs_create_pool(const char *name);
27 void zs_destroy_pool(struct zs_pool *pool);
30 void zs_free(struct zs_pool *pool, unsigned long obj);
32 size_t zs_huge_class_size(struct zs_pool *pool);
34 unsigned long zs_get_total_pages(struct zs_pool *pool);
35 unsigned long zs_compact(struct zs_pool *pool);
39 void zs_pool_stats(struct zs_pool *pool, struct zs_pool_stats *stats);
41 void *zs_obj_read_begin(struct zs_pool *pool, unsigned long handle,
43 void zs_obj_read_end(struct zs_pool *pool, unsigned long handle,
[all …]
/linux-6.15/mm/
H A Dzsmalloc.c206 struct zs_pool { struct
280 struct zs_pool *pool;
383 static int create_cache(struct zs_pool *pool) in create_cache()
411 static void destroy_cache(struct zs_pool *pool) in destroy_cache()
632 struct zs_pool *pool = s->private; in zs_stats_size_show()
1286 size_t zs_huge_class_size(struct zs_pool *pool) in zs_huge_class_size()
1738 struct zs_pool *pool; in zs_page_migrate()
1841 struct zs_pool *pool = container_of(work, struct zs_pool, in async_free_zspage()
1980 unsigned long zs_compact(struct zs_pool *pool) in zs_compact()
2104 struct zs_pool *pool; in zs_create_pool()
[all …]
/linux-6.15/drivers/block/zram/
H A Dzram_drv.h105 struct zs_pool *mem_pool;