Home
last modified time | relevance | path

Searched refs:zs_pool (Results 1 – 2 of 2) sorted by relevance

/linux/include/linux/
H A Dzsmalloc.h24 struct zs_pool;
26 struct zs_pool *zs_create_pool(const char *name);
27 void zs_destroy_pool(struct zs_pool *pool);
29 unsigned long zs_malloc(struct zs_pool *pool, size_t size, gfp_t flags,
31 void zs_free(struct zs_pool *pool, unsigned long obj);
33 size_t zs_huge_class_size(struct zs_pool *pool);
35 unsigned long zs_get_total_pages(struct zs_pool *pool);
36 unsigned long zs_compact(struct zs_pool *pool);
38 unsigned int zs_lookup_class_index(struct zs_pool *pool, unsigned int size);
40 void zs_pool_stats(struct zs_pool *poo
[all...]
/linux/mm/
H A Dzsmalloc.c196 struct zs_pool { struct
271 struct zs_pool *pool;
365 static void kick_deferred_free(struct zs_pool *pool);
366 static void init_deferred_free(struct zs_pool *pool);
367 static void SetZsPageMovable(struct zs_pool *pool, struct zspage *zspage);
369 static void kick_deferred_free(struct zs_pool *pool) {} in kick_deferred_free()
370 static void init_deferred_free(struct zs_pool *pool) {} in init_deferred_free()
371 static void SetZsPageMovable(struct zs_pool *pool, struct zspage *zspage) {} in SetZsPageMovable()
374 static int create_cache(struct zs_pool *pool) in create_cache()
402 static void destroy_cache(struct zs_pool *pool) in destroy_cache()
[all …]