vxfs_fshead.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * Copyright (c) 2000-2001 Christoph Hellwig.
  4. * Copyright (c) 2016 Krzysztof Blaszkowski
  5. */
  6. #ifndef _VXFS_FSHEAD_H_
  7. #define _VXFS_FSHEAD_H_
  8. /*
  9. * Veritas filesystem driver - fileset header structures.
  10. *
  11. * This file contains the physical structure of the VxFS
  12. * fileset header.
  13. */
  14. /*
  15. * Fileset header
  16. */
  17. struct vxfs_fsh {
  18. __fs32 fsh_version; /* fileset header version */
  19. __fs32 fsh_fsindex; /* fileset index */
  20. __fs32 fsh_time; /* modification time - sec */
  21. __fs32 fsh_utime; /* modification time - usec */
  22. __fs32 fsh_extop; /* extop flags */
  23. __fs32 fsh_ninodes; /* allocated inodes */
  24. __fs32 fsh_nau; /* number of IAUs */
  25. __fs32 fsh_old_ilesize; /* old size of ilist */
  26. __fs32 fsh_dflags; /* flags */
  27. __fs32 fsh_quota; /* quota limit */
  28. __fs32 fsh_maxinode; /* maximum inode number */
  29. __fs32 fsh_iauino; /* IAU inode */
  30. __fs32 fsh_ilistino[2]; /* ilist inodes */
  31. __fs32 fsh_lctino; /* link count table inode */
  32. /*
  33. * Slightly more fields follow, but they
  34. * a) are not of any interest for us, and
  35. * b) differ a lot in different vxfs versions/ports
  36. */
  37. };
  38. #endif /* _VXFS_FSHEAD_H_ */