Lines Matching refs:RTE_PTR_ADD
44 data_start = RTE_PTR_ADD(elem, MALLOC_ELEM_HEADER_LEN); in malloc_elem_find_max_iova_contig()
45 data_end = RTE_PTR_ADD(elem, elem->size - MALLOC_ELEM_TRAILER_LEN); in malloc_elem_find_max_iova_contig()
68 page_end = RTE_PTR_ADD(cur_page, page_sz); in malloc_elem_find_max_iova_contig()
77 cur_page = RTE_PTR_ADD(cur_page, page_sz); in malloc_elem_find_max_iova_contig()
80 page_end = RTE_PTR_ADD(cur_page, page_sz); in malloc_elem_find_max_iova_contig()
310 elem = RTE_PTR_ADD(elem, elem->pad); in split_elem()
344 return elem->next == RTE_PTR_ADD(elem, elem->size) && in next_elem_is_adjacent()
356 return elem == RTE_PTR_ADD(elem->prev, elem->prev->size) && in prev_elem_is_adjacent()
442 RTE_PTR_ADD(new_elem, size + MALLOC_ELEM_OVERHEAD); in malloc_elem_alloc()
506 struct malloc_elem *inner = RTE_PTR_ADD(elem1, elem1->pad); in join_elem()
575 ptr = RTE_PTR_ADD(elem, MALLOC_ELEM_HEADER_LEN); in malloc_elem_free()
615 hide_end = RTE_PTR_ADD(start, len); in malloc_elem_hide_region()
690 struct malloc_elem *split_pt = RTE_PTR_ADD(elem, new_size); in malloc_elem_resize()