Lines Matching defs:pool

313 static int zs_register_migration(struct zs_pool *pool) { return 0; }  in zs_register_migration()
314 static void zs_unregister_migration(struct zs_pool *pool) {} in zs_unregister_migration()
318 static void kick_deferred_free(struct zs_pool *pool) {} in kick_deferred_free()
319 static void init_deferred_free(struct zs_pool *pool) {} in init_deferred_free()
320 static void SetZsPageMovable(struct zs_pool *pool, struct zspage *zspage) {} in SetZsPageMovable()
323 static int create_cache(struct zs_pool *pool) in create_cache()
341 static void destroy_cache(struct zs_pool *pool) in destroy_cache()
347 static unsigned long cache_alloc_handle(struct zs_pool *pool, gfp_t gfp) in cache_alloc_handle()
353 static void cache_free_handle(struct zs_pool *pool, unsigned long handle) in cache_free_handle()
358 static struct zspage *cache_alloc_zspage(struct zs_pool *pool, gfp_t flags) in cache_alloc_zspage()
364 static void cache_free_zspage(struct zs_pool *pool, struct zspage *zspage) in cache_free_zspage()
395 static void zs_zpool_destroy(void *pool) in zs_zpool_destroy()
400 static int zs_zpool_malloc(void *pool, size_t size, gfp_t gfp, in zs_zpool_malloc()
406 static void zs_zpool_free(void *pool, unsigned long handle) in zs_zpool_free()
411 static void *zs_zpool_map(void *pool, unsigned long handle, in zs_zpool_map()
431 static void zs_zpool_unmap(void *pool, unsigned long handle) in zs_zpool_unmap()
436 static u64 zs_zpool_total_size(void *pool) in zs_zpool_total_size()
589 struct zs_pool *pool = s->private; in zs_stats_size_show() local
645 static void zs_pool_stat_create(struct zs_pool *pool, const char *name) in zs_pool_stat_create()
658 static void zs_pool_stat_destroy(struct zs_pool *pool) in zs_pool_stat_destroy()
672 static inline void zs_pool_stat_create(struct zs_pool *pool, const char *name) in zs_pool_stat_create()
676 static inline void zs_pool_stat_destroy(struct zs_pool *pool) in zs_pool_stat_destroy()
931 static void __free_zspage(struct zs_pool *pool, struct size_class *class, in __free_zspage()
963 static void free_zspage(struct zs_pool *pool, struct size_class *class, in free_zspage()
1059 static struct zspage *alloc_zspage(struct zs_pool *pool, in alloc_zspage()
1224 unsigned long zs_get_total_pages(struct zs_pool *pool) in zs_get_total_pages()
1245 void *zs_map_object(struct zs_pool *pool, unsigned long handle, in zs_map_object()
1304 void zs_unmap_object(struct zs_pool *pool, unsigned long handle) in zs_unmap_object()
1355 size_t zs_huge_class_size(struct zs_pool *pool) in zs_huge_class_size()
1413 unsigned long zs_malloc(struct zs_pool *pool, size_t size, gfp_t gfp) in zs_malloc()
1494 void zs_free(struct zs_pool *pool, unsigned long handle) in zs_free()
1649 static int migrate_zspage(struct zs_pool *pool, struct size_class *class, in migrate_zspage()
1821 static void putback_zspage_deferred(struct zs_pool *pool, in putback_zspage_deferred()
1833 static inline void zs_pool_dec_isolated(struct zs_pool *pool) in zs_pool_dec_isolated()
1871 struct zs_pool *pool; in zs_page_isolate() local
1928 struct zs_pool *pool; in zs_page_migrate() local
2056 struct zs_pool *pool; in zs_page_putback() local
2091 static int zs_register_migration(struct zs_pool *pool) in zs_register_migration()
2104 static bool pool_isolated_are_drained(struct zs_pool *pool) in pool_isolated_are_drained()
2110 static void wait_for_isolated_drain(struct zs_pool *pool) in wait_for_isolated_drain()
2123 static void zs_unregister_migration(struct zs_pool *pool) in zs_unregister_migration()
2150 struct zs_pool *pool = container_of(work, struct zs_pool, in async_free_zspage() local
2177 static void kick_deferred_free(struct zs_pool *pool) in kick_deferred_free()
2182 static void init_deferred_free(struct zs_pool *pool) in init_deferred_free()
2187 static void SetZsPageMovable(struct zs_pool *pool, struct zspage *zspage) in SetZsPageMovable()
2219 static void __zs_compact(struct zs_pool *pool, struct size_class *class) in __zs_compact()
2266 unsigned long zs_compact(struct zs_pool *pool) in zs_compact()
2284 void zs_pool_stats(struct zs_pool *pool, struct zs_pool_stats *stats) in zs_pool_stats()
2294 struct zs_pool *pool = container_of(shrinker, struct zs_pool, in zs_shrinker_scan() local
2314 struct zs_pool *pool = container_of(shrinker, struct zs_pool, in zs_shrinker_count() local
2330 static void zs_unregister_shrinker(struct zs_pool *pool) in zs_unregister_shrinker()
2335 static int zs_register_shrinker(struct zs_pool *pool) in zs_register_shrinker()
2358 struct zs_pool *pool; in zs_create_pool() local
2471 void zs_destroy_pool(struct zs_pool *pool) in zs_destroy_pool()