Lines Matching refs:src
456 test_ring_mem_cmp(void *src, void *dst, unsigned int size) in test_ring_mem_cmp() argument
460 ret = memcmp(src, dst, size); in test_ring_mem_cmp()
462 rte_hexdump(stdout, "src", src, size); in test_ring_mem_cmp()
590 void **src = NULL, **cur_src = NULL, **dst = NULL, **cur_dst = NULL; in test_ring_burst_bulk_tests1() local
606 src = test_ring_calloc(RING_SIZE * 2, esize[i]); in test_ring_burst_bulk_tests1()
607 if (src == NULL) in test_ring_burst_bulk_tests1()
609 test_ring_mem_init(src, RING_SIZE * 2, esize[i]); in test_ring_burst_bulk_tests1()
610 cur_src = src; in test_ring_burst_bulk_tests1()
657 TEST_RING_VERIFY(test_ring_mem_cmp(src, dst, in test_ring_burst_bulk_tests1()
663 rte_free(src); in test_ring_burst_bulk_tests1()
666 src = NULL; in test_ring_burst_bulk_tests1()
673 rte_free(src); in test_ring_burst_bulk_tests1()
687 void **src = NULL, **cur_src = NULL, **dst = NULL, **cur_dst = NULL; in test_ring_burst_bulk_tests2() local
701 src = test_ring_calloc(RING_SIZE * 2, esize[i]); in test_ring_burst_bulk_tests2()
702 if (src == NULL) in test_ring_burst_bulk_tests2()
704 test_ring_mem_init(src, RING_SIZE * 2, esize[i]); in test_ring_burst_bulk_tests2()
705 cur_src = src; in test_ring_burst_bulk_tests2()
745 TEST_RING_VERIFY(test_ring_mem_cmp(src, dst, in test_ring_burst_bulk_tests2()
751 rte_free(src); in test_ring_burst_bulk_tests2()
754 src = NULL; in test_ring_burst_bulk_tests2()
761 rte_free(src); in test_ring_burst_bulk_tests2()
774 void **src = NULL, **cur_src = NULL, **dst = NULL, **cur_dst = NULL; in test_ring_burst_bulk_tests3() local
788 src = test_ring_calloc(RING_SIZE * 2, esize[i]); in test_ring_burst_bulk_tests3()
789 if (src == NULL) in test_ring_burst_bulk_tests3()
791 test_ring_mem_init(src, RING_SIZE * 2, esize[i]); in test_ring_burst_bulk_tests3()
792 cur_src = src; in test_ring_burst_bulk_tests3()
816 TEST_RING_VERIFY(test_ring_mem_cmp(src, dst, in test_ring_burst_bulk_tests3()
822 rte_free(src); in test_ring_burst_bulk_tests3()
825 src = NULL; in test_ring_burst_bulk_tests3()
832 rte_free(src); in test_ring_burst_bulk_tests3()
845 void **src = NULL, **cur_src = NULL, **dst = NULL, **cur_dst = NULL; in test_ring_burst_bulk_tests4() local
862 src = test_ring_calloc(RING_SIZE * 2, esize[i]); in test_ring_burst_bulk_tests4()
863 if (src == NULL) in test_ring_burst_bulk_tests4()
865 test_ring_mem_init(src, RING_SIZE * 2, esize[i]); in test_ring_burst_bulk_tests4()
866 cur_src = src; in test_ring_burst_bulk_tests4()
937 TEST_RING_VERIFY(test_ring_mem_cmp(src, dst, in test_ring_burst_bulk_tests4()
943 rte_free(src); in test_ring_burst_bulk_tests4()
946 src = NULL; in test_ring_burst_bulk_tests4()
953 rte_free(src); in test_ring_burst_bulk_tests4()
967 void **src = NULL, **cur_src = NULL, **dst = NULL, **cur_dst = NULL; in test_ring_basic_ex() local
979 src = test_ring_calloc(RING_SIZE, esize[i]); in test_ring_basic_ex()
980 if (src == NULL) { in test_ring_basic_ex()
984 test_ring_mem_init(src, RING_SIZE, esize[i]); in test_ring_basic_ex()
985 cur_src = src; in test_ring_basic_ex()
1022 TEST_RING_VERIFY(test_ring_mem_cmp(src, dst, in test_ring_basic_ex()
1033 cur_src = src; in test_ring_basic_ex()
1058 TEST_RING_VERIFY(test_ring_mem_cmp(src, dst, in test_ring_basic_ex()
1063 rte_free(src); in test_ring_basic_ex()
1066 src = NULL; in test_ring_basic_ex()
1074 rte_free(src); in test_ring_basic_ex()
1087 void **src = NULL, **cur_src = NULL, **dst = NULL, **cur_dst = NULL; in test_ring_with_exact_size() local
1121 src = (void **)((uintptr_t)src_orig + 1); in test_ring_with_exact_size()
1122 cur_src = src; in test_ring_with_exact_size()
1169 TEST_RING_VERIFY(test_ring_mem_cmp(src, dst, in test_ring_with_exact_size()