Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/gpu/drm/
Ddrm_mm.c125 unsigned long hole_start = drm_mm_hole_node_start(hole_node); in drm_mm_insert_helper() local
131 tmp = hole_start % alignment; in drm_mm_insert_helper()
139 node->start = hole_start + wasted; in drm_mm_insert_helper()
201 unsigned long hole_start = drm_mm_hole_node_start(hole_node); in drm_mm_insert_helper_range() local
206 if (hole_start < start) in drm_mm_insert_helper_range()
207 wasted += start - hole_start; in drm_mm_insert_helper_range()
209 tmp = (hole_start + wasted) % alignment; in drm_mm_insert_helper_range()
219 node->start = hole_start + wasted; in drm_mm_insert_helper_range()
504 unsigned long hole_start, hole_end; in drm_mm_scan_add_block() local
523 hole_start = drm_mm_hole_node_start(prev_node); in drm_mm_scan_add_block()
[all …]
/linux-3.4.99/kernel/
Dkexec.c489 unsigned long hole_start, hole_end, size; in kimage_alloc_crash_control_pages() local
494 hole_start = (image->control_page + (size - 1)) & ~(size - 1); in kimage_alloc_crash_control_pages()
495 hole_end = hole_start + size - 1; in kimage_alloc_crash_control_pages()
509 if ((hole_end >= mstart) && (hole_start <= mend)) { in kimage_alloc_crash_control_pages()
511 hole_start = (mend + (size - 1)) & ~(size - 1); in kimage_alloc_crash_control_pages()
512 hole_end = hole_start + size - 1; in kimage_alloc_crash_control_pages()
518 pages = pfn_to_page(hole_start >> PAGE_SHIFT); in kimage_alloc_crash_control_pages()
/linux-3.4.99/fs/btrfs/
Dinode.c3513 u64 hole_start = (oldsize + mask) & ~mask; in btrfs_cont_expand() local
3520 if (size <= hole_start) in btrfs_cont_expand()
3525 btrfs_wait_ordered_range(inode, hole_start, in btrfs_cont_expand()
3526 block_end - hole_start); in btrfs_cont_expand()
3527 lock_extent_bits(io_tree, hole_start, block_end - 1, 0, in btrfs_cont_expand()
3529 ordered = btrfs_lookup_ordered_extent(inode, hole_start); in btrfs_cont_expand()
3532 unlock_extent_cached(io_tree, hole_start, block_end - 1, in btrfs_cont_expand()
3537 cur_offset = hole_start; in btrfs_cont_expand()
3576 btrfs_drop_extent_cache(inode, hole_start, in btrfs_cont_expand()
3590 unlock_extent_cached(io_tree, hole_start, block_end - 1, &cached_state, in btrfs_cont_expand()
[all …]