Home
last modified time | relevance | path

Searched refs:xdp_buff_xsk (Results 1 – 4 of 4) sorted by relevance

/Linux-v6.1/include/net/
Dxsk_buff_pool.h22 struct xdp_buff_xsk { struct
62 struct xdp_buff_xsk *heads;
83 struct xdp_buff_xsk *free_heads[];
109 void xp_free(struct xdp_buff_xsk *xskb);
111 static inline void xp_init_xskb_addr(struct xdp_buff_xsk *xskb, struct xsk_buff_pool *pool, in xp_init_xskb_addr()
118 static inline void xp_init_xskb_dma(struct xdp_buff_xsk *xskb, struct xsk_buff_pool *pool, in xp_init_xskb_dma()
136 static inline dma_addr_t xp_get_dma(struct xdp_buff_xsk *xskb) in xp_get_dma()
141 static inline dma_addr_t xp_get_frame_dma(struct xdp_buff_xsk *xskb) in xp_get_frame_dma()
146 void xp_dma_sync_for_cpu_slow(struct xdp_buff_xsk *xskb);
147 static inline void xp_dma_sync_for_cpu(struct xdp_buff_xsk *xskb) in xp_dma_sync_for_cpu()
[all …]
Dxdp_sock_drv.h75 struct xdp_buff_xsk *xskb = container_of(xdp, struct xdp_buff_xsk, xdp); in xsk_buff_xdp_get_dma()
82 struct xdp_buff_xsk *xskb = container_of(xdp, struct xdp_buff_xsk, xdp); in xsk_buff_xdp_get_frame_dma()
105 struct xdp_buff_xsk *xskb = container_of(xdp, struct xdp_buff_xsk, xdp); in xsk_buff_free()
130 struct xdp_buff_xsk *xskb = container_of(xdp, struct xdp_buff_xsk, xdp); in xsk_buff_dma_sync_for_cpu()
/Linux-v6.1/net/xdp/
Dxsk_buff_pool.c60 struct xdp_buff_xsk *xskb; in xp_create_and_assign_umem()
387 struct xdp_buff_xsk *xskb = &pool->heads[i]; in xp_init_dma_info()
475 static struct xdp_buff_xsk *__xp_alloc(struct xsk_buff_pool *pool) in __xp_alloc()
477 struct xdp_buff_xsk *xskb; in __xp_alloc()
515 struct xdp_buff_xsk *xskb; in xp_alloc()
523 xskb = list_first_entry(&pool->free_list, struct xdp_buff_xsk, in xp_alloc()
552 struct xdp_buff_xsk *xskb; in xp_alloc_new_from_fq()
585 struct xdp_buff_xsk *xskb; in xp_alloc_reused()
592 xskb = list_first_entry(&pool->free_list, struct xdp_buff_xsk, free_list_node); in xp_alloc_reused()
642 void xp_free(struct xdp_buff_xsk *xskb) in xp_free()
[all …]
Dxsk.c139 struct xdp_buff_xsk *xskb = container_of(xdp, struct xdp_buff_xsk, xdp); in __xsk_rcv_zc()