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.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 …]
Dz3fold.c93 unsigned long pool; /* back link */ member
121 struct z3fold_pool *pool; member
210 static inline struct z3fold_buddy_slots *alloc_slots(struct z3fold_pool *pool, in alloc_slots()
340 struct z3fold_pool *pool = slots_to_pool(slots); in free_handle() local
377 static int z3fold_register_migration(struct z3fold_pool *pool) in z3fold_register_migration()
390 static void z3fold_unregister_migration(struct z3fold_pool *pool) in z3fold_unregister_migration()
398 struct z3fold_pool *pool, gfp_t gfp) in init_z3fold_page()
525 struct z3fold_pool *pool = zhdr_to_pool(zhdr); in __release_z3fold_page() local
564 struct z3fold_pool *pool = zhdr_to_pool(zhdr); in release_z3fold_page_locked_list() local
576 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 show_pools() 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.c166 struct zswap_pool *pool; member
236 struct zswap_pool *pool; in zswap_update_total_size() local
417 struct zswap_pool *pool = hlist_entry(node, struct zswap_pool, node); in zswap_cpu_comp_prepare() local
435 struct zswap_pool *pool = hlist_entry(node, struct zswap_pool, node); in zswap_cpu_comp_dead() local
451 struct zswap_pool *pool; in __zswap_pool_current() local
469 struct zswap_pool *pool; in zswap_pool_current_get() local
484 struct zswap_pool *pool, *last = NULL; in zswap_pool_last_get() local
503 struct zswap_pool *pool; in zswap_pool_find_get() local
523 struct zswap_pool *pool = container_of(w, typeof(*pool), in shrink_worker() local
533 struct zswap_pool *pool; in zswap_pool_create() local
[all …]
Dzpool.c23 void *pool; member