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()
82 static void poison_element(mempool_t *pool, void *element) in poison_element()
98 static inline void check_element(mempool_t *pool, void *element) in check_element()
101 static inline void poison_element(mempool_t *pool, void *element) in poison_element()
106 static __always_inline void kasan_poison_element(mempool_t *pool, void *element) in kasan_poison_element()
114 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 …]
Dz3fold.c92 unsigned long pool; /* back link + flags */ member
119 struct z3fold_pool *pool; member
196 static inline struct z3fold_buddy_slots *alloc_slots(struct z3fold_pool *pool, in alloc_slots()
243 struct z3fold_pool *pool = slots_to_pool(slots); in free_handle() local
278 static int z3fold_register_migration(struct z3fold_pool *pool) in z3fold_register_migration()
291 static void z3fold_unregister_migration(struct z3fold_pool *pool) in z3fold_unregister_migration()
299 struct z3fold_pool *pool, gfp_t gfp) in init_z3fold_page()
444 struct z3fold_pool *pool = zhdr_to_pool(zhdr); in __release_z3fold_page() local
481 struct z3fold_pool *pool = zhdr_to_pool(zhdr); in release_z3fold_page_locked_list() local
492 struct z3fold_pool *pool = container_of(w, struct z3fold_pool, work); in free_pages_work() local
[all …]
Dzbud.c129 static int zbud_zpool_evict(struct zbud_pool *pool, unsigned long handle) in zbud_zpool_evict()
145 struct zbud_pool *pool; in zbud_zpool_create() local
155 static void zbud_zpool_destroy(void *pool) in zbud_zpool_destroy()
160 static int zbud_zpool_malloc(void *pool, size_t size, gfp_t gfp, in zbud_zpool_malloc()
165 static void zbud_zpool_free(void *pool, unsigned long handle) in zbud_zpool_free()
170 static int zbud_zpool_shrink(void *pool, unsigned int pages, in zbud_zpool_shrink()
189 static void *zbud_zpool_map(void *pool, unsigned long handle, in zbud_zpool_map()
194 static void zbud_zpool_unmap(void *pool, unsigned long handle) in zbud_zpool_unmap()
199 static u64 zbud_zpool_total_size(void *pool) in zbud_zpool_total_size()
308 struct zbud_pool *pool; in zbud_create_pool() local
[all …]
Dzsmalloc.c317 static int zs_register_migration(struct zs_pool *pool) { return 0; } in zs_register_migration()
318 static void zs_unregister_migration(struct zs_pool *pool) {} in zs_unregister_migration()
322 static void kick_deferred_free(struct zs_pool *pool) {} in kick_deferred_free()
323 static void init_deferred_free(struct zs_pool *pool) {} in init_deferred_free()
324 static void SetZsPageMovable(struct zs_pool *pool, struct zspage *zspage) {} in SetZsPageMovable()
327 static int create_cache(struct zs_pool *pool) in create_cache()
345 static void destroy_cache(struct zs_pool *pool) in destroy_cache()
351 static unsigned long cache_alloc_handle(struct zs_pool *pool, gfp_t gfp) in cache_alloc_handle()
357 static void cache_free_handle(struct zs_pool *pool, unsigned long handle) in cache_free_handle()
362 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 show_pools() local
205 static void pool_initialise_page(struct dma_pool *pool, struct dma_page *page) in pool_initialise_page()
221 static struct dma_page *pool_alloc_page(struct dma_pool *pool, gfp_t mem_flags) in pool_alloc_page()
249 static void pool_free_page(struct dma_pool *pool, struct dma_page *page) in pool_free_page()
269 void dma_pool_destroy(struct dma_pool *pool) in dma_pool_destroy()
319 void *dma_pool_alloc(struct dma_pool *pool, gfp_t mem_flags, in dma_pool_alloc()
388 static struct dma_page *pool_find_page(struct dma_pool *pool, dma_addr_t dma) in pool_find_page()
410 void dma_pool_free(struct dma_pool *pool, void *vaddr, dma_addr_t dma) in dma_pool_free()
482 struct dma_pool *pool = *(struct dma_pool **)res; in dmam_pool_release() local
509 struct dma_pool **ptr, *pool; in dmam_pool_create() local
[all …]
Dzswap.c156 struct zswap_pool *pool; member
219 struct zswap_pool *pool; in zswap_update_total_size() local
400 struct zswap_pool *pool = hlist_entry(node, struct zswap_pool, node); in zswap_cpu_comp_prepare() local
418 struct zswap_pool *pool = hlist_entry(node, struct zswap_pool, node); in zswap_cpu_comp_dead() local
434 struct zswap_pool *pool; in __zswap_pool_current() local
452 struct zswap_pool *pool; in zswap_pool_current_get() local
467 struct zswap_pool *pool, *last = NULL; in zswap_pool_last_get() local
486 struct zswap_pool *pool; in zswap_pool_find_get() local
506 struct zswap_pool *pool; in zswap_pool_create() local
607 static void zswap_pool_destroy(struct zswap_pool *pool) in zswap_pool_destroy()
[all …]
Dzpool.c23 void *pool; member