Lines Matching defs:extents

401  * Cleanup all submitted ordered extents in specified range to handle errors
580 * We align size to sectorsize for inline extents just for simplicity
712 struct list_head extents;
740 list_add_tail(&async_extent->list, &cow->extents);
1248 * allocate extents on disk for the range, and create ordered data structs
1249 * in ram to track those extents.
1258 * (In reality inline extents are limited to a single page, so locked_page is
1268 * while-loop, the ordered extents created in previous iterations are kept
1358 * Relocation relies on the relocated extents to have exactly the same
1359 * size as the original extents. Normally writeback for relocation data
1360 * extents follows a NOCOW path because relocation preallocates the
1361 * extents. However, due to an operation such as scrub turning a block
1364 * not be split into smaller extents, otherwise relocation breaks and
1513 * For the range (1). We have already instantiated the ordered extents
1567 * async extents created by compress_file_range and send them down to the disk.
1581 while (!list_empty(&async_chunk->extents)) {
1582 async_extent = list_entry(async_chunk->extents.next,
1648 INIT_LIST_HEAD(&async_chunk[i].extents);
1784 * reason. Space caches and relocated data extents always get a prealloc
1809 * Don't try to create inline extents, as a mix of inline extent that
1895 /* Compressed/encrypted/encoded extents must be COWed. */
1957 * of the extents that exist in the file, and COWs the file as required.
2042 * more extents for this inode
2320 * Handle merged delayed allocation extents so we can keep track of new extents
2321 * that are just merged onto old extents, such as when we are doing sequential
2349 * We have to add up either side to figure out how many extents were
2351 * extents we accounted for is <= the amount we need for the new range
2357 * need 2 outstanding extents, on one side we have 1 and the other side
2362 * Each range on their own accounts for 2 extents, but merged together
2363 * they are only 3 extents worth of accounting, so we need to drop in
2567 * Don't split the extent_map for NOCOW extents, as we're writing into
2657 * There can't be any extents following eof in this case so just
2814 * to fix it up. The async helper will wait for ordered extents, set
3702 * it goes inode, inode backrefs, xattrs, extents,
3804 * idea about which extents were modified before we were evicted from
4862 * This function puts in dummy file extents for the area we're creating a hole
4864 * these file extents so that btrfs_get_extent will return a EXTENT_MAP_HOLE for
5039 * adjusted disk_i_size down as we removed extents, so
6740 * extents which overlap the given range after the returned extent_map.
6900 * Other members are not utilized for inline extents.
7049 * NOTE: This only checks the file extents, caller is responsible to wait for
7050 * any ordered extents.
7173 * extents in this range.
7510 * range if the range has several extents and the writes don't expand the
7543 * Ok for INLINE and COMPRESSED extents we need to fallback on buffered
7565 * previous non-compressed extents and then when we fallback to
7578 * If we have a NOWAIT request and the range contains multiple extents
7579 * (or a mix of extents and holes), then we return -EAGAIN to make the
7592 * have previously submitted bios for other extents in the range, in
7596 * after we have submitted bios for all the extents in the range.
7648 * We trim the extents (and move the addr) even though iomap code does
7830 * extents to complete, because our fiemap implementation uses mainly
7831 * file extent items to list the extents, searching for extent maps
7832 * only for file ranges with holes or prealloc extents to figure out
8022 * for any ordered extents now. Don't clear EXTENT_DELALLOC_NEW
8083 * We have iterated through all ordered extents of the page, the page
8179 * extents. Drop our locks and wait for them to finish
8434 * write the extents that changed, which is a problem if we need to
8436 * all of the extents in the inode to the sync log so we're completely
8439 * If no extents were dropped or trimmed we don't need to force the next
8444 * extents beyond i_size to drop.
8570 * If this is a free space inode do not take the ordered extents lockdep
10107 * For inline extents we get everything we need out of the
10242 * Compressed extents should always have checksums, so error out if we
10261 * extents.
10619 * run concurrently while we are mapping the swap extents, and
10621 * file is active and moving the extents. Note that this also prevents
10645 * Snapshots can create extents which require COW even if NODATACOW is
10647 * before walking the extents because we don't want a concurrent
10648 * snapshot to run after we've already checked the extents.
10839 * Update the number of bytes used in the VFS' inode. When we replace extents in
10860 * Verify that there are no ordered extents for a given file range.
10870 * extents in the range to complete and finally we have locked the file range in
10931 * use bmap to make a mapping of extents in the file. They assume
10932 * these extents won't change over the life of the file and they