Searched refs:drop_args (Results 1 – 4 of 4) sorted by relevance
| /linux/fs/btrfs/ |
| H A D | reflink.c | 180 struct btrfs_drop_extents_args drop_args = { 0 }; in clone_copy_inline_extent() local 268 drop_args.path = path; in clone_copy_inline_extent() 269 drop_args.start = drop_start; in clone_copy_inline_extent() 270 drop_args.end = aligned_end; in clone_copy_inline_extent() 271 drop_args.drop_cache = true; in clone_copy_inline_extent() 272 ret = btrfs_drop_extents(trans, root, inode, &drop_args); in clone_copy_inline_extent() 287 btrfs_update_inode_bytes(inode, datal, drop_args.bytes_found); in clone_copy_inline_extent()
|
| H A D | file.c | 2369 struct btrfs_drop_extents_args drop_args = { 0 }; in btrfs_replace_file_extents() local 2413 drop_args.path = path; in btrfs_replace_file_extents() 2414 drop_args.end = end + 1; in btrfs_replace_file_extents() 2415 drop_args.drop_cache = true; in btrfs_replace_file_extents() 2417 drop_args.start = cur_offset; in btrfs_replace_file_extents() 2418 ret = btrfs_drop_extents(trans, root, inode, &drop_args); in btrfs_replace_file_extents() 2422 drop_args.bytes_found); in btrfs_replace_file_extents() 2441 if (!extent_info && cur_offset < drop_args.drop_end && in btrfs_replace_file_extents() 2444 drop_args.drop_end); in btrfs_replace_file_extents() 2455 } else if (!extent_info && cur_offset < drop_args.drop_end) { in btrfs_replace_file_extents() [all …]
|
| H A D | tree-log.c | 693 struct btrfs_drop_extents_args drop_args = { 0 }; in replay_one_extent() local 769 drop_args.start = start; in replay_one_extent() 770 drop_args.end = extent_end; in replay_one_extent() 771 drop_args.drop_cache = true; in replay_one_extent() 772 drop_args.path = wc->subvol_path; in replay_one_extent() 773 ret = btrfs_drop_extents(trans, root, inode, &drop_args); in replay_one_extent() 1003 btrfs_update_inode_bytes(inode, nbytes, drop_args.bytes_found); in replay_one_extent() 2841 struct btrfs_drop_extents_args drop_args = { 0 }; in replay_one_buffer() local 2856 drop_args.start = from; in replay_one_buffer() 2857 drop_args.end = (u64)-1; in replay_one_buffer() [all …]
|
| H A D | inode.c | 611 struct btrfs_drop_extents_args drop_args = { 0 }; in __cow_file_range_inline() local 633 drop_args.path = path; in __cow_file_range_inline() 634 drop_args.start = 0; in __cow_file_range_inline() 635 drop_args.end = fs_info->sectorsize; in __cow_file_range_inline() 636 drop_args.drop_cache = true; in __cow_file_range_inline() 637 drop_args.replace_extent = true; in __cow_file_range_inline() 638 drop_args.extent_item_size = btrfs_file_extent_calc_inline_size(data_len); in __cow_file_range_inline() 639 ret = btrfs_drop_extents(trans, root, inode, &drop_args); in __cow_file_range_inline() 645 ret = insert_inline_extent(trans, path, inode, drop_args.extent_inserted, in __cow_file_range_inline() 656 btrfs_update_inode_bytes(inode, size, drop_args.bytes_found); in __cow_file_range_inline() [all …]
|