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

/linux-master/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);
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; local
199 zpool_destroy_pool(struct zpool *zpool) argument
218 zpool_get_type(struct zpool *zpool) argument
234 zpool_malloc_support_movable(struct zpool *zpool) argument
255 zpool_malloc(struct zpool *zpool, size_t size, gfp_t gfp, unsigned long *handle) argument
275 zpool_free(struct zpool *zpool, unsigned long handle) argument
302 zpool_map_handle(struct zpool *zpool, unsigned long handle, enum zpool_mapmode mapmode) argument
318 zpool_unmap_handle(struct zpool *zpool, unsigned long handle) argument
331 zpool_get_total_size(struct zpool *zpool) argument
349 zpool_can_sleep_mapped(struct zpool *zpool) argument
[all...]
H A Dzswap.c29 #include <linux/zpool.h>
110 /* Compressed storage zpool to use */
118 module_param_cb(zpool, &zswap_zpool_param_ops, &zswap_zpool_type, 0644);
175 struct zpool *zpools[ZSWAP_NR_ZPOOLS];
207 * handle - zpool allocation handle that stores the compressed page data
237 /* pool counter to provide unique names to zpool */
342 pr_err("%s zpool not available\n", type);
346 pr_debug("using %s zpool\n", zpool_get_type(pool->zpools[0]));
408 pr_err("zpool %s not available, using default %s\n",
415 pr_err("default zpool
1007 struct zpool *zpool; local
1074 struct zpool *zpool = zswap_find_zpool(entry); local
[all...]
H A Dzbud.c54 #include <linux/zpool.h>
380 * zpool
431 MODULE_ALIAS("zpool-zbud");
H A DMakefile107 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>
1372 * zpool
1423 MODULE_ALIAS("zpool-z3fold");
H A Dzsmalloc.c59 #include <linux/zpool.h>
344 /* zpool driver */
420 MODULE_ALIAS("zpool-zsmalloc");
/linux-master/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 204 milliseconds