Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/gpu/drm/i915/selftests/
Di915_gem_gtt.c218 u64 hole_start, u64 hole_end, in lowlevel_hole() argument
228 for (size = 12; (hole_end - hole_start) >> size; size++) { in lowlevel_hole()
234 hole_size = (hole_end - hole_start) >> size; in lowlevel_hole()
240 __func__, hole_start, hole_end, size, hole_size); in lowlevel_hole()
254 GEM_BUG_ON(hole_start + count * BIT_ULL(size) > hole_end); in lowlevel_hole()
284 hole_end = hole_start; /* quit */ in lowlevel_hole()
344 u64 hole_start, u64 hole_end, in fill_hole() argument
347 const u64 hole_size = hole_end - hole_start; in fill_hole()
371 { "top-down", hole_end, -1, }, in fill_hole()
420 if (offset + obj->base.size > hole_end) in fill_hole()
[all …]
Di915_gem_object.c521 u64 hole_start, hole_end; in igt_mmap_offset_exhaustion() local
530 drm_mm_for_each_hole(hole, mm, hole_start, hole_end) { in igt_mmap_offset_exhaustion()
532 resv.size = hole_end - hole_start - 1; /* PAGE_SIZE units */ in igt_mmap_offset_exhaustion()
/Linux-v4.19/drivers/gpu/drm/
Ddrm_mm.c414 u64 hole_start, hole_end; in drm_mm_reserve_node() local
427 adj_end = hole_end = hole_start + hole->hole_size; in drm_mm_reserve_node()
445 if (end < hole_end) in drm_mm_reserve_node()
504 u64 hole_end = hole_start + hole->hole_size; in drm_mm_insert_node_in_range() local
511 if (mode == DRM_MM_INSERT_HIGH && hole_end <= range_start) in drm_mm_insert_node_in_range()
515 col_end = hole_end; in drm_mm_insert_node_in_range()
563 if (adj_start + size < hole_end) in drm_mm_insert_node_in_range()
739 u64 hole_start, hole_end; in drm_mm_scan_add_block() local
759 hole_end = __drm_mm_hole_node_end(hole); in drm_mm_scan_add_block()
762 col_end = hole_end; in drm_mm_scan_add_block()
[all …]
/Linux-v4.19/arch/sparc/kernel/
Dadi_64.c164 unsigned long end_addr, hole_start, hole_end; in alloc_tag_store() local
169 hole_end = ULONG_MAX; in alloc_tag_store()
196 (tag_desc->start < hole_end)) in alloc_tag_store()
197 hole_end = tag_desc->start; in alloc_tag_store()
252 if (hole_end < end_addr) { in alloc_tag_store()
259 end_addr = hole_end - 1; in alloc_tag_store()
/Linux-v4.19/kernel/
Dkexec_core.c439 unsigned long hole_start, hole_end, size; in kimage_alloc_crash_control_pages() local
445 hole_end = hole_start + size - 1; in kimage_alloc_crash_control_pages()
446 while (hole_end <= crashk_res.end) { in kimage_alloc_crash_control_pages()
451 if (hole_end > KEXEC_CRASH_CONTROL_MEMORY_LIMIT) in kimage_alloc_crash_control_pages()
459 if ((hole_end >= mstart) && (hole_start <= mend)) { in kimage_alloc_crash_control_pages()
462 hole_end = hole_start + size - 1; in kimage_alloc_crash_control_pages()
469 image->control_page = hole_end; in kimage_alloc_crash_control_pages()
/Linux-v4.19/include/drm/
Ddrm_mm.h390 #define drm_mm_for_each_hole(pos, mm, hole_start, hole_end) \ argument
395 hole_end = hole_start + pos->hole_size, \
/Linux-v4.19/drivers/gpu/drm/selftests/
Dtest-drm_mm.c55 u64 hole_start, hole_end; in assert_no_holes() local
59 drm_mm_for_each_hole(hole, mm, hole_start, hole_end) in assert_no_holes()
79 u64 hole_start, hole_end; in assert_one_hole() local
87 drm_mm_for_each_hole(hole, mm, hole_start, hole_end) { in assert_one_hole()
88 if (start != hole_start || end != hole_end) { in assert_one_hole()
91 hole_start, hole_end, in assert_one_hole()
1151 u64 hole_start, hole_end; in show_holes() local
1154 drm_mm_for_each_hole(hole, mm, hole_start, hole_end) { in show_holes()
1170 hole_start, hole_end, hole_end - hole_start, in show_holes()
/Linux-v4.19/fs/hugetlbfs/
Dinode.c517 loff_t hole_start, hole_end; in hugetlbfs_punch_hole() local
524 hole_end = round_down(offset + len, hpage_size); in hugetlbfs_punch_hole()
526 if (hole_end > hole_start) { in hugetlbfs_punch_hole()
542 hole_end >> PAGE_SHIFT); in hugetlbfs_punch_hole()
544 remove_inode_hugepages(inode, hole_start, hole_end); in hugetlbfs_punch_hole()
/Linux-v4.19/fs/proc/
Dtask_mmu.c1209 unsigned long hole_end; in pagemap_pte_hole() local
1212 hole_end = min(end, vma->vm_start); in pagemap_pte_hole()
1214 hole_end = end; in pagemap_pte_hole()
1216 for (; addr < hole_end; addr += PAGE_SIZE) { in pagemap_pte_hole()
/Linux-v4.19/drivers/gpu/drm/i915/
Di915_gem_gtt.c2936 unsigned long hole_start, hole_end; in i915_gem_init_ggtt() local
2953 drm_mm_for_each_hole(entry, &ggtt->vm.mm, hole_start, hole_end) { in i915_gem_init_ggtt()
2955 hole_start, hole_end); in i915_gem_init_ggtt()
2957 hole_end - hole_start); in i915_gem_init_ggtt()