Searched refs:hole_start (Results 1 – 6 of 6) sorted by relevance
/linux-4.1.27/drivers/gpu/drm/ |
D | drm_mm.c | 113 u64 hole_start = drm_mm_hole_node_start(hole_node); in drm_mm_insert_helper() local 115 u64 adj_start = hole_start; in drm_mm_insert_helper() 139 BUG_ON(adj_start < hole_start); in drm_mm_insert_helper() 142 if (adj_start == hole_start) { in drm_mm_insert_helper() 183 u64 hole_start; in drm_mm_reserve_node() local 189 drm_mm_for_each_hole(hole, mm, hole_start, hole_end) { in drm_mm_reserve_node() 190 if (hole_start > node->start || hole_end < end) in drm_mm_reserve_node() 199 if (node->start == hole_start) { in drm_mm_reserve_node() 258 u64 hole_start = drm_mm_hole_node_start(hole_node); in drm_mm_insert_helper_range() local 260 u64 adj_start = hole_start; in drm_mm_insert_helper_range() [all …]
|
/linux-4.1.27/include/drm/ |
D | drm_mm.h | 202 #define drm_mm_for_each_hole(entry, mm, hole_start, hole_end) \ argument 205 hole_start = drm_mm_hole_node_start(entry), \ 210 #define __drm_mm_for_each_hole(entry, mm, hole_start, hole_end, backwards) \ argument 213 hole_start = drm_mm_hole_node_start(entry), \
|
/linux-4.1.27/kernel/ |
D | kexec.c | 771 unsigned long hole_start, hole_end, size; in kimage_alloc_crash_control_pages() local 776 hole_start = (image->control_page + (size - 1)) & ~(size - 1); in kimage_alloc_crash_control_pages() 777 hole_end = hole_start + size - 1; in kimage_alloc_crash_control_pages() 789 if ((hole_end >= mstart) && (hole_start <= mend)) { in kimage_alloc_crash_control_pages() 791 hole_start = (mend + (size - 1)) & ~(size - 1); in kimage_alloc_crash_control_pages() 792 hole_end = hole_start + size - 1; in kimage_alloc_crash_control_pages() 798 pages = pfn_to_page(hole_start >> PAGE_SHIFT); in kimage_alloc_crash_control_pages()
|
/linux-4.1.27/drivers/gpu/drm/i915/ |
D | i915_gem_gtt.c | 2032 unsigned long hole_start, hole_end; in i915_gem_setup_global_gtt() local 2069 drm_mm_for_each_hole(entry, &ggtt_vm->mm, hole_start, hole_end) { in i915_gem_setup_global_gtt() 2071 hole_start, hole_end); in i915_gem_setup_global_gtt() 2072 ggtt_vm->clear_range(ggtt_vm, hole_start, in i915_gem_setup_global_gtt() 2073 hole_end - hole_start, true); in i915_gem_setup_global_gtt()
|
/linux-4.1.27/fs/btrfs/ |
D | inode.c | 4734 u64 hole_start = ALIGN(oldsize, root->sectorsize); in btrfs_cont_expand() local 4750 if (size <= hole_start) in btrfs_cont_expand() 4756 lock_extent_bits(io_tree, hole_start, block_end - 1, 0, in btrfs_cont_expand() 4758 ordered = btrfs_lookup_ordered_range(inode, hole_start, in btrfs_cont_expand() 4759 block_end - hole_start); in btrfs_cont_expand() 4762 unlock_extent_cached(io_tree, hole_start, block_end - 1, in btrfs_cont_expand() 4768 cur_offset = hole_start; in btrfs_cont_expand() 4827 unlock_extent_cached(io_tree, hole_start, block_end - 1, &cached_state, in btrfs_cont_expand() 7005 u64 hole_start = start; in btrfs_get_extent_fiemap() local 7028 hole_start = max(hole_em->start, start); in btrfs_get_extent_fiemap() [all …]
|
D | tree-log.c | 4237 u64 hole_start; in btrfs_log_trailing_hole() local 4263 hole_start = 0; in btrfs_log_trailing_hole() 4292 hole_start = key.offset + len; in btrfs_log_trailing_hole() 4293 hole_size = i_size - hole_start; in btrfs_log_trailing_hole() 4302 ret = btrfs_insert_file_extent(trans, log, ino, hole_start, 0, 0, in btrfs_log_trailing_hole()
|