Lines Matching defs:zs_pool
220 struct zs_pool {
256 struct zs_pool *pool;
286 static void kick_deferred_free(struct zs_pool *pool);
287 static void init_deferred_free(struct zs_pool *pool);
288 static void SetZsPageMovable(struct zs_pool *pool, struct zspage *zspage);
293 static void kick_deferred_free(struct zs_pool *pool) {}
294 static void init_deferred_free(struct zs_pool *pool) {}
295 static void SetZsPageMovable(struct zs_pool *pool, struct zspage *zspage) {}
298 static int create_cache(struct zs_pool *pool)
316 static void destroy_cache(struct zs_pool *pool)
322 static unsigned long cache_alloc_handle(struct zs_pool *pool, gfp_t gfp)
328 static void cache_free_handle(struct zs_pool *pool, unsigned long handle)
333 static struct zspage *cache_alloc_zspage(struct zs_pool *pool, gfp_t flags)
339 static void cache_free_zspage(struct zs_pool *pool, struct zspage *zspage)
489 static struct size_class *zspage_class(struct zs_pool *pool,
560 struct zs_pool *pool = s->private;
622 static void zs_pool_stat_create(struct zs_pool *pool, const char *name)
635 static void zs_pool_stat_destroy(struct zs_pool *pool)
649 static inline void zs_pool_stat_create(struct zs_pool *pool, const char *name)
653 static inline void zs_pool_stat_destroy(struct zs_pool *pool)
848 static void __free_zspage(struct zs_pool *pool, struct size_class *class,
879 static void free_zspage(struct zs_pool *pool, struct size_class *class,
980 static struct zspage *alloc_zspage(struct zs_pool *pool,
1161 unsigned int zs_lookup_class_index(struct zs_pool *pool, unsigned int size)
1171 unsigned long zs_get_total_pages(struct zs_pool *pool)
1192 void *zs_map_object(struct zs_pool *pool, unsigned long handle,
1254 void zs_unmap_object(struct zs_pool *pool, unsigned long handle)
1301 size_t zs_huge_class_size(struct zs_pool *pool)
1307 static unsigned long obj_malloc(struct zs_pool *pool,
1360 unsigned long zs_malloc(struct zs_pool *pool, size_t size, gfp_t gfp)
1445 void zs_free(struct zs_pool *pool, unsigned long handle)
1578 static void migrate_zspage(struct zs_pool *pool, struct zspage *src_zspage,
1780 struct zs_pool *pool;
1801 struct zs_pool *pool;
1881 struct zs_pool *pool;
1911 struct zs_pool *pool = container_of(work, struct zs_pool,
1938 static void kick_deferred_free(struct zs_pool *pool)
1943 static void zs_flush_migration(struct zs_pool *pool)
1948 static void init_deferred_free(struct zs_pool *pool)
1953 static void SetZsPageMovable(struct zs_pool *pool, struct zspage *zspage)
1964 static inline void zs_flush_migration(struct zs_pool *pool) { }
1987 static unsigned long __zs_compact(struct zs_pool *pool,
2051 unsigned long zs_compact(struct zs_pool *pool)
2079 void zs_pool_stats(struct zs_pool *pool, struct zs_pool_stats *stats)
2089 struct zs_pool *pool = container_of(shrinker, struct zs_pool,
2108 struct zs_pool *pool = container_of(shrinker, struct zs_pool,
2122 static void zs_unregister_shrinker(struct zs_pool *pool)
2127 static int zs_register_shrinker(struct zs_pool *pool)
2169 struct zs_pool *zs_create_pool(const char *name)
2172 struct zs_pool *pool;
2282 void zs_destroy_pool(struct zs_pool *pool)