Home
last modified time | relevance | path

Searched refs:zs_pool (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-6.6/include/linux/
H A Dzsmalloc.h41 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 *poo
[all...]
/kernel/linux/linux-5.10/include/linux/
H A Dzsmalloc.h41 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 *poo
[all...]
/kernel/linux/linux-5.10/mm/
H A Dzsmalloc.c252 struct zs_pool { struct
302 static int zs_register_migration(struct zs_pool *pool);
303 static void zs_unregister_migration(struct zs_pool *pool);
307 static void kick_deferred_free(struct zs_pool *pool);
308 static void init_deferred_free(struct zs_pool *pool);
309 static void SetZsPageMovable(struct zs_pool *pool, struct zspage *zspage);
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 *poo in kick_deferred_free()
[all...]
/kernel/linux/linux-6.6/mm/
H A Dzsmalloc.c220 struct zs_pool { struct
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) {} in kick_deferred_free()
294 static void init_deferred_free(struct zs_pool *pool) {} in init_deferred_free()
295 static void SetZsPageMovable(struct zs_pool *pool, struct zspage *zspage) {} in SetZsPageMovable()
298 static int create_cache(struct zs_pool *pool) in create_cache()
316 static void destroy_cache(struct zs_pool *poo
[all...]
/kernel/linux/linux-5.10/drivers/block/zram/
H A Dzram_drv.h114 struct zs_pool *mem_pool;
/kernel/linux/linux-6.6/drivers/block/zram/
H A Dzram_drv.h128 struct zs_pool *mem_pool;

Completed in 7 milliseconds