Lines Matching refs:extents

409  * Cleanup all submitted ordered extents in specified range to handle errors
588 * We align size to sectorsize for inline extents just for simplicity
720 struct list_head extents;
749 list_add_tail(&async_extent->list, &cow->extents);
1258 * allocate extents on disk for the range, and create ordered data structs
1259 * in ram to track those extents.
1268 * (In reality inline extents are limited to a single page, so locked_page is
1278 * while-loop, the ordered extents created in previous iterations are kept
1368 * Relocation relies on the relocated extents to have exactly the same
1369 * size as the original extents. Normally writeback for relocation data
1370 * extents follows a NOCOW path because relocation preallocates the
1371 * extents. However, due to an operation such as scrub turning a block
1374 * not be split into smaller extents, otherwise relocation breaks and
1523 * For the range (1). We have already instantiated the ordered extents
1577 * async extents created by compress_file_range and send them down to the disk.
1609 while (!list_empty(&async_chunk->extents)) {
1610 async_extent = list_entry(async_chunk->extents.next,
1661 INIT_LIST_HEAD(&async_chunk[i].extents);
1797 * reason. Space caches and relocated data extents always get a prealloc
1822 * Don't try to create inline extents, as a mix of inline extent that
1908 /* Compressed/encrypted/encoded extents must be COWed. */
1970 * of the extents that exist in the file, and COWs the file as required.
2055 * more extents for this inode
2334 * Handle merged delayed allocation extents so we can keep track of new extents
2335 * that are just merged onto old extents, such as when we are doing sequential
2365 * We have to add up either side to figure out how many extents were
2367 * extents we accounted for is <= the amount we need for the new range
2373 * need 2 outstanding extents, on one side we have 1 and the other side
2378 * Each range on their own accounts for 2 extents, but merged together
2379 * they are only 3 extents worth of accounting, so we need to drop in
2598 * Don't split the extent_map for NOCOW extents, as we're writing into
2688 * There can't be any extents following eof in this case so just
2845 * to fix it up. The async helper will wait for ordered extents, set
3743 * it goes inode, inode backrefs, xattrs, extents,
3843 * idea about which extents were modified before we were evicted from
4919 * This function puts in dummy file extents for the area we're creating a hole
4921 * these file extents so that btrfs_get_extent will return a EXTENT_MAP_HOLE for
5094 * adjusted disk_i_size down as we removed extents, so
6807 * extents which overlap the given range after the returned extent_map.
6965 * Other members are not utilized for inline extents.
7114 * NOTE: This only checks the file extents, caller is responsible to wait for
7115 * any ordered extents.
7237 * extents in this range.
7572 * range if the range has several extents and the writes don't expand the
7605 * Ok for INLINE and COMPRESSED extents we need to fallback on buffered
7627 * previous non-compressed extents and then when we fallback to
7640 * If we have a NOWAIT request and the range contains multiple extents
7641 * (or a mix of extents and holes), then we return -EAGAIN to make the
7654 * have previously submitted bios for other extents in the range, in
7658 * after we have submitted bios for all the extents in the range.
7710 * We trim the extents (and move the addr) even though iomap code does
7893 * extents to complete, because our fiemap implementation uses mainly
7894 * file extent items to list the extents, searching for extent maps
7895 * only for file ranges with holes or prealloc extents to figure out
7909 * extents. Now after we locked the inode we do it again, because it's
8105 * for any ordered extents now. Don't clear EXTENT_DELALLOC_NEW
8166 * We have iterated through all ordered extents of the page, the page
8265 * extents. Drop our locks and wait for them to finish
8520 * write the extents that changed, which is a problem if we need to
8522 * all of the extents in the inode to the sync log so we're completely
8525 * If no extents were dropped or trimmed we don't need to force the next
8530 * extents beyond i_size to drop.
8678 * If this is a free space inode do not take the ordered extents lockdep
10217 * For inline extents we get everything we need out of the
10352 * Compressed extents should always have checksums, so error out if we
10371 * extents.
10730 * run concurrently while we are mapping the swap extents, and
10732 * file is active and moving the extents. Note that this also prevents
10756 * Snapshots can create extents which require COW even if NODATACOW is
10758 * before walking the extents because we don't want a concurrent
10759 * snapshot to run after we've already checked the extents.
10952 * Update the number of bytes used in the VFS' inode. When we replace extents in
10973 * Verify that there are no ordered extents for a given file range.
10983 * extents in the range to complete and finally we have locked the file range in
11044 * use bmap to make a mapping of extents in the file. They assume
11045 * these extents won't change over the life of the file and they