Searched refs:zbud_pool (Results 1 - 3 of 3) sorted by relevance
/kernel/linux/linux-5.10/include/linux/ |
H A D | zbud.h | 7 struct zbud_pool; 10 int (*evict)(struct zbud_pool *pool, unsigned long handle); 13 struct zbud_pool *zbud_create_pool(gfp_t gfp, const struct zbud_ops *ops); 14 void zbud_destroy_pool(struct zbud_pool *pool); 15 int zbud_alloc(struct zbud_pool *pool, size_t size, gfp_t gfp, 17 void zbud_free(struct zbud_pool *pool, unsigned long handle); 18 int zbud_reclaim_page(struct zbud_pool *pool, unsigned int retries); 19 void *zbud_map(struct zbud_pool *pool, unsigned long handle); 20 void zbud_unmap(struct zbud_pool *pool, unsigned long handle); 21 u64 zbud_get_pool_size(struct zbud_pool *poo [all...] |
/kernel/linux/linux-6.6/mm/ |
H A D | zbud.c | 75 struct zbud_pool; 78 * struct zbud_pool - stores metadata for each zbud pool 91 struct zbud_pool { struct 200 static struct zbud_pool *zbud_create_pool(gfp_t gfp) in zbud_create_pool() 202 struct zbud_pool *pool; in zbud_create_pool() 205 pool = kzalloc(sizeof(struct zbud_pool), gfp); in zbud_create_pool() 222 static void zbud_destroy_pool(struct zbud_pool *pool) in zbud_destroy_pool() 246 static int zbud_alloc(struct zbud_pool *pool, size_t size, gfp_t gfp, in zbud_alloc() 311 static void zbud_free(struct zbud_pool *pool, unsigned long handle) in zbud_free() 353 static void *zbud_map(struct zbud_pool *poo [all...] |
/kernel/linux/linux-5.10/mm/ |
H A D | zbud.c | 77 * struct zbud_pool - stores metadata for each zbud pool 94 struct zbud_pool { struct 129 static int zbud_zpool_evict(struct zbud_pool *pool, unsigned long handle) in zbud_zpool_evict() 145 struct zbud_pool *pool; in zbud_zpool_create() 307 struct zbud_pool *zbud_create_pool(gfp_t gfp, const struct zbud_ops *ops) in zbud_create_pool() 309 struct zbud_pool *pool; in zbud_create_pool() 312 pool = kzalloc(sizeof(struct zbud_pool), gfp); in zbud_create_pool() 331 void zbud_destroy_pool(struct zbud_pool *pool) in zbud_destroy_pool() 355 int zbud_alloc(struct zbud_pool *pool, size_t size, gfp_t gfp, in zbud_alloc() 430 void zbud_free(struct zbud_pool *poo [all...] |
Completed in 3 milliseconds