Searched refs:zs_pool (Results 1 - 3 of 3) sorted by relevance
/linux-4.4.14/include/linux/ |
H A D | zsmalloc.h | 42 struct zs_pool; 44 struct zs_pool *zs_create_pool(const char *name, gfp_t flags); 45 void zs_destroy_pool(struct zs_pool *pool); 47 unsigned long zs_malloc(struct zs_pool *pool, size_t size); 48 void zs_free(struct zs_pool *pool, unsigned long obj); 50 void *zs_map_object(struct zs_pool *pool, unsigned long handle, 52 void zs_unmap_object(struct zs_pool *pool, unsigned long handle); 54 unsigned long zs_get_total_pages(struct zs_pool *pool); 55 unsigned long zs_compact(struct zs_pool *pool); 57 void zs_pool_stats(struct zs_pool *pool, struct zs_pool_stats *stats);
|
/linux-4.4.14/mm/ |
H A D | zsmalloc.c | 244 struct zs_pool { struct 287 static int create_handle_cache(struct zs_pool *pool) create_handle_cache() 294 static void destroy_handle_cache(struct zs_pool *pool) destroy_handle_cache() 299 static unsigned long alloc_handle(struct zs_pool *pool) alloc_handle() 305 static void free_handle(struct zs_pool *pool, unsigned long handle) free_handle() 501 struct zs_pool *pool = s->private; zs_stats_size_show() 565 static int zs_pool_stat_create(const char *name, struct zs_pool *pool) zs_pool_stat_create() 590 static void zs_pool_stat_destroy(struct zs_pool *pool) zs_pool_stat_destroy() 605 static inline int zs_pool_stat_create(const char *name, struct zs_pool *pool) zs_pool_stat_create() 610 static inline void zs_pool_stat_destroy(struct zs_pool *pool) zs_pool_stat_destroy() 1241 unsigned long zs_get_total_pages(struct zs_pool *pool) zs_get_total_pages() 1261 void *zs_map_object(struct zs_pool *pool, unsigned long handle, zs_map_object() 1315 void zs_unmap_object(struct zs_pool *pool, unsigned long handle) zs_unmap_object() 1391 unsigned long zs_malloc(struct zs_pool *pool, size_t size) zs_malloc() 1438 static void obj_free(struct zs_pool *pool, struct size_class *class, obj_free() 1467 void zs_free(struct zs_pool *pool, unsigned long handle) zs_free() 1612 static int migrate_zspage(struct zs_pool *pool, struct size_class *class, migrate_zspage() 1686 static enum fullness_group putback_zspage(struct zs_pool *pool, putback_zspage() 1748 static void __zs_compact(struct zs_pool *pool, struct size_class *class) __zs_compact() 1795 unsigned long zs_compact(struct zs_pool *pool) zs_compact() 1813 void zs_pool_stats(struct zs_pool *pool, struct zs_pool_stats *stats) zs_pool_stats() 1823 struct zs_pool *pool = container_of(shrinker, struct zs_pool, zs_shrinker_scan() 1843 struct zs_pool *pool = container_of(shrinker, struct zs_pool, zs_shrinker_count() 1859 static void zs_unregister_shrinker(struct zs_pool *pool) zs_unregister_shrinker() 1867 static int zs_register_shrinker(struct zs_pool *pool) zs_register_shrinker() 1887 struct zs_pool *zs_create_pool(const char *name, gfp_t flags) zs_create_pool() 1890 struct zs_pool *pool; zs_create_pool() 1976 void zs_destroy_pool(struct zs_pool *pool) zs_destroy_pool()
|
/linux-4.4.14/drivers/block/zram/ |
H A D | zram_drv.h | 92 struct zs_pool *mem_pool;
|
Completed in 115 milliseconds