Home
last modified time | relevance | path

Searched refs:zbud_pool (Results 1 – 2 of 2) sorted by relevance

/linux-4.4.14/include/linux/
Dzbud.h6 struct zbud_pool;
9 int (*evict)(struct zbud_pool *pool, unsigned long handle);
12 struct zbud_pool *zbud_create_pool(gfp_t gfp, const struct zbud_ops *ops);
13 void zbud_destroy_pool(struct zbud_pool *pool);
14 int zbud_alloc(struct zbud_pool *pool, size_t size, gfp_t gfp,
16 void zbud_free(struct zbud_pool *pool, unsigned long handle);
17 int zbud_reclaim_page(struct zbud_pool *pool, unsigned int retries);
18 void *zbud_map(struct zbud_pool *pool, unsigned long handle);
19 void zbud_unmap(struct zbud_pool *pool, unsigned long handle);
20 u64 zbud_get_pool_size(struct zbud_pool *pool);
/linux-4.4.14/mm/
Dzbud.c93 struct zbud_pool { struct
128 static int zbud_zpool_evict(struct zbud_pool *pool, unsigned long handle) in zbud_zpool_evict()
144 struct zbud_pool *pool; in zbud_zpool_create()
305 struct zbud_pool *zbud_create_pool(gfp_t gfp, const struct zbud_ops *ops) in zbud_create_pool()
307 struct zbud_pool *pool; in zbud_create_pool()
310 pool = kzalloc(sizeof(struct zbud_pool), gfp); in zbud_create_pool()
329 void zbud_destroy_pool(struct zbud_pool *pool) in zbud_destroy_pool()
353 int zbud_alloc(struct zbud_pool *pool, size_t size, gfp_t gfp, in zbud_alloc()
429 void zbud_free(struct zbud_pool *pool, unsigned long handle) in zbud_free()
504 int zbud_reclaim_page(struct zbud_pool *pool, unsigned int retries) in zbud_reclaim_page()
[all …]