| /linux/drivers/gpu/drm/i915/selftests/ |
| H A D | i915_gem_gtt.c | 245 u64 hole_start, u64 hole_end, in lowlevel_hole() argument 259 for (size = 12; (hole_end - hole_start) >> size; size++) { in lowlevel_hole() 266 hole_size = (hole_end - hole_start) >> aligned_size; in lowlevel_hole() 272 __func__, hole_start, hole_end, size, hole_size); in lowlevel_hole() 288 GEM_BUG_ON(hole_start + count * BIT_ULL(aligned_size) > hole_end); in lowlevel_hole() 320 hole_end = hole_start; /* quit */ in lowlevel_hole() 410 u64 hole_start, u64 hole_end, in fill_hole() argument 413 const u64 hole_size = hole_end - hole_start; in fill_hole() 439 { "top-down", hole_end, -1, }, in fill_hole() 492 if (offset + aligned_size > hole_end) in fill_hole() [all …]
|
| /linux/drivers/gpu/drm/xe/ |
| H A D | xe_ggtt.c | 921 u64 hole_start, hole_end, hole_size; in xe_ggtt_largest_hole() local 925 drm_mm_for_each_hole(entry, mm, hole_start, hole_end) { in xe_ggtt_largest_hole() 928 hole_end = ALIGN_DOWN(hole_end, alignment); in xe_ggtt_largest_hole() 929 if (hole_start >= hole_end) in xe_ggtt_largest_hole() 931 hole_size = hole_end - hole_start; in xe_ggtt_largest_hole() 1095 u64 hole_start, hole_end, hole_size; in xe_ggtt_print_holes() local 1100 drm_mm_for_each_hole(entry, mm, hole_start, hole_end) { in xe_ggtt_print_holes() 1103 hole_end = ALIGN_DOWN(hole_end, alignmen in xe_ggtt_print_holes() [all...] |
| /linux/fs/hugetlbfs/ |
| H A D | inode.c | 653 loff_t hole_start, hole_end; in hugetlbfs_punch_hole() local 656 * hole_start and hole_end indicate the full pages within the hole. in hugetlbfs_punch_hole() 659 hole_end = round_down(offset + len, hpage_size); in hugetlbfs_punch_hole() 677 if (hole_end > hole_start) { in hugetlbfs_punch_hole() 681 hole_end >> PAGE_SHIFT, 0); in hugetlbfs_punch_hole() 685 if ((offset + len) > hole_end && (offset + len) > hole_start) in hugetlbfs_punch_hole() 687 hole_end, offset + len); in hugetlbfs_punch_hole() 692 if (hole_end > hole_start) in hugetlbfs_punch_hole() 693 remove_inode_hugepages(inode, hole_start, hole_end); in hugetlbfs_punch_hole()
|
| /linux/fs/btrfs/ |
| H A D | fiemap.c | 713 const u64 hole_end = min(key.offset, range_end) - 1; in extent_fiemap() local 718 prev_extent_end, hole_end); in extent_fiemap()
|
| H A D | relocation.c | 6005 u64 hole_end, new_addr, remap_start, remap_length, remap_end; in remove_range_from_remap_tree() 6010 hole_end = hole_start + hole_length; in remove_range_from_remap_tree() 6071 /* If hole_end < remap_end, re-add the end of the remap item. */ in btrfs_remove_extent_from_remap_tree() 6072 if (hole_end < remap_end) { in btrfs_remove_extent_from_remap_tree() 6073 ret = insert_remap_item(trans, path, hole_end, in btrfs_remove_extent_from_remap_tree() 6074 remap_end - hole_end, in btrfs_remove_extent_from_remap_tree() 6075 hole_end - remap_start + new_addr); in btrfs_remove_extent_from_remap_tree() 6086 overlap_length = min_t(u64, hole_end, remap_end) - in btrfs_remove_extent_from_remap_tree() 5937 u64 hole_end, new_addr, remap_start, remap_length, remap_end; remove_range_from_remap_tree() local
|
| H A D | zoned.c | 1063 * @hole_end: the end of the hole in btrfs_find_allocatable_zones() 1069 u64 hole_end, u64 num_bytes) in btrfs_find_allocatable_zones() 1084 while (pos < hole_end) { in btrfs_find_allocatable_zones() 1089 return hole_end; in btrfs_find_allocatable_zones() 1053 btrfs_find_allocatable_zones(struct btrfs_device * device,u64 hole_start,u64 hole_end,u64 num_bytes) btrfs_find_allocatable_zones() argument
|
| H A D | volumes.c | 1761 const u64 hole_end = *hole_start + *hole_size - 1; in dev_extent_hole_check() 1766 *hole_size = hole_end - *hole_start + 1; in dev_extent_hole_check() 1756 const u64 hole_end = *hole_start + *hole_size - 1; dev_extent_hole_check() local
|