Searched refs:drop_args (Results 1 – 4 of 4) sorted by relevance
/Linux-v6.6/fs/btrfs/ |
D | reflink.c | 183 struct btrfs_drop_extents_args drop_args = { 0 }; in clone_copy_inline_extent() local 269 drop_args.path = path; in clone_copy_inline_extent() 270 drop_args.start = drop_start; in clone_copy_inline_extent() 271 drop_args.end = aligned_end; in clone_copy_inline_extent() 272 drop_args.drop_cache = true; in clone_copy_inline_extent() 273 ret = btrfs_drop_extents(trans, root, BTRFS_I(dst), &drop_args); in clone_copy_inline_extent() 284 btrfs_update_inode_bytes(BTRFS_I(dst), datal, drop_args.bytes_found); in clone_copy_inline_extent()
|
D | file.c | 2333 struct btrfs_drop_extents_args drop_args = { 0 }; in btrfs_replace_file_extents() local 2381 drop_args.path = path; in btrfs_replace_file_extents() 2382 drop_args.end = end + 1; in btrfs_replace_file_extents() 2383 drop_args.drop_cache = true; in btrfs_replace_file_extents() 2385 drop_args.start = cur_offset; in btrfs_replace_file_extents() 2386 ret = btrfs_drop_extents(trans, root, inode, &drop_args); in btrfs_replace_file_extents() 2390 drop_args.bytes_found); in btrfs_replace_file_extents() 2409 if (!extent_info && cur_offset < drop_args.drop_end && in btrfs_replace_file_extents() 2412 drop_args.drop_end); in btrfs_replace_file_extents() 2423 } else if (!extent_info && cur_offset < drop_args.drop_end) { in btrfs_replace_file_extents() [all …]
|
D | tree-log.c | 630 struct btrfs_drop_extents_args drop_args = { 0 }; in replay_one_extent() local 708 drop_args.start = start; in replay_one_extent() 709 drop_args.end = extent_end; in replay_one_extent() 710 drop_args.drop_cache = true; in replay_one_extent() 711 ret = btrfs_drop_extents(trans, root, BTRFS_I(inode), &drop_args); in replay_one_extent() 892 btrfs_update_inode_bytes(BTRFS_I(inode), nbytes, drop_args.bytes_found); in replay_one_extent() 2464 struct btrfs_drop_extents_args drop_args = { 0 }; in replay_one_buffer() local 2475 drop_args.start = from; in replay_one_buffer() 2476 drop_args.end = (u64)-1; in replay_one_buffer() 2477 drop_args.drop_cache = true; in replay_one_buffer() [all …]
|
D | inode.c | 618 struct btrfs_drop_extents_args drop_args = { 0 }; in cow_file_range_inline() local 649 drop_args.path = path; in cow_file_range_inline() 650 drop_args.start = 0; in cow_file_range_inline() 651 drop_args.end = fs_info->sectorsize; in cow_file_range_inline() 652 drop_args.drop_cache = true; in cow_file_range_inline() 653 drop_args.replace_extent = true; in cow_file_range_inline() 654 drop_args.extent_item_size = btrfs_file_extent_calc_inline_size(data_len); in cow_file_range_inline() 655 ret = btrfs_drop_extents(trans, root, inode, &drop_args); in cow_file_range_inline() 661 ret = insert_inline_extent(trans, path, inode, drop_args.extent_inserted, in cow_file_range_inline() 672 btrfs_update_inode_bytes(inode, size, drop_args.bytes_found); in cow_file_range_inline() [all …]
|