| /linux-6.15/drivers/gpu/drm/i915/selftests/ |
| H A D | i915_gem_gtt.c | 245 u64 hole_start, u64 hole_end, in lowlevel_hole() argument 439 { "top-down", hole_end, -1, }, in fill_hole() 719 u64 hole_start, u64 hole_end, in pot_hole() argument 753 hole_end > addr && hole_end - addr >= 2 * min_alignment; in pot_hole() 760 hole_start, hole_end, in pot_hole() 865 hole_start, hole_end, in drunk_hole() 905 u64 hole_start, u64 hole_end, in __shrink_hole() argument 1148 u64 hole_start, u64 hole_end, in misaligned_pin() argument 1298 &hole_start, &hole_end); in exercise_ggtt() 1299 if (hole_start >= hole_end) in exercise_ggtt() [all …]
|
| /linux-6.15/drivers/gpu/drm/ |
| H A D | drm_mm.c | 453 u64 hole_start, hole_end; in drm_mm_reserve_node() local 485 if (end < hole_end) in drm_mm_reserve_node() 555 col_end = hole_end; in drm_mm_insert_node_in_range() 603 if (adj_start + size < hole_end) in drm_mm_insert_node_in_range() 750 u64 hole_start, hole_end; in drm_mm_scan_add_block() local 770 hole_end = __drm_mm_hole_node_end(hole); in drm_mm_scan_add_block() 773 col_end = hole_end; in drm_mm_scan_add_block() 811 DRM_MM_BUG_ON(scan->hit_end > hole_end); in drm_mm_scan_add_block() 881 u64 hole_start, hole_end; in drm_mm_scan_color_evict() local 898 hole_end >= scan->hit_end) in drm_mm_scan_color_evict() [all …]
|
| /linux-6.15/drivers/gpu/drm/xe/ |
| H A D | xe_ggtt.c | 720 u64 hole_start, hole_end, hole_size; in xe_ggtt_largest_hole() local 725 drm_mm_for_each_hole(entry, mm, hole_start, hole_end) { in xe_ggtt_largest_hole() 728 hole_end = ALIGN_DOWN(hole_end, alignment); in xe_ggtt_largest_hole() 729 if (hole_start >= hole_end) in xe_ggtt_largest_hole() 731 hole_size = hole_end - hole_start; in xe_ggtt_largest_hole() 820 u64 hole_start, hole_end, hole_size; in xe_ggtt_print_holes() local 826 drm_mm_for_each_hole(entry, mm, hole_start, hole_end) { in xe_ggtt_print_holes() 829 hole_end = ALIGN_DOWN(hole_end, alignment); in xe_ggtt_print_holes() 830 if (hole_start >= hole_end) in xe_ggtt_print_holes() 832 hole_size = hole_end - hole_start; in xe_ggtt_print_holes() [all …]
|
| /linux-6.15/drivers/gpu/drm/tests/ |
| H A D | drm_mm_test.c | 41 u64 hole_start, __always_unused hole_end; in assert_no_holes() local 45 drm_mm_for_each_hole(hole, mm, hole_start, hole_end) in assert_no_holes() 66 u64 hole_start, hole_end; in assert_one_hole() local 74 drm_mm_for_each_hole(hole, mm, hole_start, hole_end) { in assert_one_hole() 75 if (start != hole_start || end != hole_end) { in assert_one_hole() 79 hole_start, hole_end, start, end); in assert_one_hole()
|
| /linux-6.15/arch/sparc/kernel/ |
| H A D | adi_64.c | 163 unsigned long end_addr, hole_start, hole_end; in alloc_tag_store() local 168 hole_end = ULONG_MAX; in alloc_tag_store() 195 (tag_desc->start < hole_end)) in alloc_tag_store() 196 hole_end = tag_desc->start; in alloc_tag_store() 251 if (hole_end < end_addr) { in alloc_tag_store() 258 end_addr = hole_end - 1; in alloc_tag_store()
|
| /linux-6.15/kernel/ |
| H A D | kexec_core.c | 419 unsigned long hole_start, hole_end, size; in kimage_alloc_crash_control_pages() local 425 hole_end = hole_start + size - 1; in kimage_alloc_crash_control_pages() 426 while (hole_end <= crashk_res.end) { in kimage_alloc_crash_control_pages() 431 if (hole_end > KEXEC_CRASH_CONTROL_MEMORY_LIMIT) in kimage_alloc_crash_control_pages() 439 if ((hole_end >= mstart) && (hole_start <= mend)) { in kimage_alloc_crash_control_pages() 442 hole_end = hole_start + size - 1; in kimage_alloc_crash_control_pages() 449 image->control_page = hole_end + 1; in kimage_alloc_crash_control_pages()
|
| /linux-6.15/include/drm/ |
| H A D | drm_mm.h | 394 #define drm_mm_for_each_hole(pos, mm, hole_start, hole_end) \ argument 399 hole_end = hole_start + pos->hole_size, \
|
| /linux-6.15/fs/hugetlbfs/ |
| H A D | inode.c | 679 loff_t hole_start, hole_end; in hugetlbfs_punch_hole() local 685 hole_end = round_down(offset + len, hpage_size); in hugetlbfs_punch_hole() 703 if (hole_end > hole_start) { in hugetlbfs_punch_hole() 707 hole_end >> PAGE_SHIFT, 0); in hugetlbfs_punch_hole() 711 if ((offset + len) > hole_end && (offset + len) > hole_start) in hugetlbfs_punch_hole() 713 hole_end, offset + len); in hugetlbfs_punch_hole() 718 if (hole_end > hole_start) in hugetlbfs_punch_hole() 719 remove_inode_hugepages(inode, hole_start, hole_end); in hugetlbfs_punch_hole()
|
| /linux-6.15/fs/bcachefs/ |
| H A D | fs-io-pagecache.c | 802 u64 *hole_end, in bch2_clamp_data_hole() argument 809 *hole_start << 9, *hole_end << 9, min_replicas, nonblock) >> 9; in bch2_clamp_data_hole() 815 if (*hole_start == *hole_end) in bch2_clamp_data_hole() 819 *hole_start << 9, *hole_end << 9, min_replicas, nonblock) >> 9; in bch2_clamp_data_hole() 823 *hole_end = ret; in bch2_clamp_data_hole()
|
| H A D | fs-io.c | 652 u64 hole_start, hole_end; in __bchfs_fallocate() local 672 hole_end = bpos_min(k.k->p, end_pos).offset; in __bchfs_fallocate() 695 &hole_end, in __bchfs_fallocate() 700 &hole_end, in __bchfs_fallocate() 710 if (hole_start == hole_end) in __bchfs_fallocate() 714 sectors = hole_end - hole_start; in __bchfs_fallocate()
|
| /linux-6.15/fs/btrfs/ |
| H A D | zoned.h | 70 u64 hole_end, u64 num_bytes); 165 u64 hole_start, u64 hole_end, in btrfs_find_allocatable_zones() argument
|
| H A D | fiemap.c | 714 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 D | zoned.c | 1035 u64 hole_end, u64 num_bytes) in btrfs_find_allocatable_zones() argument 1048 while (pos < hole_end) { in btrfs_find_allocatable_zones() 1053 return hole_end; in btrfs_find_allocatable_zones()
|
| H A D | volumes.c | 1604 u64 hole_end = *hole_start + *hole_size; in dev_extent_hole_check() local 1612 if (hole_end >= *hole_start) in dev_extent_hole_check() 1613 *hole_size = hole_end - *hole_start; in dev_extent_hole_check()
|
| /linux-6.15/drivers/gpu/drm/i915/gt/ |
| H A D | intel_ggtt.c | 830 unsigned long hole_start, hole_end; in init_ggtt() local 901 drm_mm_for_each_hole(entry, &ggtt->vm.mm, hole_start, hole_end) { in init_ggtt() 904 hole_start, hole_end); in init_ggtt() 906 hole_end - hole_start); in init_ggtt()
|
| /linux-6.15/fs/proc/ |
| H A D | task_mmu.c | 1686 unsigned long hole_end; in pagemap_pte_hole() local 1689 hole_end = min(end, vma->vm_start); in pagemap_pte_hole() 1691 hole_end = end; in pagemap_pte_hole() 1693 for (; addr < hole_end; addr += PAGE_SIZE) { in pagemap_pte_hole()
|