Searched refs:drop_args (Results 1 – 4 of 4) sorted by relevance
| /Linux-v5.15/fs/btrfs/ |
| D | reflink.c | 178 struct btrfs_drop_extents_args drop_args = { 0 }; in clone_copy_inline_extent() local 264 drop_args.path = path; in clone_copy_inline_extent() 265 drop_args.start = drop_start; in clone_copy_inline_extent() 266 drop_args.end = aligned_end; in clone_copy_inline_extent() 267 drop_args.drop_cache = true; in clone_copy_inline_extent() 268 ret = btrfs_drop_extents(trans, root, BTRFS_I(dst), &drop_args); in clone_copy_inline_extent() 279 btrfs_update_inode_bytes(BTRFS_I(dst), datal, drop_args.bytes_found); in clone_copy_inline_extent()
|
| D | file.c | 2647 struct btrfs_drop_extents_args drop_args = { 0 }; in btrfs_replace_file_extents() local 2694 drop_args.path = path; in btrfs_replace_file_extents() 2695 drop_args.end = end + 1; in btrfs_replace_file_extents() 2696 drop_args.drop_cache = true; in btrfs_replace_file_extents() 2698 drop_args.start = cur_offset; in btrfs_replace_file_extents() 2699 ret = btrfs_drop_extents(trans, root, inode, &drop_args); in btrfs_replace_file_extents() 2703 drop_args.bytes_found); in btrfs_replace_file_extents() 2722 if (!extent_info && cur_offset < drop_args.drop_end && in btrfs_replace_file_extents() 2725 drop_args.drop_end); in btrfs_replace_file_extents() 2736 } else if (!extent_info && cur_offset < drop_args.drop_end) { in btrfs_replace_file_extents() [all …]
|
| D | tree-log.c | 620 struct btrfs_drop_extents_args drop_args = { 0 }; in replay_one_extent() local 698 drop_args.start = start; in replay_one_extent() 699 drop_args.end = extent_end; in replay_one_extent() 700 drop_args.drop_cache = true; in replay_one_extent() 701 ret = btrfs_drop_extents(trans, root, BTRFS_I(inode), &drop_args); in replay_one_extent() 879 btrfs_update_inode_bytes(BTRFS_I(inode), nbytes, drop_args.bytes_found); in replay_one_extent() 2647 struct btrfs_drop_extents_args drop_args = { 0 }; in replay_one_buffer() local 2658 drop_args.start = from; in replay_one_buffer() 2659 drop_args.end = (u64)-1; in replay_one_buffer() 2660 drop_args.drop_cache = true; in replay_one_buffer() [all …]
|
| D | inode.c | 347 struct btrfs_drop_extents_args drop_args = { 0 }; in cow_file_range_inline() local 383 drop_args.path = path; in cow_file_range_inline() 384 drop_args.start = start; in cow_file_range_inline() 385 drop_args.end = aligned_end; in cow_file_range_inline() 386 drop_args.drop_cache = true; in cow_file_range_inline() 387 drop_args.replace_extent = true; in cow_file_range_inline() 390 drop_args.extent_item_size = btrfs_file_extent_calc_inline_size( in cow_file_range_inline() 393 drop_args.extent_item_size = btrfs_file_extent_calc_inline_size( in cow_file_range_inline() 396 ret = btrfs_drop_extents(trans, root, inode, &drop_args); in cow_file_range_inline() 404 ret = insert_inline_extent(trans, path, drop_args.extent_inserted, in cow_file_range_inline() [all …]
|