Searched refs:zs_pool (Results 1 – 5 of 5) sorted by relevance
/drivers/staging/zsmalloc/ |
D | zsmalloc.h | 18 struct zs_pool; 20 struct zs_pool *zs_create_pool(const char *name, gfp_t flags); 21 void zs_destroy_pool(struct zs_pool *pool); 23 void *zs_malloc(struct zs_pool *pool, size_t size); 24 void zs_free(struct zs_pool *pool, void *obj); 26 void *zs_map_object(struct zs_pool *pool, void *handle); 27 void zs_unmap_object(struct zs_pool *pool, void *handle); 29 u64 zs_get_total_size_bytes(struct zs_pool *pool);
|
D | zsmalloc-main.c | 148 static enum fullness_group fix_fullness_group(struct zs_pool *pool, in fix_fullness_group() 485 struct zs_pool *zs_create_pool(const char *name, gfp_t flags) in zs_create_pool() 488 struct zs_pool *pool; in zs_create_pool() 521 void zs_destroy_pool(struct zs_pool *pool) in zs_destroy_pool() 554 void *zs_malloc(struct zs_pool *pool, size_t size) in zs_malloc() 604 void zs_free(struct zs_pool *pool, void *obj) in zs_free() 646 void *zs_map_object(struct zs_pool *pool, void *handle) in zs_map_object() 686 void zs_unmap_object(struct zs_pool *pool, void *handle) in zs_unmap_object() 716 u64 zs_get_total_size_bytes(struct zs_pool *pool) in zs_get_total_size_bytes()
|
D | zsmalloc_int.h | 148 struct zs_pool { struct
|
/drivers/staging/zram/ |
D | zram_drv.h | 105 struct zs_pool *mem_pool;
|
/drivers/staging/zcache/ |
D | zcache-main.c | 65 struct zs_pool *zspool; 696 static struct zv_hdr *zv_create(struct zs_pool *pool, uint32_t pool_id, in zv_create() 724 static void zv_free(struct zs_pool *pool, void *handle) in zv_free()
|