Lines Matching defs:pool

266 	struct zs_pool *pool;  member
307 static void kick_deferred_free(struct zs_pool *pool) {} in kick_deferred_free()
308 static void init_deferred_free(struct zs_pool *pool) {} in init_deferred_free()
309 static void SetZsPageMovable(struct zs_pool *pool, struct zspage *zspage) {} in SetZsPageMovable()
312 static int create_cache(struct zs_pool *pool) in create_cache()
330 static void destroy_cache(struct zs_pool *pool) in destroy_cache()
336 static unsigned long cache_alloc_handle(struct zs_pool *pool, gfp_t gfp) in cache_alloc_handle()
342 static void cache_free_handle(struct zs_pool *pool, unsigned long handle) in cache_free_handle()
347 static struct zspage *cache_alloc_zspage(struct zs_pool *pool, gfp_t flags) in cache_alloc_zspage()
353 static void cache_free_zspage(struct zs_pool *pool, struct zspage *zspage) in cache_free_zspage()
380 static void zs_zpool_destroy(void *pool) in zs_zpool_destroy()
385 static int zs_zpool_malloc(void *pool, size_t size, gfp_t gfp, in zs_zpool_malloc()
394 static void zs_zpool_free(void *pool, unsigned long handle) in zs_zpool_free()
399 static void *zs_zpool_map(void *pool, unsigned long handle, in zs_zpool_map()
419 static void zs_zpool_unmap(void *pool, unsigned long handle) in zs_zpool_unmap()
424 static u64 zs_zpool_total_size(void *pool) in zs_zpool_total_size()
505 static struct size_class *zspage_class(struct zs_pool *pool, in zspage_class()
580 struct zs_pool *pool = s->private; in zs_stats_size_show() local
636 static void zs_pool_stat_create(struct zs_pool *pool, const char *name) in zs_pool_stat_create()
649 static void zs_pool_stat_destroy(struct zs_pool *pool) in zs_pool_stat_destroy()
663 static inline void zs_pool_stat_create(struct zs_pool *pool, const char *name) in zs_pool_stat_create()
667 static inline void zs_pool_stat_destroy(struct zs_pool *pool) in zs_pool_stat_destroy()
910 static void __free_zspage(struct zs_pool *pool, struct size_class *class, in __free_zspage()
942 static void free_zspage(struct zs_pool *pool, struct size_class *class, in free_zspage()
1043 static struct zspage *alloc_zspage(struct zs_pool *pool, in alloc_zspage()
1208 unsigned long zs_get_total_pages(struct zs_pool *pool) in zs_get_total_pages()
1229 void *zs_map_object(struct zs_pool *pool, unsigned long handle, in zs_map_object()
1291 void zs_unmap_object(struct zs_pool *pool, unsigned long handle) in zs_unmap_object()
1338 size_t zs_huge_class_size(struct zs_pool *pool) in zs_huge_class_size()
1344 static unsigned long obj_malloc(struct zs_pool *pool, in obj_malloc()
1397 unsigned long zs_malloc(struct zs_pool *pool, size_t size, gfp_t gfp) in zs_malloc()
1482 void zs_free(struct zs_pool *pool, unsigned long handle) in zs_free()
1629 static int migrate_zspage(struct zs_pool *pool, struct size_class *class, in migrate_zspage()
1844 struct zs_pool *pool; in zs_page_migrate() local
1959 struct zs_pool *pool = container_of(work, struct zs_pool, in async_free_zspage() local
1985 static void kick_deferred_free(struct zs_pool *pool) in kick_deferred_free()
1990 static void zs_flush_migration(struct zs_pool *pool) in zs_flush_migration()
1995 static void init_deferred_free(struct zs_pool *pool) in init_deferred_free()
2000 static void SetZsPageMovable(struct zs_pool *pool, struct zspage *zspage) in SetZsPageMovable()
2011 static inline void zs_flush_migration(struct zs_pool *pool) { } in zs_flush_migration()
2034 static unsigned long __zs_compact(struct zs_pool *pool, in __zs_compact()
2105 unsigned long zs_compact(struct zs_pool *pool) in zs_compact()
2123 void zs_pool_stats(struct zs_pool *pool, struct zs_pool_stats *stats) in zs_pool_stats()
2133 struct zs_pool *pool = container_of(shrinker, struct zs_pool, in zs_shrinker_scan() local
2152 struct zs_pool *pool = container_of(shrinker, struct zs_pool, in zs_shrinker_count() local
2166 static void zs_unregister_shrinker(struct zs_pool *pool) in zs_unregister_shrinker()
2171 static int zs_register_shrinker(struct zs_pool *pool) in zs_register_shrinker()
2195 struct zs_pool *pool; in zs_create_pool() local
2302 void zs_destroy_pool(struct zs_pool *pool) in zs_destroy_pool()