Lines Matching defs:pool
32 #define alloc_stat_inc(pool, __stat) (pool->alloc_stats.__stat++) argument
34 #define recycle_stat_inc(pool, __stat) \ argument
40 #define recycle_stat_add(pool, __stat, val) \ argument
60 bool page_pool_get_stats(struct page_pool *pool, in page_pool_get_stats()
131 #define alloc_stat_inc(pool, __stat) argument
132 #define recycle_stat_inc(pool, __stat) argument
133 #define recycle_stat_add(pool, __stat, val) argument
136 static int page_pool_init(struct page_pool *pool, in page_pool_init()
205 struct page_pool *pool; in page_pool_create() local
226 static struct page *page_pool_refill_alloc_cache(struct page_pool *pool) in page_pool_refill_alloc_cache()
279 static struct page *__page_pool_get_cached(struct page_pool *pool) in __page_pool_get_cached()
295 static void page_pool_dma_sync_for_device(struct page_pool *pool, in page_pool_dma_sync_for_device()
307 static bool page_pool_dma_map(struct page_pool *pool, struct page *page) in page_pool_dma_map()
330 static void page_pool_set_pp_info(struct page_pool *pool, in page_pool_set_pp_info()
345 static struct page *__page_pool_alloc_page_order(struct page_pool *pool, in __page_pool_alloc_page_order()
372 static struct page *__page_pool_alloc_pages_slow(struct page_pool *pool, in __page_pool_alloc_pages_slow()
431 struct page *page_pool_alloc_pages(struct page_pool *pool, gfp_t gfp) in page_pool_alloc_pages()
451 static s32 page_pool_inflight(struct page_pool *pool) in page_pool_inflight()
470 void page_pool_release_page(struct page_pool *pool, struct page *page) in page_pool_release_page()
500 static void page_pool_return_page(struct page_pool *pool, struct page *page) in page_pool_return_page()
511 static bool page_pool_recycle_in_ring(struct page_pool *pool, struct page *page) in page_pool_recycle_in_ring()
534 struct page_pool *pool) in page_pool_recycle_in_cache()
554 __page_pool_put_page(struct page_pool *pool, struct page *page, in __page_pool_put_page()
601 void page_pool_put_defragged_page(struct page_pool *pool, struct page *page, in page_pool_put_defragged_page()
614 void page_pool_put_page_bulk(struct page_pool *pool, void **data, in page_pool_put_page_bulk()
659 static struct page *page_pool_drain_frag(struct page_pool *pool, in page_pool_drain_frag()
679 static void page_pool_free_frag(struct page_pool *pool) in page_pool_free_frag()
692 struct page *page_pool_alloc_frag(struct page_pool *pool, in page_pool_alloc_frag()
738 static void page_pool_empty_ring(struct page_pool *pool) in page_pool_empty_ring()
753 static void page_pool_free(struct page_pool *pool) in page_pool_free()
769 static void page_pool_empty_alloc_cache_once(struct page_pool *pool) in page_pool_empty_alloc_cache_once()
786 static void page_pool_scrub(struct page_pool *pool) in page_pool_scrub()
797 static int page_pool_release(struct page_pool *pool) in page_pool_release()
812 struct page_pool *pool = container_of(dwq, typeof(*pool), release_dw); in page_pool_release_retry() local
832 void page_pool_use_xdp_mem(struct page_pool *pool, void (*disconnect)(void *), in page_pool_use_xdp_mem()
840 void page_pool_destroy(struct page_pool *pool) in page_pool_destroy()
862 void page_pool_update_nid(struct page_pool *pool, int new_nid) in page_pool_update_nid()