Lines Matching defs:pool
43 #define alloc_stat_inc(pool, __stat) (pool->alloc_stats.__stat++) argument
45 #define recycle_stat_inc(pool, __stat) \ argument
51 #define recycle_stat_add(pool, __stat, val) \ argument
82 bool page_pool_get_stats(const struct page_pool *pool, in page_pool_get_stats()
153 #define alloc_stat_inc(pool, __stat) argument
154 #define recycle_stat_inc(pool, __stat) argument
155 #define recycle_stat_add(pool, __stat, val) argument
158 static bool page_pool_producer_lock(struct page_pool *pool) in page_pool_producer_lock()
171 static void page_pool_producer_unlock(struct page_pool *pool, in page_pool_producer_unlock()
190 static int page_pool_init(struct page_pool *pool, in page_pool_init()
311 static void page_pool_uninit(struct page_pool *pool) in page_pool_uninit()
332 struct page_pool *pool; in page_pool_create_percpu() local
370 static noinline netmem_ref page_pool_refill_alloc_cache(struct page_pool *pool) in page_pool_refill_alloc_cache()
423 static netmem_ref __page_pool_get_cached(struct page_pool *pool) in __page_pool_get_cached()
439 static void __page_pool_dma_sync_for_device(const struct page_pool *pool, in __page_pool_dma_sync_for_device()
453 page_pool_dma_sync_for_device(const struct page_pool *pool, in page_pool_dma_sync_for_device()
461 static bool page_pool_dma_map(struct page_pool *pool, netmem_ref netmem) in page_pool_dma_map()
492 static struct page *__page_pool_alloc_page_order(struct page_pool *pool, in __page_pool_alloc_page_order()
518 static noinline netmem_ref __page_pool_alloc_pages_slow(struct page_pool *pool, in __page_pool_alloc_pages_slow()
577 netmem_ref page_pool_alloc_netmem(struct page_pool *pool, gfp_t gfp) in page_pool_alloc_netmem()
595 struct page *page_pool_alloc_pages(struct page_pool *pool, gfp_t gfp) in page_pool_alloc_pages()
607 s32 page_pool_inflight(const struct page_pool *pool, bool strict) in page_pool_inflight()
626 void page_pool_set_pp_info(struct page_pool *pool, netmem_ref netmem) in page_pool_set_pp_info()
648 static __always_inline void __page_pool_release_page_dma(struct page_pool *pool, in __page_pool_release_page_dma()
673 void page_pool_return_page(struct page_pool *pool, netmem_ref netmem) in page_pool_return_page()
700 static bool page_pool_recycle_in_ring(struct page_pool *pool, netmem_ref netmem) in page_pool_recycle_in_ring()
723 struct page_pool *pool) in page_pool_recycle_in_cache()
750 __page_pool_put_page(struct page_pool *pool, netmem_ref netmem, in __page_pool_put_page()
795 static bool page_pool_napi_local(const struct page_pool *pool) in page_pool_napi_local()
818 void page_pool_put_unrefed_netmem(struct page_pool *pool, netmem_ref netmem, in page_pool_put_unrefed_netmem()
834 void page_pool_put_unrefed_page(struct page_pool *pool, struct page *page, in page_pool_put_unrefed_page()
857 void page_pool_put_page_bulk(struct page_pool *pool, void **data, in page_pool_put_page_bulk()
906 static netmem_ref page_pool_drain_frag(struct page_pool *pool, in page_pool_drain_frag()
924 static void page_pool_free_frag(struct page_pool *pool) in page_pool_free_frag()
937 netmem_ref page_pool_alloc_frag_netmem(struct page_pool *pool, in page_pool_alloc_frag_netmem()
982 struct page *page_pool_alloc_frag(struct page_pool *pool, unsigned int *offset, in page_pool_alloc_frag()
990 static void page_pool_empty_ring(struct page_pool *pool) in page_pool_empty_ring()
1005 static void __page_pool_destroy(struct page_pool *pool) in __page_pool_destroy()
1021 static void page_pool_empty_alloc_cache_once(struct page_pool *pool) in page_pool_empty_alloc_cache_once()
1038 static void page_pool_scrub(struct page_pool *pool) in page_pool_scrub()
1049 static int page_pool_release(struct page_pool *pool) in page_pool_release()
1064 struct page_pool *pool = container_of(dwq, typeof(*pool), release_dw); in page_pool_release_retry() local
1087 void page_pool_use_xdp_mem(struct page_pool *pool, void (*disconnect)(void *), in page_pool_use_xdp_mem()
1095 void page_pool_disable_direct_recycling(struct page_pool *pool) in page_pool_disable_direct_recycling()
1115 void page_pool_destroy(struct page_pool *pool) in page_pool_destroy()
1139 void page_pool_update_nid(struct page_pool *pool, int new_nid) in page_pool_update_nid()