Home
last modified time | relevance | path

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

/f-stack/dpdk/app/test/
H A Dtest_malloc.c53 if (ptr2 >= ptr1 && (ptr2 - ptr1) < len1) in is_memory_overlap()
55 else if (ptr2 < ptr1 && (ptr1 - ptr2) < len2) in is_memory_overlap()
395 if (!ptr2){ in test_realloc_socket()
400 if (ptr1 == ptr2){ in test_realloc_socket()
405 rte_free(ptr2); in test_realloc_socket()
412 rte_free(ptr2); in test_realloc_socket()
422 rte_free(ptr2); in test_realloc_socket()
429 rte_free(ptr2); in test_realloc_socket()
432 rte_free(ptr2); in test_realloc_socket()
574 void *ptr1, *ptr2; in test_realloc_numa() local
[all …]
H A Dtest_memzone.c55 is_memory_overlap(rte_iova_t ptr1, size_t len1, rte_iova_t ptr2, size_t len2) in is_memory_overlap() argument
57 if (ptr2 >= ptr1 && (ptr2 - ptr1) < len1) in is_memory_overlap()
59 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()
/f-stack/dpdk/lib/librte_ring/
H A Drte_ring_peek_zc.h89 void *ptr2; member
150 &zcd->n1, &zcd->ptr2); in __rte_ring_do_enqueue_zc_elem_start()
364 &zcd->n1, &zcd->ptr2); in __rte_ring_do_dequeue_zc_elem_start()
/f-stack/freebsd/contrib/dpdk_rte_lpm/
H A Drte_common.h221 #define RTE_PTR_DIFF(ptr1, ptr2) ((uintptr_t)(ptr1) - (uintptr_t)(ptr2)) argument
/f-stack/dpdk/lib/librte_eal/include/
H A Drte_common.h260 #define RTE_PTR_DIFF(ptr1, ptr2) ((uintptr_t)(ptr1) - (uintptr_t)(ptr2)) argument
/f-stack/dpdk/doc/guides/prog_guide/
H A Dring_lib.rst487 nb_rx += rte_eth_rx_burst(portid, queueid, zcd->ptr2,