Home
last modified time | relevance | path

Searched refs:prev_end (Results 1 – 5 of 5) sorted by relevance

/Linux-v4.19/arch/arm64/mm/
Dinit.c549 unsigned long start, prev_end = 0; in free_unused_memmap() local
560 start = min(start, ALIGN(prev_end, PAGES_PER_SECTION)); in free_unused_memmap()
566 if (prev_end && prev_end < start) in free_unused_memmap()
567 free_memmap(prev_end, start); in free_unused_memmap()
574 prev_end = ALIGN(__phys_to_pfn(reg->base + reg->size), in free_unused_memmap()
579 if (!IS_ALIGNED(prev_end, PAGES_PER_SECTION)) in free_unused_memmap()
580 free_memmap(prev_end, ALIGN(prev_end, PAGES_PER_SECTION)); in free_unused_memmap()
/Linux-v4.19/drivers/parisc/
Diommu-helpers.h132 unsigned long prev_end, sg_start; in iommu_coalesce_chunks() local
134 prev_end = (unsigned long)sg_virt(startsg) + in iommu_coalesce_chunks()
159 if (unlikely((prev_end != sg_start) || in iommu_coalesce_chunks()
160 ((prev_end | sg_start) & ~PAGE_MASK))) in iommu_coalesce_chunks()
/Linux-v4.19/arch/arm/mm/
Dinit.c387 unsigned long start, prev_end = 0; in free_unused_memmap() local
403 ALIGN(prev_end, PAGES_PER_SECTION)); in free_unused_memmap()
416 if (prev_end && prev_end < start) in free_unused_memmap()
417 free_memmap(prev_end, start); in free_unused_memmap()
424 prev_end = ALIGN(memblock_region_memory_end_pfn(reg), in free_unused_memmap()
429 if (!IS_ALIGNED(prev_end, PAGES_PER_SECTION)) in free_unused_memmap()
430 free_memmap(prev_end, in free_unused_memmap()
431 ALIGN(prev_end, PAGES_PER_SECTION)); in free_unused_memmap()
/Linux-v4.19/drivers/usb/host/whci/
Dqset.c432 dma_addr_t prev_end = 0; in qset_add_urb_sg() local
467 || (prev_end & (WHCI_PAGE_SIZE-1)) in qset_add_urb_sg()
516 prev_end = dma_addr = ep; in qset_add_urb_sg()
/Linux-v4.19/mm/
Dmmap.c268 unsigned long max, prev_end, subtree_gap; in vma_compute_subtree_gap() local
278 prev_end = vm_end_gap(vma->vm_prev); in vma_compute_subtree_gap()
279 if (max > prev_end) in vma_compute_subtree_gap()
280 max -= prev_end; in vma_compute_subtree_gap()