Lines Matching defs:pool
283 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()
321 static void zs_zpool_destroy(void *pool) in zs_zpool_destroy()
326 static int zs_zpool_malloc(void *pool, size_t size, gfp_t gfp, in zs_zpool_malloc()
332 static void zs_zpool_free(void *pool, unsigned long handle) in zs_zpool_free()
337 static int zs_zpool_shrink(void *pool, unsigned int pages, in zs_zpool_shrink()
343 static void *zs_zpool_map(void *pool, unsigned long handle, in zs_zpool_map()
363 static void zs_zpool_unmap(void *pool, unsigned long handle) in zs_zpool_unmap()
368 static u64 zs_zpool_total_size(void *pool) in zs_zpool_total_size()
487 struct zs_pool *pool = s->private; in zs_stats_size_show() local
551 static int zs_pool_stat_create(char *name, struct zs_pool *pool) in zs_pool_stat_create()
576 static void zs_pool_stat_destroy(struct zs_pool *pool) in zs_pool_stat_destroy()
608 static inline int zs_pool_stat_create(char *name, struct zs_pool *pool) in zs_pool_stat_create()
613 static inline void zs_pool_stat_destroy(struct zs_pool *pool) in zs_pool_stat_destroy()
1236 unsigned long zs_get_total_pages(struct zs_pool *pool) in zs_get_total_pages()
1256 void *zs_map_object(struct zs_pool *pool, unsigned long handle, in zs_map_object()
1310 void zs_unmap_object(struct zs_pool *pool, unsigned long handle) in zs_unmap_object()
1386 unsigned long zs_malloc(struct zs_pool *pool, size_t size) in zs_malloc()
1433 static void obj_free(struct zs_pool *pool, struct size_class *class, in obj_free()
1465 void zs_free(struct zs_pool *pool, unsigned long handle) in zs_free()
1612 static int migrate_zspage(struct zs_pool *pool, struct size_class *class, in migrate_zspage()
1674 static void putback_zspage(struct zs_pool *pool, struct size_class *class, in putback_zspage()
1706 static unsigned long __zs_compact(struct zs_pool *pool, in __zs_compact()
1759 unsigned long zs_compact(struct zs_pool *pool) in zs_compact()
1791 struct zs_pool *pool; in zs_create_pool() local
1871 void zs_destroy_pool(struct zs_pool *pool) in zs_destroy_pool()