xfs_ioctl.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. /*
  2. * Copyright (c) 2008 Silicon Graphics, Inc.
  3. * All Rights Reserved.
  4. *
  5. * This program is free software; you can redistribute it and/or
  6. * modify it under the terms of the GNU General Public License as
  7. * published by the Free Software Foundation.
  8. *
  9. * This program is distributed in the hope that it would be useful,
  10. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. * GNU General Public License for more details.
  13. *
  14. * You should have received a copy of the GNU General Public License
  15. * along with this program; if not, write the Free Software Foundation,
  16. * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
  17. */
  18. #ifndef __XFS_IOCTL_H__
  19. #define __XFS_IOCTL_H__
  20. extern int
  21. xfs_ioc_space(
  22. struct xfs_inode *ip,
  23. struct inode *inode,
  24. struct file *filp,
  25. int ioflags,
  26. unsigned int cmd,
  27. xfs_flock64_t *bf);
  28. extern int
  29. xfs_find_handle(
  30. unsigned int cmd,
  31. xfs_fsop_handlereq_t *hreq);
  32. extern int
  33. xfs_open_by_handle(
  34. xfs_mount_t *mp,
  35. xfs_fsop_handlereq_t *hreq,
  36. struct file *parfilp,
  37. struct inode *parinode);
  38. extern int
  39. xfs_readlink_by_handle(
  40. xfs_mount_t *mp,
  41. xfs_fsop_handlereq_t *hreq,
  42. struct inode *parinode);
  43. #endif