Lines Matching defs:pool

13 void xp_add_xsk(struct xsk_buff_pool *pool, struct xdp_sock *xs)  in xp_add_xsk()
25 void xp_del_xsk(struct xsk_buff_pool *pool, struct xdp_sock *xs) in xp_del_xsk()
37 void xp_destroy(struct xsk_buff_pool *pool) in xp_destroy()
47 int xp_alloc_tx_descs(struct xsk_buff_pool *pool, struct xdp_sock *xs) in xp_alloc_tx_descs()
61 struct xsk_buff_pool *pool; in xp_create_and_assign_umem() local
121 void xp_set_rxq_info(struct xsk_buff_pool *pool, struct xdp_rxq_info *rxq) in xp_set_rxq_info()
130 void xp_fill_cb(struct xsk_buff_pool *pool, struct xsk_cb_desc *desc) in xp_fill_cb()
142 static void xp_disable_drv_zc(struct xsk_buff_pool *pool) in xp_disable_drv_zc()
165 int xp_assign_dev(struct xsk_buff_pool *pool, in xp_assign_dev()
251 int xp_assign_dev_shared(struct xsk_buff_pool *pool, struct xdp_sock *umem_xs, in xp_assign_dev_shared()
268 void xp_clear_dev(struct xsk_buff_pool *pool) in xp_clear_dev()
281 struct xsk_buff_pool *pool = container_of(work, struct xsk_buff_pool, in xp_release_deferred() local
302 void xp_get_pool(struct xsk_buff_pool *pool) in xp_get_pool()
307 bool xp_put_pool(struct xsk_buff_pool *pool) in xp_put_pool()
321 static struct xsk_dma_map *xp_find_dma_map(struct xsk_buff_pool *pool) in xp_find_dma_map()
381 void xp_dma_unmap(struct xsk_buff_pool *pool, unsigned long attrs) in xp_dma_unmap()
416 static int xp_init_dma_info(struct xsk_buff_pool *pool, struct xsk_dma_map *dma_map) in xp_init_dma_info()
442 int xp_dma_map(struct xsk_buff_pool *pool, struct device *dev, in xp_dma_map()
487 static bool xp_addr_crosses_non_contig_pg(struct xsk_buff_pool *pool, in xp_addr_crosses_non_contig_pg()
493 static bool xp_check_unaligned(struct xsk_buff_pool *pool, u64 *addr) in xp_check_unaligned()
503 static bool xp_check_aligned(struct xsk_buff_pool *pool, u64 *addr) in xp_check_aligned()
509 static struct xdp_buff_xsk *xp_get_xskb(struct xsk_buff_pool *pool, u64 addr) in xp_get_xskb()
525 static struct xdp_buff_xsk *__xp_alloc(struct xsk_buff_pool *pool) in __xp_alloc()
556 struct xdp_buff *xp_alloc(struct xsk_buff_pool *pool) in xp_alloc()
582 static u32 xp_alloc_new_from_fq(struct xsk_buff_pool *pool, struct xdp_buff **xdp, u32 max) in xp_alloc_new_from_fq()
618 static u32 xp_alloc_reused(struct xsk_buff_pool *pool, struct xdp_buff **xdp, u32 nb_entries) in xp_alloc_reused()
638 static u32 xp_alloc_slow(struct xsk_buff_pool *pool, struct xdp_buff **xdp, in xp_alloc_slow()
656 u32 xp_alloc_batch(struct xsk_buff_pool *pool, struct xdp_buff **xdp, u32 max) in xp_alloc_batch()
680 bool xp_can_alloc(struct xsk_buff_pool *pool, u32 count) in xp_can_alloc()
706 static u64 __xp_raw_get_addr(const struct xsk_buff_pool *pool, u64 addr) in __xp_raw_get_addr()
711 static void *__xp_raw_get_data(const struct xsk_buff_pool *pool, u64 addr) in __xp_raw_get_data()
716 void *xp_raw_get_data(struct xsk_buff_pool *pool, u64 addr) in xp_raw_get_data()
722 static dma_addr_t __xp_raw_get_dma(const struct xsk_buff_pool *pool, u64 addr) in __xp_raw_get_dma()
729 dma_addr_t xp_raw_get_dma(struct xsk_buff_pool *pool, u64 addr) in xp_raw_get_dma()
747 struct xdp_desc_ctx xp_raw_get_ctx(const struct xsk_buff_pool *pool, u64 addr) in xp_raw_get_ctx()