Home
last modified time | relevance | path

Searched refs:aligned_start (Results 1 – 3 of 3) sorted by relevance

/dpdk/lib/eal/common/
H A Deal_common_memalloc.c71 void *end, *aligned_start, *aligned_end; in eal_memalloc_is_contig() local
91 aligned_start = RTE_PTR_ALIGN_FLOOR(start, pgsz); in eal_memalloc_is_contig()
95 if (RTE_PTR_DIFF(aligned_end, aligned_start) == pgsz) in eal_memalloc_is_contig()
99 cur = rte_mem_virt2iova(aligned_start); in eal_memalloc_is_contig()
101 aligned_start = RTE_PTR_ADD(aligned_start, pgsz); in eal_memalloc_is_contig()
103 while (aligned_start < aligned_end) { in eal_memalloc_is_contig()
104 cur = rte_mem_virt2iova(aligned_start); in eal_memalloc_is_contig()
107 aligned_start = RTE_PTR_ADD(aligned_start, pgsz); in eal_memalloc_is_contig()
114 aligned_start = RTE_PTR_ALIGN_FLOOR(start, pgsz); in eal_memalloc_is_contig()
117 start_seg = RTE_PTR_DIFF(aligned_start, msl->base_va) / in eal_memalloc_is_contig()
[all …]
H A Dmalloc_heap.c837 msl = rte_mem_virt2memseg_list(aligned_start); in malloc_heap_free_pages()
859 void *start, *aligned_start, *end, *aligned_end; in malloc_heap_free() local
911 aligned_start = RTE_PTR_ALIGN_CEIL(start, page_sz); in malloc_heap_free()
927 rte_mem_virt2memseg(aligned_start, msl); in malloc_heap_free()
931 aligned_start = RTE_PTR_ADD(tmp->addr, tmp->len); in malloc_heap_free()
948 before_space = RTE_PTR_DIFF(aligned_start, elem); in malloc_heap_free()
959 aligned_start = RTE_PTR_ADD(aligned_start, page_sz); in malloc_heap_free()
999 aligned_start, aligned_len); in malloc_heap_free()
1011 req.free_req.addr = aligned_start; in malloc_heap_free()
1055 asan_set_zone(aligned_start, aligned_len, 0x00); in malloc_heap_free()
[all …]
H A Dmalloc_mp.h76 malloc_heap_free_pages(void *aligned_start, size_t aligned_len);