Home
last modified time | relevance | path

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

/dpdk/app/test/
H A Dtest_malloc.c51 uintptr_t ptr1 = (uintptr_t)p1; in is_memory_overlap() local
54 if (ptr2 >= ptr1 && (ptr2 - ptr1) < len1) in is_memory_overlap()
56 else if (ptr2 < ptr1 && (ptr1 - ptr2) < len2) in is_memory_overlap()
395 char *ptr1 = rte_zmalloc_socket( in test_realloc_socket() local
397 if (!ptr1){ in test_realloc_socket()
405 rte_free(ptr1); in test_realloc_socket()
409 if (ptr1 == ptr2){ in test_realloc_socket()
583 void *ptr1, *ptr2; in test_realloc_numa() local
587 ptr1 = NULL; in test_realloc_numa()
603 ptr1 = ptr2; in test_realloc_numa()
[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.h75 test_ring_mem_copy(zcd->ptr1, src, esize, zcd->n1); in test_ring_copy_to()
92 test_ring_mem_copy(dst, zcd->ptr1, esize, zcd->n1); in test_ring_copy_from()
/dpdk/lib/ring/
H A Drte_ring_peek_zc.h84 void *ptr1; member
148 __rte_ring_get_elem_addr(r, head, esize, n, &zcd->ptr1, in __rte_ring_do_enqueue_zc_elem_start()
356 __rte_ring_get_elem_addr(r, head, esize, n, &zcd->ptr1, 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.rst485 nb_rx = rte_eth_rx_burst(portid, queueid, zcd->ptr1, zcd->n1);