Searched refs:zpool (Results 1 – 8 of 8) sorted by relevance
/linux/mm/ |
H A D | zpool.c | 3 * zpool memory storage api 19 #include <linux/zpool.h> 21 struct zpool { struct 30 * zpool_register_driver() - register a zpool implementation. argument 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 ( 22 driverzpool global() argument 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 D | zswap.c | 114 module_param_cb(zpool, &zswap_zpool_param_ops, &zswap_zpool_type, 0644); 160 struct zpool *zpool; member 242 zpool_get_type((p)->zpool)) 273 pool->zpool = zpool_create_pool(type, name, gfp); in zswap_pool_create() 274 if (!pool->zpool) { in zswap_pool_create() 278 pr_debug("using %s zpool\n", zpool_get_type(pool->zpool)); in zswap_pool_create() 314 if (pool->zpool) in zswap_pool_create() 315 zpool_destroy_pool(pool->zpool); in zswap_pool_create() 369 zpool_destroy_pool(pool->zpool); in zswap_pool_destroy() 470 if (strcmp(zpool_get_type(pool->zpool), type)) in zswap_pool_find_get() [all …]
|
/linux/include/linux/ |
H A D | zpool.h | 3 * 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...] |
/linux/Documentation/translations/zh_CN/mm/ |
H A D | z3fold.rst | 21 * z3fold本身没有输出任何API,因此打算通过zpool的API来使用
|
/linux/Documentation/mm/ |
H A D | z3fold.rst | 15 via the zpool API.
|
/linux/Documentation/core-api/ |
H A D | mm-api.rst | 127 .. kernel-doc:: mm/zpool.c
|
/linux/ |
H A D | CREDITS | 3790 D: Creation and maintenance of the zpool API
|
H A D | MAINTAINERS | 26314 F: include/linux/zpool.h 26316 F: mm/zpool.c
|