Lines Matching refs:remap_flags
31 loff_t *req_count, unsigned int remap_flags) in generic_remap_checks() argument
53 if ((remap_flags & REMAP_FILE_DEDUP) && in generic_remap_checks()
75 (!(remap_flags & REMAP_FILE_DEDUP) || pos_out + count == size_out)) { in generic_remap_checks()
93 if (*req_count != count && !(remap_flags & REMAP_FILE_CAN_SHORTEN)) in generic_remap_checks()
139 unsigned int remap_flags) in generic_remap_check_len() argument
153 if (remap_flags & REMAP_FILE_CAN_SHORTEN) { in generic_remap_check_len()
158 return (remap_flags & REMAP_FILE_DEDUP) ? -EBADE : -EINVAL; in generic_remap_check_len()
295 loff_t *len, unsigned int remap_flags) in generic_remap_file_range_prep() argument
319 if ((remap_flags & REMAP_FILE_DEDUP) || pos_in == isize) in generic_remap_file_range_prep()
330 remap_flags); in generic_remap_file_range_prep()
352 if (remap_flags & REMAP_FILE_DEDUP) { in generic_remap_file_range_prep()
364 remap_flags); in generic_remap_file_range_prep()
369 if (!(remap_flags & REMAP_FILE_DEDUP)) in generic_remap_file_range_prep()
378 loff_t len, unsigned int remap_flags) in do_clone_file_range() argument
382 WARN_ON_ONCE(remap_flags & REMAP_FILE_DEDUP); in do_clone_file_range()
408 file_out, pos_out, len, remap_flags); in do_clone_file_range()
420 loff_t len, unsigned int remap_flags) in vfs_clone_file_range() argument
426 remap_flags); in vfs_clone_file_range()
449 loff_t len, unsigned int remap_flags) in vfs_dedupe_file_range_one() argument
453 WARN_ON_ONCE(remap_flags & ~(REMAP_FILE_DEDUP | in vfs_dedupe_file_range_one()
486 dst_pos, len, remap_flags | REMAP_FILE_DEDUP); in vfs_dedupe_file_range_one()