Lines Matching defs:delalloc
30 #include "delalloc-space.h"
57 * After copy_folio_from_iter_atomic(), update the following things for delalloc:
1317 * state, acquired while marking the extent range as delalloc through
1631 * We check the flag here after starting delalloc above, because when
1632 * running delalloc the full sync flag may be set if we need to drop
1831 * holes and correct delalloc and unwritten extent mapping on filesystems that
1869 * Reserving delalloc space after obtaining the page lock can lead to
1927 * We can't set the delalloc bits if there are pending ordered
2278 * we have flushed all delalloc in the range and we have waited
3172 * can't be more delalloc or ordered extents in the range.
3227 * We are safe to reserve space here as we can't have delalloc
3285 * that has unflushed and/or flushing delalloc. There might be other adjacent
3302 * means we have delalloc (dirty pages) for which writeback has not
3321 * If delalloc was found then *delalloc_start_ret has a sector size
3335 /* No delalloc, future calls don't need to search again. */
3343 * 1) When delalloc is flushed, the file range is locked, we clear the
3346 * after delalloc is flushed and before the ordered extent completes
3349 * 2) We may have an ordered extent created by flushing delalloc for a
3353 * We could also use the extent map tree to find such delalloc that is
3370 /* Don't have unflushed delalloc, return the ordered extent range. */
3378 * We have both unflushed delalloc (io_tree) and an ordered extent.
3394 * Check if there's delalloc in a given range.
3401 * @cached_state: Extent state record used for speeding up delalloc
3404 * subrange found with delalloc (may not be sector size
3407 * of the subrange found with delalloc.
3409 * Returns true if a subrange with delalloc is found within the given range, and
3425 bool delalloc;
3427 delalloc = find_delalloc_subrange(inode, cur_offset, end,
3431 if (!delalloc)
3456 * Check if there's a hole or delalloc range in a range representing a hole (or
3479 bool delalloc;
3481 delalloc = btrfs_find_delalloc_in_range(inode, start, end, cached_state,
3483 if (delalloc && whence == SEEK_DATA) {
3488 if (delalloc && whence == SEEK_HOLE) {
3490 * We found delalloc but it starts after out start offset. So we
3491 * have a hole between our start offset and the delalloc start.
3499 * If the delalloc range's length is smaller than our range,
3500 * then it means we have a hole that starts where the delalloc
3508 /* There's delalloc for the whole range. */
3512 if (!delalloc && whence == SEEK_HOLE) {
3518 * No delalloc in the range and we are seeking for data. The caller has
3572 * lseek SEEK_HOLE/DATA calls to a file when there's delalloc,
3686 * Didn't find data or a hole (due to delalloc) in the
3704 * Explicit hole or prealloc extent, search for delalloc.
3727 * Didn't find data or a hole (due to delalloc) in the