Searched refs:zpool (Results 1 – 12 of 12) sorted by relevance
/linux-6.3-rc2/mm/ |
A D | zpool.c | 21 struct zpool { struct 152 struct zpool *zpool; in zpool_create_pool() local 168 zpool = kmalloc(sizeof(*zpool), gfp); in zpool_create_pool() 201 void zpool_destroy_pool(struct zpool *zpool) in zpool_destroy_pool() argument 205 zpool->driver->destroy(zpool->pool); in zpool_destroy_pool() 220 const char *zpool_get_type(struct zpool *zpool) in zpool_get_type() argument 279 zpool->driver->free(zpool->pool, handle); in zpool_free() 346 zpool->driver->unmap(zpool->pool, handle); in zpool_unmap_handle() 357 u64 zpool_get_total_size(struct zpool *zpool) in zpool_get_total_size() argument 359 return zpool->driver->total_size(zpool->pool); in zpool_get_total_size() [all …]
|
A D | zswap.c | 151 struct zpool *zpool; member 232 zpool_get_type((p)->zpool)) 263 total += zpool_get_total_size(pool->zpool); in zswap_update_total_size() 370 zpool_free(entry->pool->zpool, entry->handle); in zswap_free_entry() 595 if (zpool_shrink(pool->zpool, 1, NULL)) in shrink_worker() 626 if (!pool->zpool) { in zswap_pool_create() 660 if (pool->zpool) in zswap_pool_create() 661 zpool_destroy_pool(pool->zpool); in zswap_pool_create() 714 zpool_destroy_pool(pool->zpool); in zswap_pool_destroy() 1327 if (zpool_evictable(entry->pool->zpool)) in zswap_frontswap_load() [all …]
|
A D | zbud.c | 107 struct zpool *zpool; member 437 ret = pool->zpool_ops->evict(pool->zpool, first_handle); in zbud_reclaim_page() 442 ret = pool->zpool_ops->evict(pool->zpool, last_handle); in zbud_reclaim_page() 519 struct zpool *zpool) in zbud_zpool_create() argument 525 pool->zpool = zpool; in zbud_zpool_create()
|
A D | z3fold.c | 156 struct zpool *zpool; member 1309 ret = pool->zpool_ops->evict(pool->zpool, middle_handle); in z3fold_reclaim_page() 1314 ret = pool->zpool_ops->evict(pool->zpool, first_handle); in z3fold_reclaim_page() 1319 ret = pool->zpool_ops->evict(pool->zpool, last_handle); in z3fold_reclaim_page() 1583 struct zpool *zpool) in z3fold_zpool_create() argument 1589 pool->zpool = zpool; in z3fold_zpool_create()
|
A D | zsmalloc.c | 263 struct zpool *zpool; member 395 struct zpool *zpool) in zs_zpool_create() argument 405 pool->zpool = zpool; in zs_zpool_create() 2684 ret = pool->zpool_ops->evict(pool->zpool, handle); in zs_reclaim_page()
|
A D | Makefile | 113 obj-$(CONFIG_ZPOOL) += zpool.o
|
A D | Kconfig | 127 command line 'zswap.zpool=' option.
|
/linux-6.3-rc2/include/linux/ |
A D | zpool.h | 15 struct zpool; 18 int (*evict)(struct zpool *pool, unsigned long handle); 45 const char *zpool_get_type(struct zpool *pool); 47 void zpool_destroy_pool(struct zpool *pool); 49 bool zpool_malloc_support_movable(struct zpool *pool); 54 void zpool_free(struct zpool *pool, unsigned long handle); 56 int zpool_shrink(struct zpool *pool, unsigned int pages, 64 u64 zpool_get_total_size(struct zpool *pool); 93 struct zpool *zpool); 116 bool zpool_evictable(struct zpool *pool); [all …]
|
/linux-6.3-rc2/Documentation/admin-guide/mm/ |
A D | zswap.rst | 56 Zswap makes use of zpool for the managing the compressed memory pool. Each 57 allocation in zpool is not directly accessible by address. Rather, a handle is 60 pages are freed. The pool is not preallocated. By default, a zpool 62 but it can be overridden at boot time by setting the ``zpool`` attribute, 63 e.g. ``zswap.zpool=zbud``. It can also be changed at runtime using the sysfs 64 ``zpool`` attribute, e.g.:: 66 echo zbud > /sys/module/zswap/parameters/zpool 70 zbud pages). The zsmalloc type zpool has a more complex compressed page 102 compressed pages are not modified; they are left in their own zpool. When a 103 request is made for a page in an old zpool, it is uncompressed using its [all …]
|
/linux-6.3-rc2/Documentation/translations/zh_CN/mm/ |
A D | z3fold.rst | 21 * z3fold本身没有输出任何API,因此打算通过zpool的API来使用
|
/linux-6.3-rc2/Documentation/mm/ |
A D | z3fold.rst | 15 via the zpool API.
|
/linux-6.3-rc2/ |
A D | MAINTAINERS | 23138 F: include/linux/zpool.h 23139 F: mm/zpool.c
|
Completed in 40 milliseconds