Home
last modified time | relevance | path

Searched refs:hole_end (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/gpu/drm/xe/
H A Dxe_ggtt.c895 u64 hole_start, hole_end, hole_size; in xe_ggtt_largest_hole() local
900 drm_mm_for_each_hole(entry, mm, hole_start, hole_end) { in xe_ggtt_largest_hole()
903 hole_end = ALIGN_DOWN(hole_end, alignment); in xe_ggtt_largest_hole()
904 if (hole_start >= hole_end) in xe_ggtt_largest_hole()
906 hole_size = hole_end - hole_start; in xe_ggtt_largest_hole()
1074 u64 hole_start, hole_end, hole_size; in xe_ggtt_print_holes() local
1080 drm_mm_for_each_hole(entry, mm, hole_start, hole_end) { in xe_ggtt_print_holes()
1083 hole_end = ALIGN_DOWN(hole_end, alignment); in xe_ggtt_print_holes()
1084 if (hole_start >= hole_end) in xe_ggtt_print_holes()
1086 hole_size = hole_end - hole_start; in xe_ggtt_print_holes()
[all …]
/linux/kernel/
H A Dkexec_core.c421 unsigned long hole_start, hole_end, size; in kimage_alloc_crash_control_pages() local
427 hole_end = hole_start + size - 1; in kimage_alloc_crash_control_pages()
428 while (hole_end <= crashk_res.end) { in kimage_alloc_crash_control_pages()
433 if (hole_end > KEXEC_CRASH_CONTROL_MEMORY_LIMIT) in kimage_alloc_crash_control_pages()
441 if ((hole_end >= mstart) && (hole_start <= mend)) { in kimage_alloc_crash_control_pages()
444 hole_end = hole_start + size - 1; in kimage_alloc_crash_control_pages()
451 image->control_page = hole_end + 1; in kimage_alloc_crash_control_pages()
/linux/fs/hugetlbfs/
H A Dinode.c685 loff_t hole_start, hole_end; in hugetlbfs_punch_hole() local
691 hole_end = round_down(offset + len, hpage_size); in hugetlbfs_punch_hole()
709 if (hole_end > hole_start) { in hugetlbfs_punch_hole()
713 hole_end >> PAGE_SHIFT, 0); in hugetlbfs_punch_hole()
717 if ((offset + len) > hole_end && (offset + len) > hole_start) in hugetlbfs_punch_hole()
719 hole_end, offset + len); in hugetlbfs_punch_hole()
724 if (hole_end > hole_start) in hugetlbfs_punch_hole()
725 remove_inode_hugepages(inode, hole_start, hole_end); in hugetlbfs_punch_hole()
/linux/fs/btrfs/
H A Dfiemap.c714 const u64 hole_end = min(key.offset, range_end) - 1; in extent_fiemap() local
719 prev_extent_end, hole_end); in extent_fiemap()
H A Dzoned.c1051 u64 hole_end, u64 num_bytes) in btrfs_find_allocatable_zones() argument
1066 while (pos < hole_end) { in btrfs_find_allocatable_zones()
1071 return hole_end; in btrfs_find_allocatable_zones()
/linux/fs/proc/
H A Dtask_mmu.c1892 unsigned long hole_end; in pagemap_pte_hole() local
1895 hole_end = min(end, vma->vm_start); in pagemap_pte_hole()
1897 hole_end = end; in pagemap_pte_hole()
1899 for (; addr < hole_end; addr += PAGE_SIZE) { in pagemap_pte_hole()