Home
last modified time | relevance | path

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

/linux-6.12.1/fs/
Dremap_range.c33 loff_t *req_count, unsigned int remap_flags) in generic_remap_checks() argument
55 if ((remap_flags & REMAP_FILE_DEDUP) && in generic_remap_checks()
77 (!(remap_flags & REMAP_FILE_DEDUP) || pos_out + count == size_out)) { in generic_remap_checks()
95 if (*req_count != count && !(remap_flags & REMAP_FILE_CAN_SHORTEN)) in generic_remap_checks()
137 unsigned int remap_flags) in generic_remap_check_len() argument
151 if (remap_flags & REMAP_FILE_CAN_SHORTEN) { in generic_remap_check_len()
156 return (remap_flags & REMAP_FILE_DEDUP) ? -EBADE : -EINVAL; in generic_remap_check_len()
279 loff_t *len, unsigned int remap_flags, in __generic_remap_file_range_prep() argument
304 if ((remap_flags & REMAP_FILE_DEDUP) || pos_in == isize) in __generic_remap_file_range_prep()
315 remap_flags); in __generic_remap_file_range_prep()
[all …]
Ddax.c2076 loff_t *len, unsigned int remap_flags, in dax_remap_file_range_prep() argument
2080 pos_out, len, remap_flags, ops); in dax_remap_file_range_prep()
/linux-6.12.1/fs/xfs/
Dxfs_reflink.h49 unsigned int remap_flags);
58 unsigned int remap_flags);
63 xfs_extlen_t cowextsize, unsigned int remap_flags);
Dxfs_reflink.c1056 unsigned int remap_flags) in xfs_reflink_update_dest() argument
1455 unsigned int remap_flags) in xfs_reflink_remap_prep() argument
1480 pos_out, len, remap_flags); in xfs_reflink_remap_prep()
1483 pos_out, len, remap_flags, &xfs_read_iomap_ops); in xfs_reflink_remap_prep()
Dxfs_file.c1175 unsigned int remap_flags) in xfs_file_remap_range() argument
1186 if (remap_flags & ~(REMAP_FILE_DEDUP | REMAP_FILE_ADVISORY)) in xfs_file_remap_range()
1197 &len, remap_flags); in xfs_file_remap_range()
1221 remap_flags); in xfs_file_remap_range()
/linux-6.12.1/fs/btrfs/
Dreflink.c776 loff_t *len, unsigned int remap_flags) in btrfs_remap_file_range_prep() argument
784 if (!(remap_flags & REMAP_FILE_DEDUP)) { in btrfs_remap_file_range_prep()
813 if (*len == 0 && !(remap_flags & REMAP_FILE_DEDUP)) in btrfs_remap_file_range_prep()
849 len, remap_flags); in btrfs_remap_file_range_prep()
864 unsigned int remap_flags) in btrfs_remap_file_range() argument
871 if (remap_flags & ~(REMAP_FILE_DEDUP | REMAP_FILE_ADVISORY)) in btrfs_remap_file_range()
882 &len, remap_flags); in btrfs_remap_file_range()
886 if (remap_flags & REMAP_FILE_DEDUP) in btrfs_remap_file_range()
Dreflink.h12 loff_t len, unsigned int remap_flags);
/linux-6.12.1/fs/overlayfs/
Dfile.c558 loff_t len, unsigned int remap_flags) in ovl_remap_file_range() argument
562 if (remap_flags & ~(REMAP_FILE_DEDUP | REMAP_FILE_ADVISORY)) in ovl_remap_file_range()
565 if (remap_flags & REMAP_FILE_DEDUP) in ovl_remap_file_range()
580 remap_flags, op); in ovl_remap_file_range()
/linux-6.12.1/fs/nfs/
Dnfs4file.c242 unsigned int remap_flags) in nfs42_remap_file_range() argument
252 if (remap_flags & REMAP_FILE_DEDUP) in nfs42_remap_file_range()
255 if (remap_flags & ~REMAP_FILE_ADVISORY) in nfs42_remap_file_range()
/linux-6.12.1/fs/bcachefs/
Dfs-io.c829 loff_t len, unsigned remap_flags) in bch2_remap_file_range() argument
839 if (remap_flags & ~(REMAP_FILE_DEDUP|REMAP_FILE_ADVISORY)) in bch2_remap_file_range()
858 &len, remap_flags); in bch2_remap_file_range()
874 if (!(remap_flags & REMAP_FILE_DEDUP)) in bch2_remap_file_range()
/linux-6.12.1/include/linux/
Ddax.h258 loff_t *len, unsigned int remap_flags,
Dfs.h2100 loff_t len, unsigned int remap_flags);
2182 loff_t *len, unsigned int remap_flags,
2186 loff_t *count, unsigned int remap_flags);
2189 loff_t len, unsigned int remap_flags);
2194 loff_t len, unsigned int remap_flags);
/linux-6.12.1/fs/smb/client/
Dcifsfs.c1232 unsigned int remap_flags) in cifs_remap_file_range() argument
1245 if (remap_flags & REMAP_FILE_DEDUP) in cifs_remap_file_range()
1247 if (remap_flags & ~REMAP_FILE_ADVISORY) in cifs_remap_file_range()
/linux-6.12.1/fs/ocfs2/
Dfile.c2692 loff_t len, unsigned int remap_flags) in ocfs2_remap_file_range() argument
2702 if (remap_flags & ~(REMAP_FILE_DEDUP | REMAP_FILE_ADVISORY)) in ocfs2_remap_file_range()
2721 &len, remap_flags); in ocfs2_remap_file_range()
/linux-6.12.1/Documentation/filesystems/
Dlocking.rst551 loff_t len, unsigned int remap_flags);
Dvfs.rst1108 loff_t len, unsigned int remap_flags);
1216 before any bytes were remapped. The remap_flags parameter