Home
last modified time | relevance | path

Searched refs:hole_start (Results 1 – 12 of 12) sorted by relevance

/Linux-v4.19/drivers/gpu/drm/
Ddrm_mm.c335 u64 hole_start; in find_hole() local
338 hole_start = __drm_mm_hole_node_start(node); in find_hole()
340 if (addr < hole_start) in find_hole()
342 else if (addr > hole_start + node->hole_size) in find_hole()
414 u64 hole_start, hole_end; in drm_mm_reserve_node() local
426 adj_start = hole_start = __drm_mm_hole_node_start(hole); in drm_mm_reserve_node()
427 adj_end = hole_end = hole_start + hole->hole_size; in drm_mm_reserve_node()
443 if (node->start > hole_start) in drm_mm_reserve_node()
503 u64 hole_start = __drm_mm_hole_node_start(hole); in drm_mm_insert_node_in_range() local
504 u64 hole_end = hole_start + hole->hole_size; in drm_mm_insert_node_in_range()
[all …]
/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()
277 u64 addr = hole_start + order[n] * BIT_ULL(size); in lowlevel_hole()
284 hole_end = hole_start; /* quit */ in lowlevel_hole()
304 u64 addr = hole_start + order[n] * BIT_ULL(size); 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()
[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()
531 resv.start = hole_start; in igt_mmap_offset_exhaustion()
532 resv.size = hole_end - hole_start - 1; /* PAGE_SIZE units */ in igt_mmap_offset_exhaustion()
/Linux-v4.19/arch/sparc/kernel/
Dadi_64.c164 unsigned long end_addr, hole_start, hole_end; in alloc_tag_store() local
168 hole_start = 0; in alloc_tag_store()
199 (tag_desc->end > hole_start)) in alloc_tag_store()
200 hole_start = tag_desc->end; in alloc_tag_store()
274 if (tmp_addr < hole_start) { in alloc_tag_store()
278 tmp_addr = hole_start + 1; in alloc_tag_store()
/Linux-v4.19/include/drm/
Ddrm_mm.h390 #define drm_mm_for_each_hole(pos, mm, hole_start, hole_end) \ argument
394 hole_start = drm_mm_hole_node_start(pos), \
395 hole_end = hole_start + pos->hole_size, \
/Linux-v4.19/kernel/
Dkexec_core.c439 unsigned long hole_start, hole_end, size; in kimage_alloc_crash_control_pages() local
444 hole_start = (image->control_page + (size - 1)) & ~(size - 1); in kimage_alloc_crash_control_pages()
445 hole_end = hole_start + size - 1; in kimage_alloc_crash_control_pages()
459 if ((hole_end >= mstart) && (hole_start <= mend)) { in kimage_alloc_crash_control_pages()
461 hole_start = (mend + (size - 1)) & ~(size - 1); in kimage_alloc_crash_control_pages()
462 hole_end = hole_start + size - 1; in kimage_alloc_crash_control_pages()
468 pages = pfn_to_page(hole_start >> PAGE_SHIFT); in kimage_alloc_crash_control_pages()
/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
523 hole_start = round_up(offset, hpage_size); in hugetlbfs_punch_hole()
526 if (hole_end > hole_start) { in hugetlbfs_punch_hole()
541 hole_start >> PAGE_SHIFT, in hugetlbfs_punch_hole()
544 remove_inode_hugepages(inode, hole_start, hole_end); in hugetlbfs_punch_hole()
/Linux-v4.19/fs/ext4/
Dextents.c2349 ext4_ext_put_gap_in_cache(struct inode *inode, ext4_lblk_t hole_start, in ext4_ext_put_gap_in_cache() argument
2354 ext4_es_find_delayed_extent_range(inode, hole_start, in ext4_ext_put_gap_in_cache()
2355 hole_start + hole_len - 1, &es); in ext4_ext_put_gap_in_cache()
2358 if (es.es_lblk <= hole_start) in ext4_ext_put_gap_in_cache()
2360 hole_len = min(es.es_lblk - hole_start, hole_len); in ext4_ext_put_gap_in_cache()
2362 ext_debug(" -> %u:%u\n", hole_start, hole_len); in ext4_ext_put_gap_in_cache()
2363 ext4_es_insert_extent(inode, hole_start, hole_len, ~0, in ext4_ext_put_gap_in_cache()
4361 ext4_lblk_t hole_start, hole_len; in ext4_ext_map_blocks() local
4363 hole_start = map->m_lblk; in ext4_ext_map_blocks()
4364 hole_len = ext4_ext_determine_hole(inode, path, &hole_start); in ext4_ext_map_blocks()
[all …]
/Linux-v4.19/fs/btrfs/
Dinode.c5000 u64 hole_start = ALIGN(oldsize, fs_info->sectorsize); in btrfs_cont_expand() local
5016 if (size <= hole_start) in btrfs_cont_expand()
5022 lock_extent_bits(io_tree, hole_start, block_end - 1, in btrfs_cont_expand()
5024 ordered = btrfs_lookup_ordered_range(BTRFS_I(inode), hole_start, in btrfs_cont_expand()
5025 block_end - hole_start); in btrfs_cont_expand()
5028 unlock_extent_cached(io_tree, hole_start, block_end - 1, in btrfs_cont_expand()
5034 cur_offset = hole_start; in btrfs_cont_expand()
5094 unlock_extent_cached(io_tree, hole_start, block_end - 1, &cached_state); in btrfs_cont_expand()
7061 u64 hole_start = start; in btrfs_get_extent_fiemap() local
7084 hole_start = max(hole_em->start, start); in btrfs_get_extent_fiemap()
[all …]
Dtree-log.c4591 u64 hole_start; in btrfs_log_trailing_hole() local
4617 hole_start = 0; in btrfs_log_trailing_hole()
4647 hole_start = key.offset + len; in btrfs_log_trailing_hole()
4648 hole_size = i_size - hole_start; in btrfs_log_trailing_hole()
4657 ret = btrfs_insert_file_extent(trans, log, ino, hole_start, 0, 0, in btrfs_log_trailing_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()
2956 ggtt->vm.clear_range(&ggtt->vm, hole_start, in i915_gem_init_ggtt()
2957 hole_end - hole_start); in i915_gem_init_ggtt()