Searched refs:prev_end (Results 1 – 7 of 7) sorted by relevance
/Linux-v5.10/arch/arm64/mm/ |
D | init.c | 465 unsigned long start, end, prev_end = 0; in free_unused_memmap() local 474 start = min(start, ALIGN(prev_end, PAGES_PER_SECTION)); in free_unused_memmap() 480 if (prev_end && prev_end < start) in free_unused_memmap() 481 free_memmap(prev_end, start); in free_unused_memmap() 488 prev_end = ALIGN(end, MAX_ORDER_NR_PAGES); in free_unused_memmap() 492 if (!IS_ALIGNED(prev_end, PAGES_PER_SECTION)) in free_unused_memmap() 493 free_memmap(prev_end, ALIGN(prev_end, PAGES_PER_SECTION)); in free_unused_memmap()
|
/Linux-v5.10/arch/arm/mm/ |
D | init.c | 302 unsigned long start, end, prev_end = 0; in free_unused_memmap() local 316 ALIGN(prev_end, PAGES_PER_SECTION)); in free_unused_memmap() 329 if (prev_end && prev_end < start) in free_unused_memmap() 330 free_memmap(prev_end, start); in free_unused_memmap() 337 prev_end = ALIGN(end, MAX_ORDER_NR_PAGES); in free_unused_memmap() 341 if (!IS_ALIGNED(prev_end, PAGES_PER_SECTION)) in free_unused_memmap() 342 free_memmap(prev_end, in free_unused_memmap() 343 ALIGN(prev_end, PAGES_PER_SECTION)); in free_unused_memmap()
|
/Linux-v5.10/drivers/parisc/ |
D | iommu-helpers.h | 132 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-v5.10/drivers/gpu/drm/i915/gem/ |
D | i915_gem_region.c | 28 resource_size_t prev_end; in i915_gem_object_get_pages_buddy() local 58 prev_end = (resource_size_t)-1; in i915_gem_object_get_pages_buddy() 69 if (offset != prev_end || in i915_gem_object_get_pages_buddy() 87 prev_end = offset + block_size; in i915_gem_object_get_pages_buddy()
|
/Linux-v5.10/fs/btrfs/ |
D | tree-checker.c | 318 u64 prev_end; in check_extent_data_item() local 322 prev_end = file_extent_end(leaf, prev_key, prev_fi); in check_extent_data_item() 323 if (prev_end > key->offset) { in check_extent_data_item() 326 prev_end, key->offset); in check_extent_data_item()
|
/Linux-v5.10/drivers/misc/habanalabs/common/ |
D | memory.c | 525 u64 valid_start, valid_size, prev_start, prev_end, align_mask, in get_va_block() local 576 prev_end = res_valid_start - 1; in get_va_block() 594 prev_end); in get_va_block()
|
/Linux-v5.10/mm/ |
D | mmap.c | 291 unsigned long gap, prev_end; in vma_compute_gap() local 301 prev_end = vm_end_gap(vma->vm_prev); in vma_compute_gap() 302 if (gap > prev_end) in vma_compute_gap() 303 gap -= prev_end; in vma_compute_gap()
|