Lines Matching refs:data_ptr
733 char *data_ptr = rte_malloc(NULL, request_size, RTE_CACHE_LINE_SIZE); in test_rte_malloc_validate() local
739 if (data_ptr == NULL) { in test_rte_malloc_validate()
749 if (rte_malloc_validate(data_ptr, &allocated_size) < 0) in test_rte_malloc_validate()
760 over_write_vals = (char *)((uintptr_t)data_ptr - sizeof(save_buf)); in test_rte_malloc_validate()
765 retval = rte_malloc_validate(data_ptr, NULL); in test_rte_malloc_validate()
773 if (rte_malloc_validate(data_ptr, &allocated_size) < 0) in test_rte_malloc_validate()
777 over_write_vals = (char *)((uintptr_t)data_ptr + allocated_size); in test_rte_malloc_validate()
782 retval = rte_malloc_validate(data_ptr, NULL); in test_rte_malloc_validate()
789 if (rte_malloc_validate(data_ptr, &allocated_size) < 0) in test_rte_malloc_validate()
793 rte_free(data_ptr); in test_rte_malloc_validate()
798 rte_free(data_ptr); in test_rte_malloc_validate()