Lines Matching refs:std_r
1086 struct rte_ring *std_r = NULL, *exact_sz_r = NULL; in test_ring_with_exact_size() local
1098 std_r = test_ring_create("std", esize[i], ring_sz, in test_ring_with_exact_size()
1101 if (std_r == NULL) { in test_ring_with_exact_size()
1135 TEST_RING_VERIFY(rte_ring_get_size(std_r) <= in test_ring_with_exact_size()
1137 std_r, goto test_fail); in test_ring_with_exact_size()
1144 ret = test_ring_enqueue(std_r, cur_src, esize[i], 1, in test_ring_with_exact_size()
1146 TEST_RING_VERIFY(ret == 0, std_r, goto test_fail); in test_ring_with_exact_size()
1152 ret = test_ring_enqueue(std_r, cur_src, esize[i], 1, in test_ring_with_exact_size()
1154 TEST_RING_VERIFY(ret == -ENOBUFS, std_r, goto test_fail); in test_ring_with_exact_size()
1176 rte_ring_free(std_r); in test_ring_with_exact_size()
1180 std_r = NULL; in test_ring_with_exact_size()
1189 rte_ring_free(std_r); in test_ring_with_exact_size()