1 // SPDX-License-Identifier: GPL-2.0 2 /* 3 * Copyright (c) 2005-2006 Silicon Graphics, Inc. 4 * All Rights Reserved. 5 */ 6 #ifndef __XFS_AOPS_H__ 7 #define __XFS_AOPS_H__ 8 9 extern const struct address_space_operations xfs_address_space_operations; 10 extern const struct address_space_operations xfs_dax_aops; 11 12 int xfs_setfilesize(struct xfs_inode *ip, xfs_off_t offset, size_t size); 13 14 extern struct block_device *xfs_find_bdev_for_inode(struct inode *); 15 extern struct dax_device *xfs_find_daxdev_for_inode(struct inode *); 16 17 #endif /* __XFS_AOPS_H__ */ 18