Lines Matching defs:pool

280 	struct zs_pool *pool;  member
378 static void kick_deferred_free(struct zs_pool *pool) {} in kick_deferred_free()
379 static void init_deferred_free(struct zs_pool *pool) {} in init_deferred_free()
380 static void SetZsPageMovable(struct zs_pool *pool, struct zspage *zspage) {} in SetZsPageMovable()
383 static int create_cache(struct zs_pool *pool) in create_cache()
411 static void destroy_cache(struct zs_pool *pool) in destroy_cache()
417 static unsigned long cache_alloc_handle(struct zs_pool *pool, gfp_t gfp) in cache_alloc_handle()
423 static void cache_free_handle(struct zs_pool *pool, unsigned long handle) in cache_free_handle()
428 static struct zspage *cache_alloc_zspage(struct zs_pool *pool, gfp_t flags) in cache_alloc_zspage()
434 static void cache_free_zspage(struct zs_pool *pool, struct zspage *zspage) in cache_free_zspage()
459 static void zs_zpool_destroy(void *pool) in zs_zpool_destroy()
464 static int zs_zpool_malloc(void *pool, size_t size, gfp_t gfp, in zs_zpool_malloc()
473 static void zs_zpool_free(void *pool, unsigned long handle) in zs_zpool_free()
478 static void *zs_zpool_obj_read_begin(void *pool, unsigned long handle, in zs_zpool_obj_read_begin()
484 static void zs_zpool_obj_read_end(void *pool, unsigned long handle, in zs_zpool_obj_read_end()
490 static void zs_zpool_obj_write(void *pool, unsigned long handle, in zs_zpool_obj_write()
496 static u64 zs_zpool_total_pages(void *pool) in zs_zpool_total_pages()
569 static struct size_class *zspage_class(struct zs_pool *pool, in zspage_class()
632 struct zs_pool *pool = s->private; in zs_stats_size_show() local
694 static void zs_pool_stat_create(struct zs_pool *pool, const char *name) in zs_pool_stat_create()
707 static void zs_pool_stat_destroy(struct zs_pool *pool) in zs_pool_stat_destroy()
721 static inline void zs_pool_stat_create(struct zs_pool *pool, const char *name) in zs_pool_stat_create()
725 static inline void zs_pool_stat_destroy(struct zs_pool *pool) in zs_pool_stat_destroy()
917 static void __free_zspage(struct zs_pool *pool, struct size_class *class, in __free_zspage()
944 static void free_zspage(struct zs_pool *pool, struct size_class *class, in free_zspage()
1045 static struct zspage *alloc_zspage(struct zs_pool *pool, in alloc_zspage()
1132 unsigned int zs_lookup_class_index(struct zs_pool *pool, unsigned int size) in zs_lookup_class_index()
1142 unsigned long zs_get_total_pages(struct zs_pool *pool) in zs_get_total_pages()
1148 void *zs_obj_read_begin(struct zs_pool *pool, unsigned long handle, in zs_obj_read_begin()
1198 void zs_obj_read_end(struct zs_pool *pool, unsigned long handle, in zs_obj_read_end()
1224 void zs_obj_write(struct zs_pool *pool, unsigned long handle, in zs_obj_write()
1286 size_t zs_huge_class_size(struct zs_pool *pool) in zs_huge_class_size()
1292 static unsigned long obj_malloc(struct zs_pool *pool, in obj_malloc()
1344 unsigned long zs_malloc(struct zs_pool *pool, size_t size, gfp_t gfp) in zs_malloc()
1430 void zs_free(struct zs_pool *pool, unsigned long handle) in zs_free()
1565 static void migrate_zspage(struct zs_pool *pool, struct zspage *src_zspage, in migrate_zspage()
1738 struct zs_pool *pool; in zs_page_migrate() local
1841 struct zs_pool *pool = container_of(work, struct zs_pool, in async_free_zspage() local
1867 static void kick_deferred_free(struct zs_pool *pool) in kick_deferred_free()
1872 static void zs_flush_migration(struct zs_pool *pool) in zs_flush_migration()
1877 static void init_deferred_free(struct zs_pool *pool) in init_deferred_free()
1882 static void SetZsPageMovable(struct zs_pool *pool, struct zspage *zspage) in SetZsPageMovable()
1893 static inline void zs_flush_migration(struct zs_pool *pool) { } in zs_flush_migration()
1916 static unsigned long __zs_compact(struct zs_pool *pool, in __zs_compact()
1980 unsigned long zs_compact(struct zs_pool *pool) in zs_compact()
2008 void zs_pool_stats(struct zs_pool *pool, struct zs_pool_stats *stats) in zs_pool_stats()
2018 struct zs_pool *pool = shrinker->private_data; in zs_shrinker_scan() local
2036 struct zs_pool *pool = shrinker->private_data; in zs_shrinker_count() local
2049 static void zs_unregister_shrinker(struct zs_pool *pool) in zs_unregister_shrinker()
2054 static int zs_register_shrinker(struct zs_pool *pool) in zs_register_shrinker()
2104 struct zs_pool *pool; in zs_create_pool() local
2215 void zs_destroy_pool(struct zs_pool *pool) in zs_destroy_pool()