Searched refs:xsk_ring_prod__reserve (Results 1 - 4 of 4) sorted by relevance

/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dxdp_metadata.c110 ret = xsk_ring_prod__reserve(&xsk->fill, UMEM_NUM / 2, &idx);
111 if (!ASSERT_EQ(UMEM_NUM / 2, ret, "xsk_ring_prod__reserve"))
163 ret = xsk_ring_prod__reserve(&xsk->tx, 1, &idx);
164 if (!ASSERT_EQ(ret, 1, "xsk_ring_prod__reserve"))
268 if (ASSERT_EQ(xsk_ring_prod__reserve(&xsk->fill, 1, &idx), 1, "xsk_ring_prod__reserve")) {
/linux-master/tools/testing/selftests/bpf/
H A Dxdp_hw_metadata.c121 ret = xsk_ring_prod__reserve(&xsk->fill, UMEM_NUM / 2, &idx);
145 if (xsk_ring_prod__reserve(&xsk->fill, 1, &idx) == 1) {
338 ret = xsk_ring_prod__reserve(&xsk->tx, 1, &idx);
H A Dxsk.h118 static inline __u32 xsk_ring_prod__reserve(struct xsk_ring_prod *prod, __u32 nb, __u32 *idx) function
H A Dxskxceiver.c1095 ret = xsk_ring_prod__reserve(&umem->fq, rcvd, &idx_fq);
1102 ret = xsk_ring_prod__reserve(&umem->fq, rcvd, &idx_fq);
1252 while (xsk_ring_prod__reserve(&xsk->tx, BATCH_SIZE, &idx) < BATCH_SIZE) {
1583 ret = xsk_ring_prod__reserve(&umem->fq, buffers_to_fill, &idx);

Completed in 362 milliseconds