Lines Matching refs:page_pool
3 * page_pool/helpers.h
9 * DOC: page_pool allocator
11 * The page_pool allocator is optimized for the XDP mode that
20 * when it is safe to free a page_pool object. Thus, API users
22 * the page to a page_pool-aware object like skbs marked with
32 #include <net/page_pool/types.h>
44 bool page_pool_get_stats(struct page_pool *pool,
67 * Get a page from the page allocator or page_pool caches.
69 static inline struct page *page_pool_dev_alloc_pages(struct page_pool *pool)
76 static inline struct page *page_pool_dev_alloc_frag(struct page_pool *pool,
90 * and avoid the extra cache line from page_pool to determine the direction.
93 inline enum dma_data_direction page_pool_get_dma_dir(struct page_pool *pool)
134 static inline bool page_pool_is_last_frag(struct page_pool *pool,
155 static inline void page_pool_put_page(struct page_pool *pool,
160 /* When page_pool isn't compiled-in, net/core/xdp.c doesn't
180 static inline void page_pool_put_full_page(struct page_pool *pool,
194 static inline void page_pool_recycle_direct(struct page_pool *pool,
227 static inline bool page_pool_put(struct page_pool *pool)
232 static inline void page_pool_nid_changed(struct page_pool *pool, int new_nid)