Home
last modified time | relevance | path

Searched refs:zpool (Results 1 – 6 of 6) sorted by relevance

/mm/
Dzpool.c20 struct zpool { struct
153 struct zpool *zpool_create_pool(const char *type, const char *name, gfp_t gfp, in zpool_create_pool()
157 struct zpool *zpool; in zpool_create_pool() local
173 zpool = kmalloc(sizeof(*zpool), gfp); in zpool_create_pool()
174 if (!zpool) { in zpool_create_pool()
180 zpool->driver = driver; in zpool_create_pool()
181 zpool->pool = driver->create(name, gfp, ops, zpool); in zpool_create_pool()
182 zpool->ops = ops; in zpool_create_pool()
184 if (!zpool->pool) { in zpool_create_pool()
187 kfree(zpool); in zpool_create_pool()
[all …]
Dzswap.c111 module_param_cb(zpool, &zswap_zpool_param_ops, &zswap_zpool_type, 0644);
122 struct zpool *zpool; member
194 zpool_get_type((p)->zpool))
196 static int zswap_writeback_entry(struct zpool *pool, unsigned long handle);
218 total += zpool_get_total_size(pool->zpool); in zswap_update_total_size()
318 zpool_free(entry->pool->zpool, entry->handle); in zswap_free_entry()
565 if (strcmp(zpool_get_type(pool->zpool), type)) in zswap_pool_find_get()
591 pool->zpool = zpool_create_pool(type, name, gfp, &zswap_zpool_ops); in zswap_pool_create()
592 if (!pool->zpool) { in zswap_pool_create()
596 pr_debug("using %s zpool\n", zpool_get_type(pool->zpool)); in zswap_pool_create()
[all …]
Dzbud.c101 struct zpool *zpool; member
130 if (pool->zpool && pool->zpool_ops && pool->zpool_ops->evict) in zbud_zpool_evict()
131 return pool->zpool_ops->evict(pool->zpool, handle); in zbud_zpool_evict()
142 struct zpool *zpool) in zbud_zpool_create() argument
148 pool->zpool = zpool; in zbud_zpool_create()
Dz3fold.c85 struct zpool *zpool; member
689 if (pool->zpool && pool->zpool_ops && pool->zpool_ops->evict) in z3fold_zpool_evict()
690 return pool->zpool_ops->evict(pool->zpool, handle); in z3fold_zpool_evict()
701 struct zpool *zpool) in z3fold_zpool_create() argument
707 pool->zpool = zpool; in z3fold_zpool_create()
DMakefile89 obj-$(CONFIG_ZPOOL) += zpool.o
Dzsmalloc.c390 struct zpool *zpool) in zs_zpool_create() argument