Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/arm64/mm/
Dinit.c491 unsigned long start, end, prev_end = 0; in free_unused_memmap() local
500 start = min(start, ALIGN(prev_end, PAGES_PER_SECTION)); in free_unused_memmap()
506 if (prev_end && prev_end < start) in free_unused_memmap()
507 free_memmap(prev_end, start); in free_unused_memmap()
514 prev_end = ALIGN(end, MAX_ORDER_NR_PAGES); in free_unused_memmap()
518 if (!IS_ALIGNED(prev_end, PAGES_PER_SECTION)) in free_unused_memmap()
519 free_memmap(prev_end, ALIGN(prev_end, PAGES_PER_SECTION)); in free_unused_memmap()
/kernel/linux/linux-5.10/arch/arm/mm/
Dinit.c312 unsigned long start, end, prev_end = 0; in free_unused_memmap() local
326 ALIGN(prev_end, PAGES_PER_SECTION)); in free_unused_memmap()
339 if (prev_end && prev_end < start) in free_unused_memmap()
340 free_memmap(prev_end, start); in free_unused_memmap()
347 prev_end = ALIGN(end, pageblock_nr_pages); in free_unused_memmap()
351 if (!IS_ALIGNED(prev_end, PAGES_PER_SECTION)) { in free_unused_memmap()
352 prev_end = ALIGN(end, pageblock_nr_pages); in free_unused_memmap()
353 free_memmap(prev_end, in free_unused_memmap()
354 ALIGN(prev_end, PAGES_PER_SECTION)); in free_unused_memmap()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/
Di915_gem_region.c28 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()
/kernel/linux/linux-5.10/fs/btrfs/
Dtree-checker.c318 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()
/kernel/linux/linux-5.10/drivers/misc/habanalabs/common/
Dmemory.c525 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()
/kernel/linux/linux-5.10/mm/
Dmmap.c295 unsigned long gap, prev_end; in vma_compute_gap() local
305 prev_end = vm_end_gap(vma->vm_prev); in vma_compute_gap()
306 if (gap > prev_end) in vma_compute_gap()
307 gap -= prev_end; in vma_compute_gap()