Searched refs:zpool (Results 1 – 10 of 10) sorted by relevance
| /linux-6.15/mm/ |
| H A D | zpool.c | 21 struct zpool { struct 150 struct zpool *zpool; in zpool_create_pool() local 166 zpool = kmalloc(sizeof(*zpool), gfp); in zpool_create_pool() 167 if (!zpool) { in zpool_create_pool() 185 return zpool; in zpool_create_pool() 199 void zpool_destroy_pool(struct zpool *zpool) in zpool_destroy_pool() argument 203 zpool->driver->destroy(zpool->pool); in zpool_destroy_pool() 218 const char *zpool_get_type(struct zpool *zpool) in zpool_get_type() argument 261 zpool->driver->free(zpool->pool, handle); in zpool_free() 320 u64 zpool_get_total_pages(struct zpool *zpool) in zpool_get_total_pages() argument [all …]
|
| H A D | zswap.c | 162 struct zpool *zpool; member 244 zpool_get_type((p)->zpool)) 276 if (!pool->zpool) { in zswap_pool_create() 316 if (pool->zpool) in zswap_pool_create() 317 zpool_destroy_pool(pool->zpool); in zswap_pool_create() 371 zpool_destroy_pool(pool->zpool); in zswap_pool_destroy() 948 struct zpool *zpool; in zswap_compress() local 982 zpool = pool->zpool; in zswap_compress() 1006 struct zpool *zpool = entry->pool->zpool; in zswap_decompress() local 1553 zpool_free(pool->zpool, entry->handle); in zswap_store_page() [all …]
|
| H A D | Makefile | 118 obj-$(CONFIG_ZPOOL) += zpool.o
|
| H A D | Kconfig | 140 command line 'zswap.zpool=' option.
|
| /linux-6.15/include/linux/ |
| H A D | zpool.h | 14 struct zpool; 18 struct zpool *zpool_create_pool(const char *type, const char *name, gfp_t gfp); 20 const char *zpool_get_type(struct zpool *pool); 22 void zpool_destroy_pool(struct zpool *pool); 24 int zpool_malloc(struct zpool *pool, size_t size, gfp_t gfp, 27 void zpool_free(struct zpool *pool, unsigned long handle); 29 void *zpool_obj_read_begin(struct zpool *zpool, unsigned long handle, 32 void zpool_obj_read_end(struct zpool *zpool, unsigned long handle, 35 void zpool_obj_write(struct zpool *zpool, unsigned long handle, 38 u64 zpool_get_total_pages(struct zpool *pool); [all …]
|
| /linux-6.15/Documentation/admin-guide/mm/ |
| H 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, 64 ``zpool`` attribute, e.g.:: 66 echo zsmalloc > /sys/module/zswap/parameters/zpool 68 The zsmalloc type zpool has a complex compressed page storage method, and it 99 When the zpool and/or compressor parameter is changed at runtime, any existing 100 compressed pages are not modified; they are left in their own zpool. When a 101 request is made for a page in an old zpool, it is uncompressed using its [all …]
|
| /linux-6.15/Documentation/core-api/ |
| H A D | mm-api.rst | 127 .. kernel-doc:: mm/zpool.c
|
| /linux-6.15/Documentation/driver-api/crypto/iaa/ |
| H A D | iaa-crypto.rst | 479 # echo zsmalloc > /sys/module/zswap/parameters/zpool 628 echo zsmalloc > /sys/module/zswap/parameters/zpool
|
| /linux-6.15/ |
| H A D | CREDITS | 3822 D: Creation and maintenance of the zpool API
|
| H A D | MAINTAINERS | 26960 F: include/linux/zpool.h 26962 F: mm/zpool.c
|