Home
last modified time | relevance | path

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

/linux/fs/btrfs/
H A Dfile.c2403 struct btrfs_drop_extents_args drop_args = { 0 }; in btrfs_replace_file_extents() local
2447 drop_args.path = path; in btrfs_replace_file_extents()
2448 drop_args.end = end + 1; in btrfs_replace_file_extents()
2449 drop_args.drop_cache = true; in btrfs_replace_file_extents()
2451 drop_args.start = cur_offset; in btrfs_replace_file_extents()
2452 ret = btrfs_drop_extents(trans, root, inode, &drop_args); in btrfs_replace_file_extents()
2456 drop_args.bytes_found); in btrfs_replace_file_extents()
2475 if (!extent_info && cur_offset < drop_args.drop_end && in btrfs_replace_file_extents()
2478 drop_args.drop_end); in btrfs_replace_file_extents()
2489 } 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()
1024 btrfs_update_inode_bytes(inode, nbytes, drop_args.bytes_found); in replay_one_extent()
2862 struct btrfs_drop_extents_args drop_args = { 0 }; in replay_one_buffer() local
2877 drop_args.start = from; in replay_one_buffer()
2878 drop_args.end = (u64)-1; in replay_one_buffer()
[all …]
H A Dinode.c632 struct btrfs_drop_extents_args drop_args = { 0 }; in __cow_file_range_inline() local
654 drop_args.path = path; in __cow_file_range_inline()
655 drop_args.start = 0; in __cow_file_range_inline()
656 drop_args.end = fs_info->sectorsize; in __cow_file_range_inline()
657 drop_args.drop_cache = true; in __cow_file_range_inline()
658 drop_args.replace_extent = true; in __cow_file_range_inline()
659 drop_args.extent_item_size = btrfs_file_extent_calc_inline_size(data_len); in __cow_file_range_inline()
660 ret = btrfs_drop_extents(trans, root, inode, &drop_args); in __cow_file_range_inline()
666 ret = insert_inline_extent(trans, path, inode, drop_args.extent_inserted, in __cow_file_range_inline()
677 btrfs_update_inode_bytes(inode, size, drop_args in __cow_file_range_inline()
2986 struct btrfs_drop_extents_args drop_args = { 0 }; insert_reserved_file_extent() local
5166 struct btrfs_drop_extents_args drop_args = { 0 }; maybe_insert_hole() local
[all...]