Searched refs:zpool (Results 1 – 6 of 6) sorted by relevance
/mm/ |
D | zpool.c | 21 struct zpool { struct 155 struct zpool *zpool_create_pool(const char *type, const char *name, gfp_t gfp, in zpool_create_pool() 159 struct zpool *zpool; in zpool_create_pool() local 175 zpool = kmalloc(sizeof(*zpool), gfp); in zpool_create_pool() 176 if (!zpool) { in zpool_create_pool() 182 zpool->driver = driver; in zpool_create_pool() 183 zpool->pool = driver->create(name, gfp, ops, zpool); in zpool_create_pool() 184 zpool->ops = ops; in zpool_create_pool() 185 zpool->evictable = driver->shrink && ops && ops->evict; in zpool_create_pool() 187 if (!zpool->pool) { in zpool_create_pool() [all …]
|
D | zswap.c | 106 module_param_cb(zpool, &zswap_zpool_param_ops, &zswap_zpool_type, 0644); 122 struct zpool *zpool; member 201 zpool_get_type((p)->zpool)) 203 static int zswap_writeback_entry(struct zpool *pool, unsigned long handle); 225 total += zpool_get_total_size(pool->zpool); in zswap_update_total_size() 328 zpool_free(entry->pool->zpool, entry->handle); in zswap_free_entry() 493 if (strcmp(zpool_get_type(pool->zpool), type)) in zswap_pool_find_get() 529 pool->zpool = zpool_create_pool(type, name, gfp, &zswap_zpool_ops); in zswap_pool_create() 530 if (!pool->zpool) { in zswap_pool_create() 534 pr_debug("using %s zpool\n", zpool_get_type(pool->zpool)); in zswap_pool_create() [all …]
|
D | zbud.c | 102 struct zpool *zpool; member 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() argument 149 pool->zpool = zpool; in zbud_zpool_create()
|
D | z3fold.c | 162 struct zpool *zpool; member 1471 if (pool->zpool && pool->zpool_ops && pool->zpool_ops->evict) in z3fold_zpool_evict() 1472 return pool->zpool_ops->evict(pool->zpool, handle); in z3fold_zpool_evict() 1483 struct zpool *zpool) in z3fold_zpool_create() argument 1490 pool->zpool = zpool; in z3fold_zpool_create()
|
D | Makefile | 92 obj-$(CONFIG_ZPOOL) += zpool.o
|
D | zsmalloc.c | 389 struct zpool *zpool) in zs_zpool_create() argument
|