Lines Matching refs:delalloc_end
356 u64 delalloc_end) in lock_delalloc_pages() argument
359 unsigned long end_index = delalloc_end >> PAGE_SHIFT; in lock_delalloc_pages()
368 delalloc_end, PAGE_LOCK, &processed_end); in lock_delalloc_pages()
402 u64 delalloc_end; in find_lock_delalloc_range() local
417 delalloc_end = 0; in find_lock_delalloc_range()
418 found = btrfs_find_delalloc_range(tree, &delalloc_start, &delalloc_end, in find_lock_delalloc_range()
420 if (!found || delalloc_end <= *start || delalloc_start > orig_end) { in find_lock_delalloc_range()
424 *end = min(delalloc_end, orig_end); in find_lock_delalloc_range()
440 if (delalloc_end + 1 - delalloc_start > max_bytes) in find_lock_delalloc_range()
441 delalloc_end = delalloc_start + max_bytes - 1; in find_lock_delalloc_range()
445 delalloc_start, delalloc_end); in find_lock_delalloc_range()
464 lock_extent(tree, delalloc_start, delalloc_end, &cached_state); in find_lock_delalloc_range()
467 ret = test_range_bit(tree, delalloc_start, delalloc_end, in find_lock_delalloc_range()
470 unlock_extent(tree, delalloc_start, delalloc_end, in find_lock_delalloc_range()
473 delalloc_start, delalloc_end); in find_lock_delalloc_range()
479 *end = delalloc_end; in find_lock_delalloc_range()
1967 u64 delalloc_end = page_end; in writepage_delalloc() local
1972 &delalloc_end); in writepage_delalloc()
1974 delalloc_start = delalloc_end + 1; in writepage_delalloc()
1978 delalloc_end, &page_started, &nr_written, wbc); in writepage_delalloc()
1988 delalloc_to_write += (delalloc_end - delalloc_start + in writepage_delalloc()
1990 delalloc_start = delalloc_end + 1; in writepage_delalloc()
3737 u64 delalloc_end; in fiemap_process_hole() local
3744 &delalloc_end); in fiemap_process_hole()
3785 delalloc_end + 1 - delalloc_start, in fiemap_process_hole()
3791 last_delalloc_end = delalloc_end; in fiemap_process_hole()
3792 cur_offset = delalloc_end + 1; in fiemap_process_hole()
4113 u64 delalloc_end; in extent_fiemap() local
4120 &delalloc_end); in extent_fiemap()