Lines Matching refs:zcd
72 test_ring_copy_to(struct rte_ring_zc_data *zcd, void * const *src, int esize, in test_ring_copy_to() argument
75 test_ring_mem_copy(zcd->ptr1, src, esize, zcd->n1); in test_ring_copy_to()
76 if (zcd->n1 != num) { in test_ring_copy_to()
78 src = src + zcd->n1; in test_ring_copy_to()
81 (zcd->n1 * esize / sizeof(uint32_t))); in test_ring_copy_to()
82 test_ring_mem_copy(zcd->ptr2, src, in test_ring_copy_to()
83 esize, num - zcd->n1); in test_ring_copy_to()
89 test_ring_copy_from(struct rte_ring_zc_data *zcd, void *dst, int esize, in test_ring_copy_from() argument
92 test_ring_mem_copy(dst, zcd->ptr1, esize, zcd->n1); in test_ring_copy_from()
94 if (zcd->n1 != num) { in test_ring_copy_from()
95 dst = test_ring_inc_ptr(dst, esize, zcd->n1); in test_ring_copy_from()
96 test_ring_mem_copy(dst, zcd->ptr2, esize, num - zcd->n1); in test_ring_copy_from()