Lines Matching refs:zs_pool
244 struct zs_pool { struct
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()
501 struct zs_pool *pool = s->private; in zs_stats_size_show()
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()
1843 struct zs_pool *pool = container_of(shrinker, struct zs_pool, in zs_shrinker_count()
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()
1887 struct zs_pool *zs_create_pool(const char *name, gfp_t flags) in zs_create_pool()
1890 struct zs_pool *pool; in zs_create_pool()
1976 void zs_destroy_pool(struct zs_pool *pool) in zs_destroy_pool()