/kernel/linux/linux-6.6/drivers/gpu/drm/i915/selftests/ |
H A D | i915_gem_gtt.c | 245 u64 hole_start, u64 hole_end, in lowlevel_hole() 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() 319 hole_end = hole_start; /* quit */ in lowlevel_hole() 409 u64 hole_start, u64 hole_end, in fill_hole() 412 const u64 hole_size = hole_end - hole_start; in fill_hole() 438 { "top-down", hole_end, -1, }, in fill_hole() 490 if (offset + aligned_size > hole_end) in fill_hole() 244 lowlevel_hole(struct i915_address_space *vm, u64 hole_start, u64 hole_end, unsigned long end_time) lowlevel_hole() argument 408 fill_hole(struct i915_address_space *vm, u64 hole_start, u64 hole_end, unsigned long end_time) fill_hole() argument 633 walk_hole(struct i915_address_space *vm, u64 hole_start, u64 hole_end, unsigned long end_time) walk_hole() argument 716 pot_hole(struct i915_address_space *vm, u64 hole_start, u64 hole_end, unsigned long end_time) pot_hole() argument 791 drunk_hole(struct i915_address_space *vm, u64 hole_start, u64 hole_end, unsigned long end_time) drunk_hole() argument 901 __shrink_hole(struct i915_address_space *vm, u64 hole_start, u64 hole_end, unsigned long end_time) __shrink_hole() argument 979 shrink_hole(struct i915_address_space *vm, u64 hole_start, u64 hole_end, unsigned long end_time) shrink_hole() argument 1001 shrink_boom(struct i915_address_space *vm, u64 hole_start, u64 hole_end, unsigned long end_time) shrink_boom() argument 1144 misaligned_pin(struct i915_address_space *vm, u64 hole_start, u64 hole_end, unsigned long end_time) misaligned_pin() argument 1190 exercise_ppgtt(struct drm_i915_private *dev_priv, int (*func)(struct i915_address_space *vm, u64 hole_start, u64 hole_end, unsigned long end_time)) exercise_ppgtt() argument 1276 exercise_ggtt(struct drm_i915_private *i915, int (*func)(struct i915_address_space *vm, u64 hole_start, u64 hole_end, unsigned long end_time)) exercise_ggtt() argument 1282 u64 hole_start, hole_end, last = 0; exercise_ggtt() local 1453 exercise_mock(struct drm_i915_private *i915, int (*func)(struct i915_address_space *vm, u64 hole_start, u64 hole_end, unsigned long end_time)) exercise_mock() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/selftests/ |
H A D | i915_gem_gtt.c | 222 u64 hole_start, u64 hole_end, in lowlevel_hole() 234 for (size = 12; (hole_end - hole_start) >> size; size++) { in lowlevel_hole() 240 hole_size = (hole_end - hole_start) >> size; in lowlevel_hole() 246 __func__, hole_start, hole_end, size, hole_size); in lowlevel_hole() 262 GEM_BUG_ON(hole_start + count * BIT_ULL(size) > hole_end); in lowlevel_hole() 293 hole_end = hole_start; /* quit */ in lowlevel_hole() 366 u64 hole_start, u64 hole_end, in fill_hole() 369 const u64 hole_size = hole_end - hole_start; in fill_hole() 393 { "top-down", hole_end, -1, }, in fill_hole() 442 if (offset + obj->base.size > hole_end) in fill_hole() 221 lowlevel_hole(struct i915_address_space *vm, u64 hole_start, u64 hole_end, unsigned long end_time) lowlevel_hole() argument 365 fill_hole(struct i915_address_space *vm, u64 hole_start, u64 hole_end, unsigned long end_time) fill_hole() argument 576 walk_hole(struct i915_address_space *vm, u64 hole_start, u64 hole_end, unsigned long end_time) walk_hole() argument 656 pot_hole(struct i915_address_space *vm, u64 hole_start, u64 hole_end, unsigned long end_time) pot_hole() argument 728 drunk_hole(struct i915_address_space *vm, u64 hole_start, u64 hole_end, unsigned long end_time) drunk_hole() argument 834 __shrink_hole(struct i915_address_space *vm, u64 hole_start, u64 hole_end, unsigned long end_time) __shrink_hole() argument 909 shrink_hole(struct i915_address_space *vm, u64 hole_start, u64 hole_end, unsigned long end_time) shrink_hole() argument 931 shrink_boom(struct i915_address_space *vm, u64 hole_start, u64 hole_end, unsigned long end_time) shrink_boom() argument 1009 exercise_ppgtt(struct drm_i915_private *dev_priv, int (*func)(struct i915_address_space *vm, u64 hole_start, u64 hole_end, unsigned long end_time)) exercise_ppgtt() argument 1090 exercise_ggtt(struct drm_i915_private *i915, int (*func)(struct i915_address_space *vm, u64 hole_start, u64 hole_end, unsigned long end_time)) exercise_ggtt() argument 1096 u64 hole_start, hole_end, last = 0; exercise_ggtt() local 1258 exercise_mock(struct drm_i915_private *i915, int (*func)(struct i915_address_space *vm, u64 hole_start, u64 hole_end, unsigned long end_time)) exercise_mock() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/ |
H A D | drm_mm.c | 456 u64 hole_start, hole_end; in drm_mm_reserve_node() local 470 adj_end = hole_end = hole_start + hole->hole_size; in drm_mm_reserve_node() 488 if (end < hole_end) in drm_mm_reserve_node() 547 u64 hole_end = hole_start + hole->hole_size; in drm_mm_insert_node_in_range() local 554 if (mode == DRM_MM_INSERT_HIGH && hole_end <= range_start) in drm_mm_insert_node_in_range() 558 col_end = hole_end; in drm_mm_insert_node_in_range() 606 if (adj_start + size < hole_end) in drm_mm_insert_node_in_range() 788 u64 hole_start, hole_end; in drm_mm_scan_add_block() local 808 hole_end = __drm_mm_hole_node_end(hole); in drm_mm_scan_add_block() 811 col_end = hole_end; in drm_mm_scan_add_block() 919 u64 hole_start, hole_end; drm_mm_scan_color_evict() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/ |
H A D | drm_mm.c | 453 u64 hole_start, hole_end; in drm_mm_reserve_node() local 467 adj_end = hole_end = hole_start + hole->hole_size; in drm_mm_reserve_node() 485 if (end < hole_end) in drm_mm_reserve_node() 544 u64 hole_end = hole_start + hole->hole_size; in drm_mm_insert_node_in_range() local 551 if (mode == DRM_MM_INSERT_HIGH && hole_end <= range_start) in drm_mm_insert_node_in_range() 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() 785 u64 hole_start, hole_end; in drm_mm_scan_add_block() local 805 hole_end = __drm_mm_hole_node_end(hole); in drm_mm_scan_add_block() 808 col_end = hole_end; in drm_mm_scan_add_block() 916 u64 hole_start, hole_end; drm_mm_scan_color_evict() local [all...] |
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-5.10/kernel/ |
H A D | kexec_core.c | 440 unsigned long hole_start, hole_end, size; in kimage_alloc_crash_control_pages() local 446 hole_end = hole_start + size - 1; in kimage_alloc_crash_control_pages() 447 while (hole_end <= crashk_res.end) { in kimage_alloc_crash_control_pages() 452 if (hole_end > KEXEC_CRASH_CONTROL_MEMORY_LIMIT) in kimage_alloc_crash_control_pages() 460 if ((hole_end >= mstart) && (hole_start <= mend)) { in kimage_alloc_crash_control_pages() 463 hole_end = hole_start + size - 1; in kimage_alloc_crash_control_pages() 470 image->control_page = hole_end; in kimage_alloc_crash_control_pages()
|
/kernel/linux/linux-6.6/kernel/ |
H A D | kexec_core.c | 445 unsigned long hole_start, hole_end, size; in kimage_alloc_crash_control_pages() local 451 hole_end = hole_start + size - 1; in kimage_alloc_crash_control_pages() 452 while (hole_end <= crashk_res.end) { in kimage_alloc_crash_control_pages() 457 if (hole_end > KEXEC_CRASH_CONTROL_MEMORY_LIMIT) in kimage_alloc_crash_control_pages() 465 if ((hole_end >= mstart) && (hole_start <= mend)) { in kimage_alloc_crash_control_pages() 468 hole_end = hole_start + size - 1; in kimage_alloc_crash_control_pages() 475 image->control_page = hole_end; in kimage_alloc_crash_control_pages()
|
/kernel/linux/linux-5.10/include/drm/ |
H A D | drm_mm.h | 381 * @hole_end: ulong variable to assign the hole end to on each iteration 390 * and hole_end on each iteration while keeping the macro sane. 392 #define drm_mm_for_each_hole(pos, mm, hole_start, hole_end) \ 397 hole_end = hole_start + pos->hole_size, \
|
/kernel/linux/linux-6.6/include/drm/ |
H A D | drm_mm.h | 383 * @hole_end: ulong variable to assign the hole end to on each iteration 392 * and hole_end on each iteration while keeping the macro sane. 394 #define drm_mm_for_each_hole(pos, mm, hole_start, hole_end) \ 399 hole_end = hole_start + pos->hole_size, \
|
/kernel/linux/linux-5.10/drivers/gpu/drm/selftests/ |
H A D | test-drm_mm.c | 57 u64 hole_start, hole_end; in assert_no_holes() local 61 drm_mm_for_each_hole(hole, mm, hole_start, hole_end) in assert_no_holes() 81 u64 hole_start, hole_end; in assert_one_hole() local 89 drm_mm_for_each_hole(hole, mm, hole_start, hole_end) { in assert_one_hole() 90 if (start != hole_start || end != hole_end) { in assert_one_hole() 93 hole_start, hole_end, in assert_one_hole() 1269 u64 hole_start, hole_end; in show_holes() local 1272 drm_mm_for_each_hole(hole, mm, hole_start, hole_end) { in show_holes() 1288 hole_start, hole_end, hole_end in show_holes() [all...] |
/kernel/linux/linux-6.6/fs/btrfs/ |
H A D | zoned.h | 56 u64 hole_end, u64 num_bytes); 156 u64 hole_start, u64 hole_end, in btrfs_find_allocatable_zones() 155 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 | zoned.c | 1039 * @hole_end: the end of the hole 1045 u64 hole_end, u64 num_bytes) in btrfs_find_allocatable_zones() 1058 while (pos < hole_end) { in btrfs_find_allocatable_zones() 1063 return hole_end; in btrfs_find_allocatable_zones() 1044 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 | 1519 u64 hole_end = *hole_start + *hole_size; in dev_extent_hole_check() local 1527 if (hole_end >= *hole_start) in dev_extent_hole_check() 1528 *hole_size = hole_end - *hole_start; in dev_extent_hole_check()
|
/kernel/linux/linux-6.6/fs/hugetlbfs/ |
H A D | inode.c | 776 loff_t hole_start, hole_end; in hugetlbfs_punch_hole() local 779 * hole_start and hole_end indicate the full pages within the hole. in hugetlbfs_punch_hole() 782 hole_end = round_down(offset + len, hpage_size); in hugetlbfs_punch_hole() 800 if (hole_end > hole_start) { in hugetlbfs_punch_hole() 804 hole_end >> PAGE_SHIFT, 0); in hugetlbfs_punch_hole() 808 if ((offset + len) > hole_end && (offset + len) > hole_start) in hugetlbfs_punch_hole() 810 hole_end, offset + len); in hugetlbfs_punch_hole() 815 if (hole_end > hole_start) in hugetlbfs_punch_hole() 816 remove_inode_hugepages(inode, hole_start, hole_end); in hugetlbfs_punch_hole()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/tests/ |
H A D | drm_mm_test.c | 49 u64 hole_start, __always_unused hole_end; in assert_no_holes() local 53 drm_mm_for_each_hole(hole, mm, hole_start, hole_end) in assert_no_holes() 74 u64 hole_start, hole_end; in assert_one_hole() local 82 drm_mm_for_each_hole(hole, mm, hole_start, hole_end) { in assert_one_hole() 83 if (start != hole_start || end != hole_end) { in assert_one_hole() 87 hole_start, hole_end, start, end); in assert_one_hole() 1155 u64 hole_start, hole_end; in show_holes() local 1158 drm_mm_for_each_hole(hole, mm, hole_start, hole_end) { in show_holes() 1171 hole_start, hole_end, hole_end in show_holes() [all...] |
/kernel/linux/linux-5.10/fs/hugetlbfs/ |
H A D | inode.c | 598 loff_t hole_start, hole_end; in hugetlbfs_punch_hole() local 605 hole_end = round_down(offset + len, hpage_size); in hugetlbfs_punch_hole() 607 if (hole_end > hole_start) { in hugetlbfs_punch_hole() 623 hole_end >> PAGE_SHIFT); in hugetlbfs_punch_hole() 625 remove_inode_hugepages(inode, hole_start, hole_end); in hugetlbfs_punch_hole()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/ |
H A D | intel_ggtt.c | 510 unsigned long hole_start, hole_end; in init_ggtt() local 573 drm_mm_for_each_hole(entry, &ggtt->vm.mm, hole_start, hole_end) { in init_ggtt() 576 hole_start, hole_end); in init_ggtt() 578 hole_end - hole_start); in init_ggtt()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/ |
H A D | intel_ggtt.c | 591 unsigned long hole_start, hole_end; in init_ggtt() local 662 drm_mm_for_each_hole(entry, &ggtt->vm.mm, hole_start, hole_end) { in init_ggtt() 665 hole_start, hole_end); in init_ggtt() 667 hole_end - hole_start); in init_ggtt()
|
/kernel/linux/linux-5.10/fs/proc/ |
H A D | task_mmu.c | 1375 unsigned long hole_end; in pagemap_pte_hole() local 1378 hole_end = min(end, vma->vm_start); in pagemap_pte_hole() 1380 hole_end = end; in pagemap_pte_hole() 1382 for (; addr < hole_end; addr += PAGE_SIZE) { in pagemap_pte_hole()
|
/kernel/linux/linux-6.6/fs/proc/ |
H A D | task_mmu.c | 1390 unsigned long hole_end; in pagemap_pte_hole() local 1393 hole_end = min(end, vma->vm_start); in pagemap_pte_hole() 1395 hole_end = end; in pagemap_pte_hole() 1397 for (; addr < hole_end; addr += PAGE_SIZE) { in pagemap_pte_hole()
|
/kernel/linux/linux-5.10/fs/btrfs/ |
H A D | volumes.c | 1504 * This function may modify @hole_start and @hole_end to reflect the suitable 1511 u64 hole_end = *hole_start + *hole_size; in dev_extent_hole_check() local 1518 if (hole_end >= *hole_start) in dev_extent_hole_check() 1519 *hole_size = hole_end - *hole_start; in dev_extent_hole_check()
|
H A D | inode.c | 6865 const u64 hole_end = extent_map_end(hole_em); in btrfs_get_extent_fiemap() local 6881 if (hole_end <= start || hole_em->start > end) { in btrfs_get_extent_fiemap() 6886 hole_len = hole_end - hole_start; in btrfs_get_extent_fiemap()
|