Lines Matching refs:ptr1
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()
401 strlcpy(ptr1, hello_str, size1); in test_realloc_socket()
403 ptr1, size2, RTE_CACHE_LINE_SIZE, socket); 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()
595 ptr2 = rte_realloc_socket(ptr1, size, in test_realloc_numa()
603 ptr1 = ptr2; in test_realloc_numa()
621 rte_free(ptr1); in test_realloc_numa()