Home
last modified time | relevance | path

Searched refs:drop_args (Results 1 – 3 of 3) sorted by relevance

/linux/fs/btrfs/
H A Dfile.c2407 struct btrfs_drop_extents_args drop_args = { 0 }; in btrfs_replace_file_extents() local
2451 drop_args.path = path; in btrfs_replace_file_extents()
2452 drop_args.end = end + 1; in btrfs_replace_file_extents()
2453 drop_args.drop_cache = true; in btrfs_replace_file_extents()
2455 drop_args.start = cur_offset; in btrfs_replace_file_extents()
2456 ret = btrfs_drop_extents(trans, root, inode, &drop_args); in btrfs_replace_file_extents()
2460 drop_args.bytes_found); in btrfs_replace_file_extents()
2479 if (!extent_info && cur_offset < drop_args.drop_end && in btrfs_replace_file_extents()
2482 drop_args.drop_end); in btrfs_replace_file_extents()
2493 } else if (!extent_info && cur_offset < drop_args.drop_end) { in btrfs_replace_file_extents()
[all …]
H A Dtree-log.c721 struct btrfs_drop_extents_args drop_args = { 0 }; in replay_one_extent() local
797 drop_args.start = start; in replay_one_extent()
798 drop_args.end = extent_end; in replay_one_extent()
799 drop_args.drop_cache = true; in replay_one_extent()
800 drop_args.path = wc->subvol_path; in replay_one_extent()
801 ret = btrfs_drop_extents(trans, root, inode, &drop_args); in replay_one_extent()
1031 btrfs_update_inode_bytes(inode, nbytes, drop_args.bytes_found); in replay_one_extent()
2869 struct btrfs_drop_extents_args drop_args = { 0 }; in replay_one_buffer() local
2884 drop_args.start = from; in replay_one_buffer()
2885 drop_args.end = (u64)-1; in replay_one_buffer()
[all …]
H A Dinode.c635 struct btrfs_drop_extents_args drop_args = { 0 }; in __cow_file_range_inline() local
657 drop_args.path = path; in __cow_file_range_inline()
658 drop_args.start = 0; in __cow_file_range_inline()
659 drop_args.end = fs_info->sectorsize; in __cow_file_range_inline()
660 drop_args.drop_cache = true; in __cow_file_range_inline()
661 drop_args.replace_extent = true; in __cow_file_range_inline()
662 drop_args.extent_item_size = btrfs_file_extent_calc_inline_size(data_len); in __cow_file_range_inline()
663 ret = btrfs_drop_extents(trans, root, inode, &drop_args); in __cow_file_range_inline()
669 ret = insert_inline_extent(trans, path, inode, drop_args.extent_inserted, in __cow_file_range_inline()
680 btrfs_update_inode_bytes(inode, size, drop_args in __cow_file_range_inline()
3054 struct btrfs_drop_extents_args drop_args = { 0 }; insert_reserved_file_extent() local
5248 struct btrfs_drop_extents_args drop_args = { 0 }; maybe_insert_hole() local
[all...]