xfs_vfsops.h 963 B

12345678910111213141516171819202122232425262728
  1. #ifndef _XFS_VFSOPS_H
  2. #define _XFS_VFSOPS_H 1
  3. struct cred;
  4. struct xfs_fid;
  5. struct inode;
  6. struct kstatfs;
  7. struct xfs_mount;
  8. struct xfs_mount_args;
  9. int xfs_mount(struct xfs_mount *mp, struct xfs_mount_args *args,
  10. struct cred *credp);
  11. int xfs_unmount(struct xfs_mount *mp, int flags, struct cred *credp);
  12. int xfs_mntupdate(struct xfs_mount *mp, int *flags,
  13. struct xfs_mount_args *args);
  14. int xfs_root(struct xfs_mount *mp, bhv_vnode_t **vpp);
  15. int xfs_statvfs(struct xfs_mount *mp, struct kstatfs *statp,
  16. bhv_vnode_t *vp);
  17. int xfs_sync(struct xfs_mount *mp, int flags);
  18. int xfs_vget(struct xfs_mount *mp, bhv_vnode_t **vpp, struct xfs_fid *xfid);
  19. int xfs_parseargs(struct xfs_mount *mp, char *options,
  20. struct xfs_mount_args *args, int update);
  21. int xfs_showargs(struct xfs_mount *mp, struct seq_file *m);
  22. void xfs_freeze(struct xfs_mount *mp);
  23. void xfs_do_force_shutdown(struct xfs_mount *mp, int flags, char *fname,
  24. int lnnum);
  25. #endif /* _XFS_VFSOPS_H */