Home
last modified time | relevance | path

Searched refs:ptr2 (Results 1 – 6 of 6) sorted by relevance

/dpdk/app/test/
H A Dtest_malloc.c54 if (ptr2 >= ptr1 && (ptr2 - ptr1) < len1) in is_memory_overlap()
56 else if (ptr2 < ptr1 && (ptr1 - ptr2) < len2) in is_memory_overlap()
404 if (!ptr2){ in test_realloc_socket()
409 if (ptr1 == ptr2){ in test_realloc_socket()
414 rte_free(ptr2); in test_realloc_socket()
421 rte_free(ptr2); in test_realloc_socket()
431 rte_free(ptr2); in test_realloc_socket()
438 rte_free(ptr2); in test_realloc_socket()
441 rte_free(ptr2); in test_realloc_socket()
583 void *ptr1, *ptr2; in test_realloc_numa() local
[all …]
H A Dtest_memzone.c56 is_memory_overlap(rte_iova_t ptr1, size_t len1, rte_iova_t ptr2, size_t len2) in is_memory_overlap() argument
58 if (ptr2 >= ptr1 && (ptr2 - ptr1) < len1) in is_memory_overlap()
60 else if (ptr2 < ptr1 && (ptr1 - ptr2) < len2) in is_memory_overlap()
H A Dtest_ring.h82 test_ring_mem_copy(zcd->ptr2, src, in test_ring_copy_to()
96 test_ring_mem_copy(dst, zcd->ptr2, esize, num - zcd->n1); in test_ring_copy_from()
/dpdk/lib/ring/
H A Drte_ring_peek_zc.h88 void *ptr2; member
149 &zcd->n1, &zcd->ptr2); in __rte_ring_do_enqueue_zc_elem_start()
357 &zcd->n1, &zcd->ptr2); in __rte_ring_do_dequeue_zc_elem_start()
/dpdk/lib/eal/include/
H A Drte_common.h305 #define RTE_PTR_DIFF(ptr1, ptr2) ((uintptr_t)(ptr1) - (uintptr_t)(ptr2)) argument
/dpdk/doc/guides/prog_guide/
H A Dring_lib.rst487 nb_rx += rte_eth_rx_burst(portid, queueid, zcd->ptr2,