Home
last modified time | relevance | path

Searched refs:remap_flags (Results 1 – 15 of 15) sorted by relevance

/Linux-v6.1/fs/
Dremap_range.c32 loff_t *req_count, unsigned int remap_flags) in generic_remap_checks() argument
54 if ((remap_flags & REMAP_FILE_DEDUP) && in generic_remap_checks()
76 (!(remap_flags & REMAP_FILE_DEDUP) || pos_out + count == size_out)) { in generic_remap_checks()
94 if (*req_count != count && !(remap_flags & REMAP_FILE_CAN_SHORTEN)) in generic_remap_checks()
128 unsigned int remap_flags) in generic_remap_check_len() argument
142 if (remap_flags & REMAP_FILE_CAN_SHORTEN) { in generic_remap_check_len()
147 return (remap_flags & REMAP_FILE_DEDUP) ? -EBADE : -EINVAL; in generic_remap_check_len()
270 loff_t *len, unsigned int remap_flags, in __generic_remap_file_range_prep() argument
295 if ((remap_flags & REMAP_FILE_DEDUP) || pos_in == isize) in __generic_remap_file_range_prep()
306 remap_flags); in __generic_remap_file_range_prep()
[all …]
Ddax.c1954 loff_t *len, unsigned int remap_flags, in dax_remap_file_range_prep() argument
1958 pos_out, len, remap_flags, ops); in dax_remap_file_range_prep()
/Linux-v6.1/fs/xfs/
Dxfs_reflink.h40 unsigned int remap_flags);
49 unsigned int remap_flags);
54 xfs_extlen_t cowextsize, unsigned int remap_flags);
Dxfs_file.c1108 unsigned int remap_flags) in xfs_file_remap_range() argument
1119 if (remap_flags & ~(REMAP_FILE_DEDUP | REMAP_FILE_ADVISORY)) in xfs_file_remap_range()
1130 &len, remap_flags); in xfs_file_remap_range()
1154 remap_flags); in xfs_file_remap_range()
Dxfs_reflink.c1081 unsigned int remap_flags) in xfs_reflink_update_dest() argument
1478 unsigned int remap_flags) in xfs_reflink_remap_prep() argument
1503 pos_out, len, remap_flags); in xfs_reflink_remap_prep()
1506 pos_out, len, remap_flags, &xfs_read_iomap_ops); in xfs_reflink_remap_prep()
/Linux-v6.1/fs/btrfs/
Dreflink.c791 loff_t *len, unsigned int remap_flags) in btrfs_remap_file_range_prep() argument
799 if (!(remap_flags & REMAP_FILE_DEDUP)) { in btrfs_remap_file_range_prep()
828 if (*len == 0 && !(remap_flags & REMAP_FILE_DEDUP)) in btrfs_remap_file_range_prep()
864 len, remap_flags); in btrfs_remap_file_range_prep()
879 unsigned int remap_flags) in btrfs_remap_file_range() argument
886 if (remap_flags & ~(REMAP_FILE_DEDUP | REMAP_FILE_ADVISORY)) in btrfs_remap_file_range()
897 &len, remap_flags); in btrfs_remap_file_range()
901 if (remap_flags & REMAP_FILE_DEDUP) in btrfs_remap_file_range()
Dreflink.h10 loff_t len, unsigned int remap_flags);
/Linux-v6.1/fs/nfs/
Dnfs4file.c245 unsigned int remap_flags) in nfs42_remap_file_range() argument
255 if (remap_flags & REMAP_FILE_DEDUP) in nfs42_remap_file_range()
258 if (remap_flags & ~REMAP_FILE_ADVISORY) in nfs42_remap_file_range()
/Linux-v6.1/fs/overlayfs/
Dfile.c619 loff_t len, unsigned int remap_flags) in ovl_remap_file_range() argument
623 if (remap_flags & ~(REMAP_FILE_DEDUP | REMAP_FILE_ADVISORY)) in ovl_remap_file_range()
626 if (remap_flags & REMAP_FILE_DEDUP) in ovl_remap_file_range()
641 remap_flags, op); in ovl_remap_file_range()
/Linux-v6.1/include/linux/
Ddax.h255 loff_t *len, unsigned int remap_flags,
Dfs.h2142 loff_t len, unsigned int remap_flags);
2216 loff_t *len, unsigned int remap_flags,
2220 loff_t *count, unsigned int remap_flags);
2223 loff_t len, unsigned int remap_flags);
2226 loff_t len, unsigned int remap_flags);
2231 loff_t len, unsigned int remap_flags);
/Linux-v6.1/fs/cifs/
Dcifsfs.c1178 unsigned int remap_flags) in cifs_remap_file_range() argument
1188 if (remap_flags & ~(REMAP_FILE_DEDUP | REMAP_FILE_ADVISORY)) in cifs_remap_file_range()
/Linux-v6.1/fs/ocfs2/
Dfile.c2636 loff_t len, unsigned int remap_flags) in ocfs2_remap_file_range() argument
2646 if (remap_flags & ~(REMAP_FILE_DEDUP | REMAP_FILE_ADVISORY)) in ocfs2_remap_file_range()
2665 &len, remap_flags); in ocfs2_remap_file_range()
/Linux-v6.1/Documentation/filesystems/
Dlocking.rst540 loff_t len, unsigned int remap_flags);
Dvfs.rst1037 loff_t len, unsigned int remap_flags);
1149 before any bytes were remapped. The remap_flags parameter