Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/gpu/drm/i915/selftests/
Di915_gem_gtt.c237 u64 hole_start, u64 hole_end, in lowlevel_hole() argument
249 for (size = 12; (hole_end - hole_start) >> size; size++) { in lowlevel_hole()
255 hole_size = (hole_end - hole_start) >> size; in lowlevel_hole()
261 __func__, hole_start, hole_end, size, hole_size); in lowlevel_hole()
277 GEM_BUG_ON(hole_start + count * BIT_ULL(size) > hole_end); in lowlevel_hole()
308 hole_end = hole_start; /* quit */ in lowlevel_hole()
396 u64 hole_start, u64 hole_end, in fill_hole() argument
399 const u64 hole_size = hole_end - hole_start; in fill_hole()
423 { "top-down", hole_end, -1, }, in fill_hole()
472 if (offset + obj->base.size > hole_end) in fill_hole()
[all …]
/Linux-v5.15/drivers/gpu/drm/
Ddrm_mm.c456 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()
[all …]
/Linux-v5.15/arch/sparc/kernel/
Dadi_64.c163 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-v5.15/kernel/
Dkexec_core.c441 unsigned long hole_start, hole_end, size; in kimage_alloc_crash_control_pages() local
447 hole_end = hole_start + size - 1; in kimage_alloc_crash_control_pages()
448 while (hole_end <= crashk_res.end) { in kimage_alloc_crash_control_pages()
453 if (hole_end > KEXEC_CRASH_CONTROL_MEMORY_LIMIT) in kimage_alloc_crash_control_pages()
461 if ((hole_end >= mstart) && (hole_start <= mend)) { in kimage_alloc_crash_control_pages()
464 hole_end = hole_start + size - 1; in kimage_alloc_crash_control_pages()
471 image->control_page = hole_end; in kimage_alloc_crash_control_pages()
/Linux-v5.15/include/drm/
Ddrm_mm.h392 #define drm_mm_for_each_hole(pos, mm, hole_start, hole_end) \ argument
397 hole_end = hole_start + pos->hole_size, \
/Linux-v5.15/fs/btrfs/
Dzoned.h46 u64 hole_end, u64 num_bytes);
125 u64 hole_start, u64 hole_end, in btrfs_find_allocatable_zones() argument
Dzoned.c840 u64 hole_end, u64 num_bytes) in btrfs_find_allocatable_zones() argument
853 while (pos < hole_end) { in btrfs_find_allocatable_zones()
858 return hole_end; in btrfs_find_allocatable_zones()
Dvolumes.c1494 u64 hole_end = *hole_start + *hole_size; in dev_extent_hole_check() local
1502 if (hole_end >= *hole_start) in dev_extent_hole_check()
1503 *hole_size = hole_end - *hole_start; in dev_extent_hole_check()
Dinode.c7309 const u64 hole_end = extent_map_end(hole_em); in btrfs_get_extent_fiemap() local
7325 if (hole_end <= start || hole_em->start > end) { in btrfs_get_extent_fiemap()
7330 hole_len = hole_end - hole_start; in btrfs_get_extent_fiemap()
/Linux-v5.15/drivers/gpu/drm/selftests/
Dtest-drm_mm.c57 u64 hole_start, __always_unused 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 - hole_start, in show_holes()
/Linux-v5.15/fs/hugetlbfs/
Dinode.c593 loff_t hole_start, hole_end; in hugetlbfs_punch_hole() local
600 hole_end = round_down(offset + len, hpage_size); in hugetlbfs_punch_hole()
602 if (hole_end > hole_start) { in hugetlbfs_punch_hole()
618 hole_end >> PAGE_SHIFT); in hugetlbfs_punch_hole()
620 remove_inode_hugepages(inode, hole_start, hole_end); in hugetlbfs_punch_hole()
/Linux-v5.15/drivers/gpu/drm/i915/gt/
Dintel_ggtt.c529 unsigned long hole_start, hole_end; in init_ggtt() local
592 drm_mm_for_each_hole(entry, &ggtt->vm.mm, hole_start, hole_end) { in init_ggtt()
595 hole_start, hole_end); in init_ggtt()
597 hole_end - hole_start); in init_ggtt()
/Linux-v5.15/fs/proc/
Dtask_mmu.c1332 unsigned long hole_end; in pagemap_pte_hole() local
1335 hole_end = min(end, vma->vm_start); in pagemap_pte_hole()
1337 hole_end = end; in pagemap_pte_hole()
1339 for (; addr < hole_end; addr += PAGE_SIZE) { in pagemap_pte_hole()