Searched refs:xv_pool (Results 1 – 5 of 5) sorted by relevance
/linux-2.6.39/drivers/staging/zram/ |
D | xvmalloc.h | 18 struct xv_pool; 20 struct xv_pool *xv_create_pool(void); 21 void xv_destroy_pool(struct xv_pool *pool); 23 int xv_malloc(struct xv_pool *pool, u32 size, struct page **page, 25 void xv_free(struct xv_pool *pool, struct page *page, u32 offset); 28 u64 xv_get_total_size_bytes(struct xv_pool *pool);
|
D | xvmalloc.c | 125 static u32 find_block(struct xv_pool *pool, u32 size, in find_block() 187 static void insert_block(struct xv_pool *pool, struct page *page, u32 offset, in insert_block() 220 static void remove_block(struct xv_pool *pool, struct page *page, u32 offset, in remove_block() 275 static int grow_pool(struct xv_pool *pool, gfp_t flags) in grow_pool() 306 struct xv_pool *xv_create_pool(void) in xv_create_pool() 309 struct xv_pool *pool; in xv_create_pool() 322 void xv_destroy_pool(struct xv_pool *pool) in xv_destroy_pool() 341 int xv_malloc(struct xv_pool *pool, u32 size, struct page **page, in xv_malloc() 420 void xv_free(struct xv_pool *pool, struct page *page, u32 offset) in xv_free() 506 u64 xv_get_total_size_bytes(struct xv_pool *pool) in xv_get_total_size_bytes()
|
D | xvmalloc_int.h | 87 struct xv_pool { struct
|
D | zram_drv.h | 102 struct xv_pool *mem_pool;
|
/linux-2.6.39/drivers/staging/zcache/ |
D | zcache.c | 607 static struct zv_hdr *zv_create(struct xv_pool *xvpool, uint32_t pool_id, in zv_create() 632 static void zv_free(struct xv_pool *xvpool, struct zv_hdr *zv) in zv_free() 684 struct xv_pool *xvpool;
|