Lines Matching refs:xsk_buff_pool
12 struct xsk_buff_pool;
25 struct xsk_buff_pool *pool;
41 struct xsk_buff_pool { struct
80 struct xsk_buff_pool *xp_create_and_assign_umem(struct xdp_sock *xs, argument
82 int xp_assign_dev(struct xsk_buff_pool *pool, struct net_device *dev,
84 int xp_assign_dev_shared(struct xsk_buff_pool *pool, struct xdp_umem *umem,
86 void xp_destroy(struct xsk_buff_pool *pool);
88 void xp_get_pool(struct xsk_buff_pool *pool);
89 bool xp_put_pool(struct xsk_buff_pool *pool);
90 void xp_clear_dev(struct xsk_buff_pool *pool);
91 void xp_add_xsk(struct xsk_buff_pool *pool, struct xdp_sock *xs);
92 void xp_del_xsk(struct xsk_buff_pool *pool, struct xdp_sock *xs);
98 void xp_set_rxq_info(struct xsk_buff_pool *pool, struct xdp_rxq_info *rxq);
99 int xp_dma_map(struct xsk_buff_pool *pool, struct device *dev,
101 void xp_dma_unmap(struct xsk_buff_pool *pool, unsigned long attrs);
102 struct xdp_buff *xp_alloc(struct xsk_buff_pool *pool);
103 bool xp_can_alloc(struct xsk_buff_pool *pool, u32 count);
104 void *xp_raw_get_data(struct xsk_buff_pool *pool, u64 addr);
105 dma_addr_t xp_raw_get_dma(struct xsk_buff_pool *pool, u64 addr);
122 void xp_dma_sync_for_device_slow(struct xsk_buff_pool *pool, dma_addr_t dma,
124 static inline void xp_dma_sync_for_device(struct xsk_buff_pool *pool, in xp_dma_sync_for_device()
140 static inline bool xp_desc_crosses_non_contig_pg(struct xsk_buff_pool *pool, in xp_desc_crosses_non_contig_pg()
152 static inline u64 xp_aligned_extract_addr(struct xsk_buff_pool *pool, u64 addr) in xp_aligned_extract_addr()