Lines Matching defs:pool
11 void xp_add_xsk(struct xsk_buff_pool *pool, struct xdp_sock *xs) in xp_add_xsk()
23 void xp_del_xsk(struct xsk_buff_pool *pool, struct xdp_sock *xs) in xp_del_xsk()
35 void xp_destroy(struct xsk_buff_pool *pool) in xp_destroy()
47 struct xsk_buff_pool *pool; in xp_create_and_assign_umem() local
95 void xp_set_rxq_info(struct xsk_buff_pool *pool, struct xdp_rxq_info *rxq) in xp_set_rxq_info()
104 static void xp_disable_drv_zc(struct xsk_buff_pool *pool) in xp_disable_drv_zc()
123 static int __xp_assign_dev(struct xsk_buff_pool *pool, in __xp_assign_dev()
196 int xp_assign_dev(struct xsk_buff_pool *pool, struct net_device *dev, in xp_assign_dev()
202 int xp_assign_dev_shared(struct xsk_buff_pool *pool, struct xdp_umem *umem, in xp_assign_dev_shared()
218 void xp_clear_dev(struct xsk_buff_pool *pool) in xp_clear_dev()
231 struct xsk_buff_pool *pool = container_of(work, struct xsk_buff_pool, in xp_release_deferred() local
252 void xp_get_pool(struct xsk_buff_pool *pool) in xp_get_pool()
257 bool xp_put_pool(struct xsk_buff_pool *pool) in xp_put_pool()
271 static struct xsk_dma_map *xp_find_dma_map(struct xsk_buff_pool *pool) in xp_find_dma_map()
331 void xp_dma_unmap(struct xsk_buff_pool *pool, unsigned long attrs) in xp_dma_unmap()
366 static int xp_init_dma_info(struct xsk_buff_pool *pool, struct xsk_dma_map *dma_map) in xp_init_dma_info()
381 int xp_dma_map(struct xsk_buff_pool *pool, struct device *dev, in xp_dma_map()
428 static bool xp_addr_crosses_non_contig_pg(struct xsk_buff_pool *pool, in xp_addr_crosses_non_contig_pg()
434 static bool xp_check_unaligned(struct xsk_buff_pool *pool, u64 *addr) in xp_check_unaligned()
444 static bool xp_check_aligned(struct xsk_buff_pool *pool, u64 *addr) in xp_check_aligned()
450 static struct xdp_buff_xsk *__xp_alloc(struct xsk_buff_pool *pool) in __xp_alloc()
491 struct xdp_buff *xp_alloc(struct xsk_buff_pool *pool) in xp_alloc()
518 bool xp_can_alloc(struct xsk_buff_pool *pool, u32 count) in xp_can_alloc()
533 void *xp_raw_get_data(struct xsk_buff_pool *pool, u64 addr) in xp_raw_get_data()
540 dma_addr_t xp_raw_get_dma(struct xsk_buff_pool *pool, u64 addr) in xp_raw_get_dma()
556 void xp_dma_sync_for_device_slow(struct xsk_buff_pool *pool, dma_addr_t dma, in xp_dma_sync_for_device_slow()