Lines Matching defs:pool
287 static int create_handle_cache(struct zs_pool *pool) in create_handle_cache()
294 static void destroy_handle_cache(struct zs_pool *pool) in destroy_handle_cache()
299 static unsigned long alloc_handle(struct zs_pool *pool) in alloc_handle()
305 static void free_handle(struct zs_pool *pool, unsigned long handle) in free_handle()
331 static void zs_zpool_destroy(void *pool) in zs_zpool_destroy()
336 static int zs_zpool_malloc(void *pool, size_t size, gfp_t gfp, in zs_zpool_malloc()
342 static void zs_zpool_free(void *pool, unsigned long handle) in zs_zpool_free()
347 static int zs_zpool_shrink(void *pool, unsigned int pages, in zs_zpool_shrink()
353 static void *zs_zpool_map(void *pool, unsigned long handle, in zs_zpool_map()
373 static void zs_zpool_unmap(void *pool, unsigned long handle) in zs_zpool_unmap()
378 static u64 zs_zpool_total_size(void *pool) in zs_zpool_total_size()
501 struct zs_pool *pool = s->private; in zs_stats_size_show() local
565 static int zs_pool_stat_create(const char *name, struct zs_pool *pool) in zs_pool_stat_create()
590 static void zs_pool_stat_destroy(struct zs_pool *pool) in zs_pool_stat_destroy()
605 static inline int zs_pool_stat_create(const char *name, struct zs_pool *pool) in zs_pool_stat_create()
610 static inline void zs_pool_stat_destroy(struct zs_pool *pool) in zs_pool_stat_destroy()
1241 unsigned long zs_get_total_pages(struct zs_pool *pool) in zs_get_total_pages()
1261 void *zs_map_object(struct zs_pool *pool, unsigned long handle, in zs_map_object()
1315 void zs_unmap_object(struct zs_pool *pool, unsigned long handle) in zs_unmap_object()
1391 unsigned long zs_malloc(struct zs_pool *pool, size_t size) in zs_malloc()
1438 static void obj_free(struct zs_pool *pool, struct size_class *class, in obj_free()
1467 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()
1686 static enum fullness_group putback_zspage(struct zs_pool *pool, in putback_zspage()
1748 static void __zs_compact(struct zs_pool *pool, struct size_class *class) in __zs_compact()
1795 unsigned long zs_compact(struct zs_pool *pool) in zs_compact()
1813 void zs_pool_stats(struct zs_pool *pool, struct zs_pool_stats *stats) in zs_pool_stats()
1823 struct zs_pool *pool = container_of(shrinker, struct zs_pool, in zs_shrinker_scan() local
1843 struct zs_pool *pool = container_of(shrinker, struct zs_pool, in zs_shrinker_count() local
1859 static void zs_unregister_shrinker(struct zs_pool *pool) in zs_unregister_shrinker()
1867 static int zs_register_shrinker(struct zs_pool *pool) in zs_register_shrinker()
1890 struct zs_pool *pool; in zs_create_pool() local
1976 void zs_destroy_pool(struct zs_pool *pool) in zs_destroy_pool()