Lines Matching refs:copy2
435 struct rte_mbuf *copy2 = NULL; in test_pktmbuf_copy() local
528 rte_pktmbuf_free(copy2); in test_pktmbuf_copy()
531 copy2 = rte_pktmbuf_copy(copy, pktmbuf_pool, in test_pktmbuf_copy()
533 if (copy2 == NULL) in test_pktmbuf_copy()
536 if (rte_pktmbuf_pkt_len(copy2) != sizeof(uint32_t)) in test_pktmbuf_copy()
539 if (rte_pktmbuf_data_len(copy2) != sizeof(uint32_t)) in test_pktmbuf_copy()
542 data = rte_pktmbuf_mtod(copy2, unaligned_uint32_t *); in test_pktmbuf_copy()
546 rte_pktmbuf_free(copy2); in test_pktmbuf_copy()
549 copy2 = rte_pktmbuf_copy(copy, pktmbuf_pool, in test_pktmbuf_copy()
551 if (copy2 == NULL) in test_pktmbuf_copy()
554 if (rte_pktmbuf_pkt_len(copy2) != sizeof(uint32_t)) in test_pktmbuf_copy()
557 if (rte_pktmbuf_data_len(copy2) != sizeof(uint32_t)) in test_pktmbuf_copy()
560 data = rte_pktmbuf_mtod(copy2, unaligned_uint32_t *); in test_pktmbuf_copy()
567 rte_pktmbuf_free(copy2); in test_pktmbuf_copy()
571 copy2 = NULL; in test_pktmbuf_copy()
580 if (copy2) in test_pktmbuf_copy()
581 rte_pktmbuf_free(copy2); in test_pktmbuf_copy()