.. | .. |
---|
11 | 11 | struct xfs_inode; |
---|
12 | 12 | struct xfs_bmbt_irec; |
---|
13 | 13 | |
---|
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); |
---|
18 | 16 | 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); |
---|
19 | 19 | |
---|
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); |
---|
23 | 22 | |
---|
24 | 23 | static inline xfs_filblks_t |
---|
25 | 24 | xfs_aligned_fsb_count( |
---|
.. | .. |
---|
41 | 40 | return count_fsb; |
---|
42 | 41 | } |
---|
43 | 42 | |
---|
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; |
---|
45 | 47 | extern const struct iomap_ops xfs_xattr_iomap_ops; |
---|
46 | 48 | |
---|
47 | 49 | #endif /* __XFS_IOMAP_H__*/ |
---|