Home
last modified time | relevance | path

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

/f-stack/dpdk/lib/librte_eal/common/
H A Deal_common_memalloc.c74 void *end, *aligned_start, *aligned_end; in eal_memalloc_is_contig() local
94 aligned_start = RTE_PTR_ALIGN_FLOOR(start, pgsz); in eal_memalloc_is_contig()
98 if (RTE_PTR_DIFF(aligned_end, aligned_start) == pgsz) in eal_memalloc_is_contig()
102 cur = rte_mem_virt2iova(aligned_start); in eal_memalloc_is_contig()
104 aligned_start = RTE_PTR_ADD(aligned_start, pgsz); in eal_memalloc_is_contig()
106 while (aligned_start < aligned_end) { in eal_memalloc_is_contig()
107 cur = rte_mem_virt2iova(aligned_start); in eal_memalloc_is_contig()
110 aligned_start = RTE_PTR_ADD(aligned_start, pgsz); in eal_memalloc_is_contig()
117 aligned_start = RTE_PTR_ALIGN_FLOOR(start, pgsz); in eal_memalloc_is_contig()
120 start_seg = RTE_PTR_DIFF(aligned_start, msl->base_va) / in eal_memalloc_is_contig()
[all …]
H A Dmalloc_heap.c810 msl = rte_mem_virt2memseg_list(aligned_start); in malloc_heap_free_pages()
832 void *start, *aligned_start, *end, *aligned_end; in malloc_heap_free() local
878 aligned_start = RTE_PTR_ALIGN_CEIL(start, page_sz); in malloc_heap_free()
882 aligned_len = RTE_PTR_DIFF(aligned_end, aligned_start); in malloc_heap_free()
894 rte_mem_virt2memseg(aligned_start, msl); in malloc_heap_free()
898 aligned_start = RTE_PTR_ADD(tmp->addr, tmp->len); in malloc_heap_free()
915 before_space = RTE_PTR_DIFF(aligned_start, elem); in malloc_heap_free()
926 aligned_start = RTE_PTR_ADD(aligned_start, page_sz); in malloc_heap_free()
966 aligned_start, aligned_len); in malloc_heap_free()
969 malloc_heap_free_pages(aligned_start, aligned_len); in malloc_heap_free()
[all …]
H A Dmalloc_mp.h75 malloc_heap_free_pages(void *aligned_start, size_t aligned_len);