Home
last modified time | relevance | path

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

/mm/
Dzbud.c124 static int zbud_zpool_evict(struct zbud_pool *pool, unsigned long handle) in zbud_zpool_evict()
139 static void zbud_zpool_destroy(void *pool) in zbud_zpool_destroy()
144 static int zbud_zpool_malloc(void *pool, size_t size, gfp_t gfp, in zbud_zpool_malloc()
149 static void zbud_zpool_free(void *pool, unsigned long handle) in zbud_zpool_free()
154 static int zbud_zpool_shrink(void *pool, unsigned int pages, in zbud_zpool_shrink()
173 static void *zbud_zpool_map(void *pool, unsigned long handle, in zbud_zpool_map()
178 static void zbud_zpool_unmap(void *pool, unsigned long handle) in zbud_zpool_unmap()
183 static u64 zbud_zpool_total_size(void *pool) in zbud_zpool_total_size()
292 struct zbud_pool *pool; in zbud_create_pool() local
314 void zbud_destroy_pool(struct zbud_pool *pool) in zbud_destroy_pool()
[all …]
Ddmapool.c74 struct dma_pool *pool; in show_pools() local
206 static void pool_initialise_page(struct dma_pool *pool, struct dma_page *page) in pool_initialise_page()
222 static struct dma_page *pool_alloc_page(struct dma_pool *pool, gfp_t mem_flags) in pool_alloc_page()
250 static void pool_free_page(struct dma_pool *pool, struct dma_page *page) in pool_free_page()
270 void dma_pool_destroy(struct dma_pool *pool) in dma_pool_destroy()
318 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()
477 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 …]
Dmempool.c19 static void add_element(mempool_t *pool, void *element) in add_element()
25 static void *remove_element(mempool_t *pool) in remove_element()
39 void mempool_destroy(mempool_t *pool) in mempool_destroy()
76 mempool_t *pool; in mempool_create_node() local
126 int mempool_resize(mempool_t *pool, int new_min_nr, gfp_t gfp_mask) in mempool_resize()
198 void * mempool_alloc(mempool_t *pool, gfp_t gfp_mask) in mempool_alloc()
275 void mempool_free(void *element, mempool_t *pool) in mempool_free()
Dzsmalloc.c283 static int create_handle_cache(struct zs_pool *pool) in create_handle_cache()
290 static void destroy_handle_cache(struct zs_pool *pool) in destroy_handle_cache()
296 static unsigned long alloc_handle(struct zs_pool *pool) in alloc_handle()
302 static void free_handle(struct zs_pool *pool, unsigned long handle) in free_handle()
321 static void zs_zpool_destroy(void *pool) in zs_zpool_destroy()
326 static int zs_zpool_malloc(void *pool, size_t size, gfp_t gfp, in zs_zpool_malloc()
332 static void zs_zpool_free(void *pool, unsigned long handle) in zs_zpool_free()
337 static int zs_zpool_shrink(void *pool, unsigned int pages, in zs_zpool_shrink()
343 static void *zs_zpool_map(void *pool, unsigned long handle, in zs_zpool_map()
363 static void zs_zpool_unmap(void *pool, unsigned long handle) in zs_zpool_unmap()
[all …]
Dzpool.c24 void *pool; member
84 int zpool_evict(void *pool, unsigned long handle) in zpool_evict()
Dzswap.c533 static int zswap_writeback_entry(struct zpool *pool, unsigned long handle) in zswap_writeback_entry()