Lines Matching refs:nocow_args
1974 struct can_nocow_file_extent_args nocow_args = { 0 };
1989 nocow_args.end = end;
1990 nocow_args.writeback_path = true;
2090 nocow_args.start = cur_offset;
2091 ret = can_nocow_file_extent(path, &found_key, inode, &nocow_args);
2098 nocow_bg = btrfs_inc_nocow_writers(fs_info, nocow_args.disk_bytenr);
2134 nocow_end = cur_offset + nocow_args.num_bytes - 1;
2137 u64 orig_start = found_key.offset - nocow_args.extent_offset;
2140 em = create_io_em(inode, cur_offset, nocow_args.num_bytes,
2142 nocow_args.disk_bytenr, /* block_start */
2143 nocow_args.num_bytes, /* block_len */
2144 nocow_args.disk_num_bytes, /* orig_block_len */
2156 nocow_args.num_bytes, nocow_args.num_bytes,
2157 nocow_args.disk_bytenr, nocow_args.num_bytes, 0,
7057 struct can_nocow_file_extent_args nocow_args = { 0 };
7107 nocow_args.start = offset;
7108 nocow_args.end = offset + *len - 1;
7109 nocow_args.strict = strict;
7110 nocow_args.free_path = true;
7112 ret = can_nocow_file_extent(path, &key, BTRFS_I(inode), &nocow_args);
7123 if (btrfs_extent_readonly(fs_info, nocow_args.disk_bytenr))
7130 range_end = round_up(offset + nocow_args.num_bytes,
7141 *orig_start = key.offset - nocow_args.extent_offset;
7143 *orig_block_len = nocow_args.disk_num_bytes;
7145 *len = nocow_args.num_bytes;