Searched refs:ptr1 (Results 1 – 6 of 6) sorted by relevance
| /dpdk/app/test/ |
| H A D | test_malloc.c | 51 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 D | test_memzone.c | 56 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 D | test_ring.h | 75 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 D | rte_ring_peek_zc.h | 84 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 D | rte_common.h | 305 #define RTE_PTR_DIFF(ptr1, ptr2) ((uintptr_t)(ptr1) - (uintptr_t)(ptr2)) argument
|
| /dpdk/doc/guides/prog_guide/ |
| H A D | ring_lib.rst | 485 nb_rx = rte_eth_rx_burst(portid, queueid, zcd->ptr1, zcd->n1);
|