1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2006-2007 Silicon Graphics, Inc.
6 #ifndef __XFS_FILESTREAM_H__
7 #define __XFS_FILESTREAM_H__
14 int xfs_filestream_mount(struct xfs_mount
*mp
);
15 void xfs_filestream_unmount(struct xfs_mount
*mp
);
16 void xfs_filestream_deassociate(struct xfs_inode
*ip
);
17 int xfs_filestream_select_ag(struct xfs_bmalloca
*ap
,
18 struct xfs_alloc_arg
*args
, xfs_extlen_t
*blen
);
21 xfs_inode_is_filestream(
24 return xfs_has_filestreams(ip
->i_mount
) ||
25 (ip
->i_diflags
& XFS_DIFLAG_FILESTREAM
);
28 #endif /* __XFS_FILESTREAM_H__ */