Lines Matching refs:ptr1
50 unsigned long ptr1 = (unsigned long)p1; in is_memory_overlap() local
53 if (ptr2 >= ptr1 && (ptr2 - ptr1) < len1) in is_memory_overlap()
55 else if (ptr2 < ptr1 && (ptr1 - ptr2) < len2) in is_memory_overlap()
386 char *ptr1 = rte_zmalloc_socket( in test_realloc_socket() local
388 if (!ptr1){ in test_realloc_socket()
392 strlcpy(ptr1, hello_str, size1); in test_realloc_socket()
394 ptr1, size2, RTE_CACHE_LINE_SIZE, socket); in test_realloc_socket()
396 rte_free(ptr1); in test_realloc_socket()
400 if (ptr1 == ptr2){ in test_realloc_socket()
574 void *ptr1, *ptr2; in test_realloc_numa() local
578 ptr1 = NULL; in test_realloc_numa()
586 ptr2 = rte_realloc_socket(ptr1, size, in test_realloc_numa()
594 ptr1 = ptr2; in test_realloc_numa()
612 rte_free(ptr1); in test_realloc_numa()