Lines Matching defs:pool
33 #define alloc_stat_inc(pool, __stat) (pool->alloc_stats.__stat++) argument
35 #define recycle_stat_inc(pool, __stat) \ argument
41 #define recycle_stat_add(pool, __stat, val) \ argument
72 bool page_pool_get_stats(struct page_pool *pool, in page_pool_get_stats()
143 #define alloc_stat_inc(pool, __stat) argument
144 #define recycle_stat_inc(pool, __stat) argument
145 #define recycle_stat_add(pool, __stat, val) argument
148 static bool page_pool_producer_lock(struct page_pool *pool) in page_pool_producer_lock()
161 static void page_pool_producer_unlock(struct page_pool *pool, in page_pool_producer_unlock()
171 static int page_pool_init(struct page_pool *pool, in page_pool_init()
248 struct page_pool *pool; in page_pool_create() local
269 static struct page *page_pool_refill_alloc_cache(struct page_pool *pool) in page_pool_refill_alloc_cache()
322 static struct page *__page_pool_get_cached(struct page_pool *pool) in __page_pool_get_cached()
338 static void page_pool_dma_sync_for_device(struct page_pool *pool, in page_pool_dma_sync_for_device()
350 static bool page_pool_dma_map(struct page_pool *pool, struct page *page) in page_pool_dma_map()
374 static void page_pool_set_pp_info(struct page_pool *pool, in page_pool_set_pp_info()
389 static struct page *__page_pool_alloc_page_order(struct page_pool *pool, in __page_pool_alloc_page_order()
416 static struct page *__page_pool_alloc_pages_slow(struct page_pool *pool, in __page_pool_alloc_pages_slow()
475 struct page *page_pool_alloc_pages(struct page_pool *pool, gfp_t gfp) in page_pool_alloc_pages()
495 static s32 page_pool_inflight(struct page_pool *pool) in page_pool_inflight()
514 static void page_pool_return_page(struct page_pool *pool, struct page *page) in page_pool_return_page()
548 static bool page_pool_recycle_in_ring(struct page_pool *pool, struct page *page) in page_pool_recycle_in_ring()
571 struct page_pool *pool) in page_pool_recycle_in_cache()
591 __page_pool_put_page(struct page_pool *pool, struct page *page, in __page_pool_put_page()
638 void page_pool_put_defragged_page(struct page_pool *pool, struct page *page, in page_pool_put_defragged_page()
665 void page_pool_put_page_bulk(struct page_pool *pool, void **data, in page_pool_put_page_bulk()
711 static struct page *page_pool_drain_frag(struct page_pool *pool, in page_pool_drain_frag()
731 static void page_pool_free_frag(struct page_pool *pool) in page_pool_free_frag()
744 struct page *page_pool_alloc_frag(struct page_pool *pool, in page_pool_alloc_frag()
790 static void page_pool_empty_ring(struct page_pool *pool) in page_pool_empty_ring()
805 static void page_pool_free(struct page_pool *pool) in page_pool_free()
821 static void page_pool_empty_alloc_cache_once(struct page_pool *pool) in page_pool_empty_alloc_cache_once()
838 static void page_pool_scrub(struct page_pool *pool) in page_pool_scrub()
849 static int page_pool_release(struct page_pool *pool) in page_pool_release()
864 struct page_pool *pool = container_of(dwq, typeof(*pool), release_dw); in page_pool_release_retry() local
884 void page_pool_use_xdp_mem(struct page_pool *pool, void (*disconnect)(void *), in page_pool_use_xdp_mem()
892 void page_pool_unlink_napi(struct page_pool *pool) in page_pool_unlink_napi()
907 void page_pool_destroy(struct page_pool *pool) in page_pool_destroy()
930 void page_pool_update_nid(struct page_pool *pool, int new_nid) in page_pool_update_nid()