Searched refs:drop_args (Results 1 – 4 of 4) sorted by relevance
| /Linux-v6.1/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 | 2637 struct btrfs_drop_extents_args drop_args = { 0 }; in btrfs_replace_file_extents() local 2685 drop_args.path = path; in btrfs_replace_file_extents() 2686 drop_args.end = end + 1; in btrfs_replace_file_extents() 2687 drop_args.drop_cache = true; in btrfs_replace_file_extents() 2689 drop_args.start = cur_offset; in btrfs_replace_file_extents() 2690 ret = btrfs_drop_extents(trans, root, inode, &drop_args); in btrfs_replace_file_extents() 2694 drop_args.bytes_found); in btrfs_replace_file_extents() 2713 if (!extent_info && cur_offset < drop_args.drop_end && in btrfs_replace_file_extents() 2716 drop_args.drop_end); in btrfs_replace_file_extents() 2727 } else if (!extent_info && cur_offset < drop_args.drop_end) { in btrfs_replace_file_extents() [all …]
|
| D | tree-log.c | 631 struct btrfs_drop_extents_args drop_args = { 0 }; in replay_one_extent() local 709 drop_args.start = start; in replay_one_extent() 710 drop_args.end = extent_end; in replay_one_extent() 711 drop_args.drop_cache = true; in replay_one_extent() 712 ret = btrfs_drop_extents(trans, root, BTRFS_I(inode), &drop_args); in replay_one_extent() 894 btrfs_update_inode_bytes(BTRFS_I(inode), nbytes, drop_args.bytes_found); in replay_one_extent() 2503 struct btrfs_drop_extents_args drop_args = { 0 }; in replay_one_buffer() local 2514 drop_args.start = from; in replay_one_buffer() 2515 drop_args.end = (u64)-1; in replay_one_buffer() 2516 drop_args.drop_cache = true; in replay_one_buffer() [all …]
|
| D | inode.c | 397 struct btrfs_drop_extents_args drop_args = { 0 }; in cow_file_range_inline() local 428 drop_args.path = path; in cow_file_range_inline() 429 drop_args.start = 0; in cow_file_range_inline() 430 drop_args.end = fs_info->sectorsize; in cow_file_range_inline() 431 drop_args.drop_cache = true; in cow_file_range_inline() 432 drop_args.replace_extent = true; in cow_file_range_inline() 433 drop_args.extent_item_size = btrfs_file_extent_calc_inline_size(data_len); in cow_file_range_inline() 434 ret = btrfs_drop_extents(trans, root, inode, &drop_args); in cow_file_range_inline() 440 ret = insert_inline_extent(trans, path, inode, drop_args.extent_inserted, in cow_file_range_inline() 451 btrfs_update_inode_bytes(inode, size, drop_args.bytes_found); in cow_file_range_inline() [all …]
|