Searched refs:zs_pool (Results 1 – 3 of 3) sorted by relevance
195 struct zs_pool { struct270 struct zs_pool *pool;364 static void kick_deferred_free(struct zs_pool *pool);365 static void init_deferred_free(struct zs_pool *pool);366 static void SetZsPageMovable(struct zs_pool *pool, struct zspage *zspage);368 static void kick_deferred_free(struct zs_pool *pool) {} in kick_deferred_free()369 static void init_deferred_free(struct zs_pool *pool) {} in init_deferred_free()370 static void SetZsPageMovable(struct zs_pool *pool, struct zspage *zspage) {} in SetZsPageMovable()373 static int create_cache(struct zs_pool *pool) in create_cache()401 static void destroy_cache(struct zs_pool *pool) in destroy_cache()[all …]
154 struct zs_pool *zs_pool; member260 pool->zs_pool = zs_create_pool(name); in zswap_pool_create()261 if (!pool->zs_pool) in zswap_pool_create()298 if (pool->zs_pool) in zswap_pool_create()299 zs_destroy_pool(pool->zs_pool); in zswap_pool_create()330 zs_destroy_pool(pool->zs_pool); in zswap_pool_destroy()457 total += zs_get_total_pages(pool->zs_pool); in zswap_total_pages()720 zs_free(entry->pool->zs_pool, entry->handle); in zswap_entry_free()909 handle = zs_malloc(pool->zs_pool, dlen, gfp, page_to_nid(page)); in zswap_compress()915 zs_obj_write(pool->zs_pool, handle, dst, dlen); in zswap_compress()[all …]
105 struct zs_pool *mem_pool;