Searched refs:zs_pool (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/include/linux/ |
H A D | zsmalloc.h | 41 struct zs_pool; 43 struct zs_pool *zs_create_pool(const char *name); 44 void zs_destroy_pool(struct zs_pool *pool); 46 unsigned long zs_malloc(struct zs_pool *pool, size_t size, gfp_t flags); 47 void zs_free(struct zs_pool *pool, unsigned long obj); 49 size_t zs_huge_class_size(struct zs_pool *pool); 51 void *zs_map_object(struct zs_pool *pool, unsigned long handle, 53 void zs_unmap_object(struct zs_pool *pool, unsigned long handle); 55 unsigned long zs_get_total_pages(struct zs_pool *pool); 56 unsigned long zs_compact(struct zs_pool *pool); [all …]
|
/openbmc/linux/mm/ |
H A D | zsmalloc.c | 220 struct zs_pool { struct 256 struct zs_pool *pool; argument 560 struct zs_pool *pool = s->private; in zs_stats_size_show() 1780 struct zs_pool *pool; in zs_page_isolate() 1801 struct zs_pool *pool; in zs_page_migrate() 1881 struct zs_pool *pool; in zs_page_putback() 1911 struct zs_pool *pool = container_of(work, struct zs_pool, in async_free_zspage() 2089 struct zs_pool *pool = container_of(shrinker, struct zs_pool, in zs_shrinker_scan() 2108 struct zs_pool *pool = container_of(shrinker, struct zs_pool, in zs_shrinker_count() 2172 struct zs_pool *pool; in zs_create_pool() [all …]
|
/openbmc/linux/drivers/block/zram/ |
H A D | zram_drv.h | 108 struct zs_pool *mem_pool;
|