Searched refs:xdp_umem_ring (Results 1 – 3 of 3) sorted by relevance
29 struct xdp_umem_ring { struct178 struct xdp_umem_ring *ring = (struct xdp_umem_ring *)q->ring; in xskq_validate_addr()223 struct xdp_umem_ring *ring = (struct xdp_umem_ring *)q->ring; in xskq_produce_addr()240 struct xdp_umem_ring *ring = (struct xdp_umem_ring *)q->ring; in xskq_produce_addr_lazy()
841 ring->producer = offsetof(struct xdp_umem_ring, ptrs.producer); in xsk_enter_umem_offsets()842 ring->consumer = offsetof(struct xdp_umem_ring, ptrs.consumer); in xsk_enter_umem_offsets()843 ring->desc = offsetof(struct xdp_umem_ring, desc); in xsk_enter_umem_offsets()910 off.fr.flags = offsetof(struct xdp_umem_ring, in xsk_getsockopt()912 off.cr.flags = offsetof(struct xdp_umem_ring, in xsk_getsockopt()
23 return sizeof(struct xdp_umem_ring) + q->nentries * sizeof(u64); in xskq_umem_get_ring_size()