hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/fs/xfs/xfs_iomap.h
....@@ -11,15 +11,14 @@
1111 struct xfs_inode;
1212 struct xfs_bmbt_irec;
1313
14
-int xfs_iomap_write_direct(struct xfs_inode *, xfs_off_t, size_t,
15
- struct xfs_bmbt_irec *, int);
16
-int xfs_iomap_write_allocate(struct xfs_inode *, int, xfs_off_t,
17
- struct xfs_bmbt_irec *, unsigned int *);
14
+int xfs_iomap_write_direct(struct xfs_inode *ip, xfs_fileoff_t offset_fsb,
15
+ xfs_fileoff_t count_fsb, struct xfs_bmbt_irec *imap);
1816 int xfs_iomap_write_unwritten(struct xfs_inode *, xfs_off_t, xfs_off_t, bool);
17
+xfs_fileoff_t xfs_iomap_eof_align_last_fsb(struct xfs_inode *ip,
18
+ xfs_fileoff_t end_fsb);
1919
20
-void xfs_bmbt_to_iomap(struct xfs_inode *, struct iomap *,
21
- struct xfs_bmbt_irec *);
22
-xfs_extlen_t xfs_eof_alignment(struct xfs_inode *ip, xfs_extlen_t extsize);
20
+int xfs_bmbt_to_iomap(struct xfs_inode *, struct iomap *,
21
+ struct xfs_bmbt_irec *, u16);
2322
2423 static inline xfs_filblks_t
2524 xfs_aligned_fsb_count(
....@@ -41,7 +40,10 @@
4140 return count_fsb;
4241 }
4342
44
-extern const struct iomap_ops xfs_iomap_ops;
43
+extern const struct iomap_ops xfs_buffered_write_iomap_ops;
44
+extern const struct iomap_ops xfs_direct_write_iomap_ops;
45
+extern const struct iomap_ops xfs_read_iomap_ops;
46
+extern const struct iomap_ops xfs_seek_iomap_ops;
4547 extern const struct iomap_ops xfs_xattr_iomap_ops;
4648
4749 #endif /* __XFS_IOMAP_H__*/