Lines Matching defs:delalloc

30 #include "delalloc-space.h"
121 * After btrfs_copy_from_user(), update the following things for delalloc:
1387 * as delalloc through btrfs_dirty_pages(). Therefore free any
1849 * We check the flag here after starting delalloc above, because when
1850 * running delalloc the full sync flag may be set if we need to drop
2216 * we have flushed all delalloc in the range and we have waited
3102 * can't be more delalloc or ordered extents in the range.
3157 * We are safe to reserve space here as we can't have delalloc
3215 * that has unflushed and/or flushing delalloc. There might be other adjacent
3232 * means we have delalloc (dirty pages) for which writeback has not
3251 * If delalloc was found then *delalloc_start_ret has a sector size
3265 /* No delalloc, future calls don't need to search again. */
3273 * 1) When delalloc is flushed, the file range is locked, we clear the
3276 * after delalloc is flushed and before the ordered extent completes
3279 * 2) We may have an ordered extent created by flushing delalloc for a
3283 * We could also use the extent map tree to find such delalloc that is
3300 /* Don't have unflushed delalloc, return the ordered extent range. */
3308 * We have both unflushed delalloc (io_tree) and an ordered extent.
3324 * Check if there's delalloc in a given range.
3331 * @cached_state: Extent state record used for speeding up delalloc
3334 * subrange found with delalloc (may not be sector size
3337 * of the subrange found with delalloc.
3339 * Returns true if a subrange with delalloc is found within the given range, and
3355 bool delalloc;
3357 delalloc = find_delalloc_subrange(inode, cur_offset, end,
3361 if (!delalloc)
3386 * Check if there's a hole or delalloc range in a range representing a hole (or
3409 bool delalloc;
3411 delalloc = btrfs_find_delalloc_in_range(inode, start, end, cached_state,
3413 if (delalloc && whence == SEEK_DATA) {
3418 if (delalloc && whence == SEEK_HOLE) {
3420 * We found delalloc but it starts after out start offset. So we
3421 * have a hole between our start offset and the delalloc start.
3429 * If the delalloc range's length is smaller than our range,
3430 * then it means we have a hole that starts where the delalloc
3438 /* There's delalloc for the whole range. */
3442 if (!delalloc && whence == SEEK_HOLE) {
3448 * No delalloc in the range and we are seeking for data. The caller has
3490 * lseek SEEK_HOLE/DATA calls to a file when there's delalloc,
3588 * Didn't find data or a hole (due to delalloc) in the
3606 * Explicit hole or prealloc extent, search for delalloc.
3629 * Didn't find data or a hole (due to delalloc) in the