Lines Matching refs:zs_pool

199 struct zs_pool {  struct
272 struct zs_pool *pool;
366 static void kick_deferred_free(struct zs_pool *pool);
367 static void init_deferred_free(struct zs_pool *pool);
368 static void SetZsPageMovable(struct zs_pool *pool, struct zspage *zspage);
370 static void kick_deferred_free(struct zs_pool *pool) {} in kick_deferred_free()
371 static void init_deferred_free(struct zs_pool *pool) {} in init_deferred_free()
372 static void SetZsPageMovable(struct zs_pool *pool, struct zspage *zspage) {} in SetZsPageMovable()
457 static struct size_class *zspage_class(struct zs_pool *pool, in zspage_class()
520 struct zs_pool *pool = s->private; in zs_stats_size_show()
582 static void zs_pool_stat_create(struct zs_pool *pool, const char *name) in zs_pool_stat_create()
595 static void zs_pool_stat_destroy(struct zs_pool *pool) in zs_pool_stat_destroy()
609 static inline void zs_pool_stat_create(struct zs_pool *pool, const char *name) in zs_pool_stat_create()
613 static inline void zs_pool_stat_destroy(struct zs_pool *pool) in zs_pool_stat_destroy()
804 static void __free_zspage(struct zs_pool *pool, struct size_class *class, in __free_zspage()
831 static void free_zspage(struct zs_pool *pool, struct size_class *class, in free_zspage()
932 static struct zspage *alloc_zspage(struct zs_pool *pool, in alloc_zspage()
1021 unsigned int zs_lookup_class_index(struct zs_pool *pool, unsigned int size) in zs_lookup_class_index()
1031 unsigned long zs_get_total_pages(struct zs_pool *pool) in zs_get_total_pages()
1037 void *zs_obj_read_begin(struct zs_pool *pool, unsigned long handle, in zs_obj_read_begin()
1087 void zs_obj_read_end(struct zs_pool *pool, unsigned long handle, in zs_obj_read_end()
1114 void zs_obj_read_sg_begin(struct zs_pool *pool, unsigned long handle, in zs_obj_read_sg_begin()
1161 void zs_obj_read_sg_end(struct zs_pool *pool, unsigned long handle) in zs_obj_read_sg_end()
1176 void zs_obj_write(struct zs_pool *pool, unsigned long handle, in zs_obj_write()
1238 size_t zs_huge_class_size(struct zs_pool *pool) in zs_huge_class_size()
1244 static unsigned long obj_malloc(struct zs_pool *pool, in obj_malloc()
1297 unsigned long zs_malloc(struct zs_pool *pool, size_t size, gfp_t gfp, in zs_malloc()
1384 void zs_free(struct zs_pool *pool, unsigned long handle) in zs_free()
1519 static void migrate_zspage(struct zs_pool *pool, struct zspage *src_zspage, in migrate_zspage()
1689 struct zs_pool *pool; in zs_page_migrate()
1799 struct zs_pool *pool = container_of(work, struct zs_pool, in async_free_zspage()
1825 static void kick_deferred_free(struct zs_pool *pool) in kick_deferred_free()
1830 static void zs_flush_migration(struct zs_pool *pool) in zs_flush_migration()
1835 static void init_deferred_free(struct zs_pool *pool) in init_deferred_free()
1840 static void SetZsPageMovable(struct zs_pool *pool, struct zspage *zspage) in SetZsPageMovable()
1851 static inline void zs_flush_migration(struct zs_pool *pool) { } in zs_flush_migration()
1874 static unsigned long __zs_compact(struct zs_pool *pool, in __zs_compact()
1938 unsigned long zs_compact(struct zs_pool *pool) in zs_compact()
1966 void zs_pool_stats(struct zs_pool *pool, struct zs_pool_stats *stats) in zs_pool_stats()
1976 struct zs_pool *pool = shrinker->private_data; in zs_shrinker_scan()
1994 struct zs_pool *pool = shrinker->private_data; in zs_shrinker_count()
2007 static void zs_unregister_shrinker(struct zs_pool *pool) in zs_unregister_shrinker()
2012 static int zs_register_shrinker(struct zs_pool *pool) in zs_register_shrinker()
2059 struct zs_pool *zs_create_pool(const char *name) in zs_create_pool()
2062 struct zs_pool *pool; in zs_create_pool()
2170 void zs_destroy_pool(struct zs_pool *pool) in zs_destroy_pool()