Home
last modified time | relevance | path

Searched defs:pool (Results 1 – 7 of 7) sorted by relevance

/mm/
Dmempool.c25 static void poison_error(mempool_t *pool, void *element, size_t size, in poison_error()
42 static void __check_element(mempool_t *pool, void *element, size_t size) in __check_element()
58 static void check_element(mempool_t *pool, void *element) in check_element()
81 static void poison_element(mempool_t *pool, void *element) in poison_element()
96 static inline void check_element(mempool_t *pool, void *element) in check_element()
99 static inline void poison_element(mempool_t *pool, void *element) in poison_element()
104 static __always_inline void kasan_poison_element(mempool_t *pool, void *element) in kasan_poison_element()
113 static void kasan_unpoison_element(mempool_t *pool, void *element) in kasan_unpoison_element()
122 static __always_inline void add_element(mempool_t *pool, void *element) in add_element()
130 static void *remove_element(mempool_t *pool) in remove_element()
[all …]
Dzbud.c222 struct zbud_pool *pool; in zbud_create_pool() local
244 static void zbud_destroy_pool(struct zbud_pool *pool) in zbud_destroy_pool()
268 static int zbud_alloc(struct zbud_pool *pool, size_t size, gfp_t gfp, in zbud_alloc()
343 static void zbud_free(struct zbud_pool *pool, unsigned long handle) in zbud_free()
415 static int zbud_reclaim_page(struct zbud_pool *pool, unsigned int retries) in zbud_reclaim_page()
497 static void *zbud_map(struct zbud_pool *pool, unsigned long handle) in zbud_map()
507 static void zbud_unmap(struct zbud_pool *pool, unsigned long handle) in zbud_unmap()
518 static u64 zbud_get_pool_size(struct zbud_pool *pool) in zbud_get_pool_size()
527 static int zbud_zpool_evict(struct zbud_pool *pool, unsigned long handle) in zbud_zpool_evict()
543 struct zbud_pool *pool; in zbud_zpool_create() local
[all …]
Dz3fold.c93 unsigned long pool; /* back link */ member
121 struct z3fold_pool *pool; member
212 static inline struct z3fold_buddy_slots *alloc_slots(struct z3fold_pool *pool, in alloc_slots()
328 struct z3fold_pool *pool = slots_to_pool(slots); in free_handle() local
365 static int z3fold_register_migration(struct z3fold_pool *pool) in z3fold_register_migration()
378 static void z3fold_unregister_migration(struct z3fold_pool *pool) in z3fold_unregister_migration()
386 struct z3fold_pool *pool, gfp_t gfp) in init_z3fold_page()
507 struct z3fold_pool *pool = zhdr_to_pool(zhdr); in __release_z3fold_page() local
545 struct z3fold_pool *pool = zhdr_to_pool(zhdr); in release_z3fold_page_locked_list() local
557 struct z3fold_pool *pool = container_of(w, struct z3fold_pool, work); in free_pages_work() local
[all …]
Dzsmalloc.c313 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 *pool) {} in init_deferred_free()
320 static void SetZsPageMovable(struct zs_pool *pool, struct zspage *zspage) {} in SetZsPageMovable()
323 static int create_cache(struct zs_pool *pool) in create_cache()
341 static void destroy_cache(struct zs_pool *pool) in destroy_cache()
347 static unsigned long cache_alloc_handle(struct zs_pool *pool, gfp_t gfp) in cache_alloc_handle()
353 static void cache_free_handle(struct zs_pool *pool, unsigned long handle) in cache_free_handle()
358 static struct zspage *cache_alloc_zspage(struct zs_pool *pool, gfp_t flags) in cache_alloc_zspage()
[all …]
Ddmapool.c71 struct dma_pool *pool; in pools_show() local
203 static void pool_initialise_page(struct dma_pool *pool, struct dma_page *page) in pool_initialise_page()
219 static struct dma_page *pool_alloc_page(struct dma_pool *pool, gfp_t mem_flags) in pool_alloc_page()
247 static void pool_free_page(struct dma_pool *pool, struct dma_page *page) in pool_free_page()
267 void dma_pool_destroy(struct dma_pool *pool) in dma_pool_destroy()
314 void *dma_pool_alloc(struct dma_pool *pool, gfp_t mem_flags, in dma_pool_alloc()
382 static struct dma_page *pool_find_page(struct dma_pool *pool, dma_addr_t dma) in pool_find_page()
404 void dma_pool_free(struct dma_pool *pool, void *vaddr, dma_addr_t dma) in dma_pool_free()
474 struct dma_pool *pool = *(struct dma_pool **)res; in dmam_pool_release() local
501 struct dma_pool **ptr, *pool; in dmam_pool_create() local
[all …]
Dzswap.c176 struct zswap_pool *pool; member
246 struct zswap_pool *pool; in zswap_update_total_size() local
447 struct zswap_pool *pool = hlist_entry(node, struct zswap_pool, node); in zswap_cpu_comp_prepare() local
486 struct zswap_pool *pool = hlist_entry(node, struct zswap_pool, node); in zswap_cpu_comp_dead() local
505 struct zswap_pool *pool; in __zswap_pool_current() local
523 struct zswap_pool *pool; in zswap_pool_current_get() local
538 struct zswap_pool *pool, *last = NULL; in zswap_pool_last_get() local
557 struct zswap_pool *pool; in zswap_pool_find_get() local
577 struct zswap_pool *pool = container_of(w, typeof(*pool), in shrink_worker() local
587 struct zswap_pool *pool; in zswap_pool_create() local
[all …]
Dzpool.c23 void *pool; member