Lines Matching refs:data_ptr
744 char *data_ptr = rte_malloc(NULL, request_size, RTE_CACHE_LINE_SIZE); in test_rte_malloc_validate() local
750 if (data_ptr == NULL) { in test_rte_malloc_validate()
760 if (rte_malloc_validate(data_ptr, &allocated_size) < 0) in test_rte_malloc_validate()
771 over_write_vals = (char *)((uintptr_t)data_ptr - sizeof(save_buf)); in test_rte_malloc_validate()
776 retval = rte_malloc_validate(data_ptr, NULL); in test_rte_malloc_validate()
784 if (rte_malloc_validate(data_ptr, &allocated_size) < 0) in test_rte_malloc_validate()
788 over_write_vals = (char *)((uintptr_t)data_ptr + allocated_size); in test_rte_malloc_validate()
793 retval = rte_malloc_validate(data_ptr, NULL); in test_rte_malloc_validate()
800 if (rte_malloc_validate(data_ptr, &allocated_size) < 0) in test_rte_malloc_validate()
804 rte_free(data_ptr); in test_rte_malloc_validate()
809 rte_free(data_ptr); in test_rte_malloc_validate()