Lines Matching defs:zs_pool

270 struct zs_pool {
338 struct zs_pool *pool;
432 static void kick_deferred_free(struct zs_pool *pool);
433 static void init_deferred_free(struct zs_pool *pool);
434 static void SetZsPageMovable(struct zs_pool *pool, struct zspage *zspage);
436 static void kick_deferred_free(struct zs_pool *pool) {}
437 static void init_deferred_free(struct zs_pool *pool) {}
438 static void SetZsPageMovable(struct zs_pool *pool, struct zspage *zspage) {}
522 static struct size_class *zspage_class(struct zs_pool *pool,
546 static struct size_class *lookup_size_class(struct zs_pool *pool, size_t size)
590 struct zs_pool *pool = s->private;
651 static void zs_pool_stat_create(struct zs_pool *pool, const char *name)
664 static void zs_pool_stat_destroy(struct zs_pool *pool)
678 static inline void zs_pool_stat_create(struct zs_pool *pool, const char *name)
682 static inline void zs_pool_stat_destroy(struct zs_pool *pool)
911 static void __free_zspage(struct zs_pool *pool, struct size_class *class,
920 static void free_zspage(struct zs_pool *pool, struct size_class *class,
1020 static struct zspage *alloc_zspage(struct zs_pool *pool,
1109 unsigned int zs_lookup_class_index(struct zs_pool *pool, unsigned int size)
1119 unsigned long zs_get_total_pages(struct zs_pool *pool)
1125 void zs_obj_read_sg_begin(struct zs_pool *pool, unsigned long handle,
1172 void zs_obj_read_sg_end(struct zs_pool *pool, unsigned long handle)
1187 void zs_obj_write(struct zs_pool *pool, unsigned long handle,
1249 size_t zs_huge_class_size(struct zs_pool *pool)
1255 static unsigned long obj_malloc(struct zs_pool *pool,
1308 unsigned long zs_malloc(struct zs_pool *pool, size_t size, gfp_t gfp,
1413 static inline void obj_class_get_and_lock(struct zs_pool *pool, unsigned long handle,
1431 static inline void obj_class_get_and_lock(struct zs_pool *pool, unsigned long handle,
1450 void zs_free(struct zs_pool *pool, unsigned long handle)
1588 static void migrate_zspage(struct zs_pool *pool, struct zspage *src_zspage,
1755 struct zs_pool *pool;
1879 struct zs_pool *pool = container_of(work, struct zs_pool,
1905 static void kick_deferred_free(struct zs_pool *pool)
1910 static void zs_flush_migration(struct zs_pool *pool)
1915 static void init_deferred_free(struct zs_pool *pool)
1920 static void SetZsPageMovable(struct zs_pool *pool, struct zspage *zspage)
1931 static inline void zs_flush_migration(struct zs_pool *pool) { }
1954 static unsigned long __zs_compact(struct zs_pool *pool,
2019 unsigned long zs_compact(struct zs_pool *pool)
2047 void zs_pool_stats(struct zs_pool *pool, struct zs_pool_stats *stats)
2057 struct zs_pool *pool = shrinker->private_data;
2075 struct zs_pool *pool = shrinker->private_data;
2088 static void zs_unregister_shrinker(struct zs_pool *pool)
2093 static int zs_register_shrinker(struct zs_pool *pool)
2140 struct zs_pool *zs_create_pool(const char *name)
2143 struct zs_pool *pool;
2251 void zs_destroy_pool(struct zs_pool *pool)