xfs_ioctl.h 815 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. // SPDX-License-Identifier: GPL-2.0
  2. /*
  3. * Copyright (c) 2008 Silicon Graphics, Inc.
  4. * All Rights Reserved.
  5. */
  6. #ifndef __XFS_IOCTL_H__
  7. #define __XFS_IOCTL_H__
  8. struct xfs_bstat;
  9. struct xfs_ibulk;
  10. struct xfs_inogrp;
  11. int
  12. xfs_ioc_swapext(
  13. xfs_swapext_t *sxp);
  14. extern int
  15. xfs_fileattr_get(
  16. struct dentry *dentry,
  17. struct fileattr *fa);
  18. extern int
  19. xfs_fileattr_set(
  20. struct mnt_idmap *idmap,
  21. struct dentry *dentry,
  22. struct fileattr *fa);
  23. extern long
  24. xfs_file_ioctl(
  25. struct file *filp,
  26. unsigned int cmd,
  27. unsigned long p);
  28. extern long
  29. xfs_file_compat_ioctl(
  30. struct file *file,
  31. unsigned int cmd,
  32. unsigned long arg);
  33. int xfs_fsbulkstat_one_fmt(struct xfs_ibulk *breq,
  34. const struct xfs_bulkstat *bstat);
  35. int xfs_fsinumbers_fmt(struct xfs_ibulk *breq, const struct xfs_inumbers *igrp);
  36. #endif