Searched refs:zs_pool (Results 1 – 3 of 3) sorted by relevance
37 struct zs_pool;39 struct zs_pool *zs_create_pool(char *name, gfp_t flags);40 void zs_destroy_pool(struct zs_pool *pool);42 unsigned long zs_malloc(struct zs_pool *pool, size_t size);43 void zs_free(struct zs_pool *pool, unsigned long obj);45 void *zs_map_object(struct zs_pool *pool, unsigned long handle,47 void zs_unmap_object(struct zs_pool *pool, unsigned long handle);49 unsigned long zs_get_total_pages(struct zs_pool *pool);50 unsigned long zs_compact(struct zs_pool *pool);
249 struct zs_pool { struct283 static int create_handle_cache(struct zs_pool *pool) in create_handle_cache()290 static void destroy_handle_cache(struct zs_pool *pool) in destroy_handle_cache()296 static unsigned long alloc_handle(struct zs_pool *pool) in alloc_handle()302 static void free_handle(struct zs_pool *pool, unsigned long handle) in free_handle()492 struct zs_pool *pool = s->private; in zs_stats_size_show()556 static int zs_pool_stat_create(char *name, struct zs_pool *pool) in zs_pool_stat_create()581 static void zs_pool_stat_destroy(struct zs_pool *pool) in zs_pool_stat_destroy()613 static inline int zs_pool_stat_create(char *name, struct zs_pool *pool) in zs_pool_stat_create()618 static inline void zs_pool_stat_destroy(struct zs_pool *pool) in zs_pool_stat_destroy()[all …]
99 struct zs_pool *mem_pool;