Lines Matching refs:drop_args
2403 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()
2498 drop_args.drop_end - cur_offset); in btrfs_replace_file_extents()
2511 drop_args.drop_end > extent_info->file_offset) { in btrfs_replace_file_extents()
2512 u64 replace_len = drop_args.drop_end - in btrfs_replace_file_extents()
2517 drop_args.bytes_found); in btrfs_replace_file_extents()
2565 cur_offset = drop_args.drop_end; in btrfs_replace_file_extents()
2602 if (drop_args.drop_end <= end) in btrfs_replace_file_extents()
2603 drop_args.drop_end = end + 1; in btrfs_replace_file_extents()
2610 cur_offset < drop_args.drop_end) { in btrfs_replace_file_extents()
2612 drop_args.drop_end); in btrfs_replace_file_extents()
2618 } else if (!extent_info && cur_offset < drop_args.drop_end) { in btrfs_replace_file_extents()
2621 drop_args.drop_end - cur_offset); in btrfs_replace_file_extents()
2631 drop_args.bytes_found); in btrfs_replace_file_extents()