1
2
3
4
5
6 #ifndef __XFS_AOPS_H__
7 #define __XFS_AOPS_H__
8
9 extern struct bio_set xfs_ioend_bioset;
10
11
12
13
14 struct xfs_ioend {
15 struct list_head io_list;
16 int io_fork;
17 xfs_exntst_t io_state;
18 struct inode *io_inode;
19 size_t io_size;
20 xfs_off_t io_offset;
21 struct xfs_trans *io_append_trans;
22 struct bio *io_bio;
23 struct bio io_inline_bio;
24 };
25
26 extern const struct address_space_operations xfs_address_space_operations;
27 extern const struct address_space_operations xfs_dax_aops;
28
29 int xfs_setfilesize(struct xfs_inode *ip, xfs_off_t offset, size_t size);
30
31 extern struct block_device *xfs_find_bdev_for_inode(struct inode *);
32 extern struct dax_device *xfs_find_daxdev_for_inode(struct inode *);
33
34 #endif