Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/gpu/drm/
Ddrm_mm.c113 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.4.14/include/drm/
Ddrm_mm.h202 #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.4.14/kernel/
Dkexec_core.c414 unsigned long hole_start, hole_end, size; in kimage_alloc_crash_control_pages() local
419 hole_start = (image->control_page + (size - 1)) & ~(size - 1); in kimage_alloc_crash_control_pages()
420 hole_end = hole_start + size - 1; in kimage_alloc_crash_control_pages()
432 if ((hole_end >= mstart) && (hole_start <= mend)) { in kimage_alloc_crash_control_pages()
434 hole_start = (mend + (size - 1)) & ~(size - 1); in kimage_alloc_crash_control_pages()
435 hole_end = hole_start + size - 1; in kimage_alloc_crash_control_pages()
441 pages = pfn_to_page(hole_start >> PAGE_SHIFT); in kimage_alloc_crash_control_pages()
/linux-4.4.14/fs/hugetlbfs/
Dinode.c515 loff_t hole_start, hole_end; in hugetlbfs_punch_hole() local
521 hole_start = round_up(offset, hpage_size); in hugetlbfs_punch_hole()
524 if (hole_end > hole_start) { in hugetlbfs_punch_hole()
531 hole_start >> PAGE_SHIFT, in hugetlbfs_punch_hole()
534 remove_inode_hugepages(inode, hole_start, hole_end); in hugetlbfs_punch_hole()
/linux-4.4.14/fs/btrfs/
Dinode.c4776 u64 hole_start = ALIGN(oldsize, root->sectorsize); in btrfs_cont_expand() local
4792 if (size <= hole_start) in btrfs_cont_expand()
4798 lock_extent_bits(io_tree, hole_start, block_end - 1, 0, in btrfs_cont_expand()
4800 ordered = btrfs_lookup_ordered_range(inode, hole_start, in btrfs_cont_expand()
4801 block_end - hole_start); in btrfs_cont_expand()
4804 unlock_extent_cached(io_tree, hole_start, block_end - 1, in btrfs_cont_expand()
4810 cur_offset = hole_start; in btrfs_cont_expand()
4869 unlock_extent_cached(io_tree, hole_start, block_end - 1, &cached_state, in btrfs_cont_expand()
7072 u64 hole_start = start; in btrfs_get_extent_fiemap() local
7095 hole_start = max(hole_em->start, start); in btrfs_get_extent_fiemap()
[all …]
Dtree-log.c4339 u64 hole_start; in btrfs_log_trailing_hole() local
4365 hole_start = 0; in btrfs_log_trailing_hole()
4394 hole_start = key.offset + len; in btrfs_log_trailing_hole()
4395 hole_size = i_size - hole_start; in btrfs_log_trailing_hole()
4404 ret = btrfs_insert_file_extent(trans, log, ino, hole_start, 0, 0, in btrfs_log_trailing_hole()
/linux-4.4.14/drivers/gpu/drm/i915/
Di915_gem_gtt.c2643 unsigned long hole_start, hole_end; in i915_gem_setup_global_gtt() local
2684 drm_mm_for_each_hole(entry, &ggtt_vm->mm, hole_start, hole_end) { in i915_gem_setup_global_gtt()
2686 hole_start, hole_end); in i915_gem_setup_global_gtt()
2687 ggtt_vm->clear_range(ggtt_vm, hole_start, in i915_gem_setup_global_gtt()
2688 hole_end - hole_start, true); in i915_gem_setup_global_gtt()