Home
last modified time | relevance | path

Searched refs:zpool (Results 1 - 14 of 14) sorted by relevance

/kernel/linux/linux-5.10/mm/
H A Dzpool.c3 * zpool memory storage api
19 #include <linux/zpool.h>
21 struct zpool { struct
38 * zpool_register_driver() - register a zpool implementation.
51 * zpool_unregister_driver() - unregister a zpool implementation.
106 * @type: The type of the zpool to check (e.g. zbud, zsmalloc)
127 request_module("zpool-%s", type); in zpool_has_pool()
140 * zpool_create_pool() - Create a new zpool
141 * @type: The type of the zpool to create (e.g. zbud, zsmalloc)
142 * @name: The name of the zpool (
160 struct zpool *zpool; zpool_create_pool() local
216 zpool_destroy_pool(struct zpool *zpool) zpool_destroy_pool() argument
238 zpool_get_type(struct zpool *zpool) zpool_get_type() argument
254 zpool_malloc_support_movable(struct zpool *zpool) zpool_malloc_support_movable() argument
275 zpool_malloc(struct zpool *zpool, size_t size, gfp_t gfp, unsigned long *handle) zpool_malloc() argument
295 zpool_free(struct zpool *zpool, unsigned long handle) zpool_free() argument
317 zpool_shrink(struct zpool *zpool, unsigned int pages, unsigned int *reclaimed) zpool_shrink() argument
346 zpool_map_handle(struct zpool *zpool, unsigned long handle, enum zpool_mapmode mapmode) zpool_map_handle() argument
362 zpool_unmap_handle(struct zpool *zpool, unsigned long handle) zpool_unmap_handle() argument
375 zpool_get_total_size(struct zpool *zpool) zpool_get_total_size() argument
393 zpool_evictable(struct zpool *zpool) zpool_evictable() argument
404 zpool_can_sleep_mapped(struct zpool *zpool) zpool_can_sleep_mapped() argument
[all...]
H A Dzswap.c28 #include <linux/zpool.h>
102 /* Compressed storage zpool to use */
110 module_param_cb(zpool, &zswap_zpool_param_ops, &zswap_zpool_type, 0644);
131 struct zpool *zpool; member
158 * handle - zpool allocation handle that stores the compressed page data
193 /* pool counter to provide unique names to zpool */
211 zpool_get_type((p)->zpool))
213 static int zswap_writeback_entry(struct zpool *pool, unsigned long handle);
242 total += zpool_get_total_size(pool->zpool); in zswap_update_total_size()
[all...]
H A Dzbud.c55 #include <linux/zpool.h>
102 struct zpool *zpool; member
124 * zpool
131 if (pool->zpool && pool->zpool_ops && pool->zpool_ops->evict) in zbud_zpool_evict()
132 return pool->zpool_ops->evict(pool->zpool, handle); in zbud_zpool_evict()
143 struct zpool *zpool) in zbud_zpool_create()
149 pool->zpool = zpool; in zbud_zpool_create()
141 zbud_zpool_create(const char *name, gfp_t gfp, const struct zpool_ops *zpool_ops, struct zpool *zpool) zbud_zpool_create() argument
[all...]
H A Dz3fold.c21 * z3fold doesn't export any API and is meant to be used via zpool API.
44 #include <linux/zpool.h>
165 struct zpool *zpool; member
1712 * zpool
1717 if (pool->zpool && pool->zpool_ops && pool->zpool_ops->evict) in z3fold_zpool_evict()
1718 return pool->zpool_ops->evict(pool->zpool, handle); in z3fold_zpool_evict()
1729 struct zpool *zpool) in z3fold_zpool_create()
1736 pool->zpool in z3fold_zpool_create()
1727 z3fold_zpool_create(const char *name, gfp_t gfp, const struct zpool_ops *zpool_ops, struct zpool *zpool) z3fold_zpool_create() argument
[all...]
H A DMakefile106 obj-$(CONFIG_ZPOOL) += zpool.o
H A Dzsmalloc.c53 #include <linux/zpool.h>
379 /* zpool driver */
385 struct zpool *zpool) in zs_zpool_create()
454 MODULE_ALIAS("zpool-zsmalloc");
383 zs_zpool_create(const char *name, gfp_t gfp, const struct zpool_ops *zpool_ops, struct zpool *zpool) zs_zpool_create() argument
/kernel/linux/linux-6.6/mm/
H A Dzpool.c3 * zpool memory storage api
19 #include <linux/zpool.h>
21 struct zpool { struct
30 * zpool_register_driver() - register a zpool implementation.
43 * zpool_unregister_driver() - unregister a zpool implementation.
98 * @type: The type of the zpool to check (e.g. zbud, zsmalloc)
119 request_module("zpool-%s", type); in zpool_has_pool()
132 * zpool_create_pool() - Create a new zpool
133 * @type: The type of the zpool to create (e.g. zbud, zsmalloc)
134 * @name: The name of the zpool (
150 struct zpool *zpool; zpool_create_pool() local
199 zpool_destroy_pool(struct zpool *zpool) zpool_destroy_pool() argument
218 zpool_get_type(struct zpool *zpool) zpool_get_type() argument
234 zpool_malloc_support_movable(struct zpool *zpool) zpool_malloc_support_movable() argument
255 zpool_malloc(struct zpool *zpool, size_t size, gfp_t gfp, unsigned long *handle) zpool_malloc() argument
275 zpool_free(struct zpool *zpool, unsigned long handle) zpool_free() argument
302 zpool_map_handle(struct zpool *zpool, unsigned long handle, enum zpool_mapmode mapmode) zpool_map_handle() argument
318 zpool_unmap_handle(struct zpool *zpool, unsigned long handle) zpool_unmap_handle() argument
331 zpool_get_total_size(struct zpool *zpool) zpool_get_total_size() argument
349 zpool_can_sleep_mapped(struct zpool *zpool) zpool_can_sleep_mapped() argument
[all...]
H A Dzswap.c28 #include <linux/zpool.h>
108 /* Compressed storage zpool to use */
116 module_param_cb(zpool, &zswap_zpool_param_ops, &zswap_zpool_type, 0644);
166 struct zpool *zpools[ZSWAP_NR_ZPOOLS];
196 * handle - zpool allocation handle that stores the compressed page data
231 /* pool counter to provide unique names to zpool */
373 static struct zpool *zswap_find_zpool(struct zswap_entry *entry) in zswap_find_zpool()
384 * Carries out the common pattern of freeing and entry's zpool allocation,
446 * If users dynamically change the zpool type and compressor at runtime, i.e.
447 * zswap is running, zswap can have more than one zpool o
1205 struct zpool *zpool; zswap_store() local
1407 struct zpool *zpool; zswap_load() local
[all...]
H A Dzbud.c54 #include <linux/zpool.h>
380 * zpool
431 MODULE_ALIAS("zpool-zbud");
H A DMakefile112 obj-$(CONFIG_ZPOOL) += zpool.o
H A Dz3fold.c21 * z3fold doesn't export any API and is meant to be used via zpool API.
41 #include <linux/zpool.h>
1371 * zpool
1422 MODULE_ALIAS("zpool-z3fold");
H A Dzsmalloc.c59 #include <linux/zpool.h>
350 /* zpool driver */
426 MODULE_ALIAS("zpool-zsmalloc");
/kernel/linux/linux-5.10/include/linux/
H A Dzpool.h3 * zpool memory storage api
15 struct zpool;
18 int (*evict)(struct zpool *pool, unsigned long handle);
42 struct zpool *zpool_create_pool(const char *type, const char *name,
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);
51 int zpool_malloc(struct zpool *pool, size_t size, gfp_t gfp,
54 void zpool_free(struct zpool *pool, unsigned long handle);
56 int zpool_shrink(struct zpool *poo
[all...]
/kernel/linux/linux-6.6/include/linux/
H A Dzpool.h3 * zpool memory storage api
15 struct zpool;
38 struct zpool *zpool_create_pool(const char *type, const char *name, gfp_t gfp);
40 const char *zpool_get_type(struct zpool *pool);
42 void zpool_destroy_pool(struct zpool *pool);
44 bool zpool_malloc_support_movable(struct zpool *pool);
46 int zpool_malloc(struct zpool *pool, size_t size, gfp_t gfp,
49 void zpool_free(struct zpool *pool, unsigned long handle);
51 void *zpool_map_handle(struct zpool *pool, unsigned long handle,
54 void zpool_unmap_handle(struct zpool *poo
[all...]

Completed in 16 milliseconds