Mirror of strace – the linux syscall tracer
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

xfs_quota_stat.h 996B

1234567891011121314151617181920212223242526272829
  1. /*
  2. * Copyright (c) 2018 The strace developers.
  3. * All rights reserved.
  4. *
  5. * SPDX-License-Identifier: LGPL-2.1-or-later
  6. */
  7. #include <stdint.h>
  8. #include "kernel_types.h"
  9. typedef struct fs_qfilestat {
  10. uint64_t qfs_ino; /* inode number */
  11. uint64_t qfs_nblks; /* number of BBs 512-byte-blks */
  12. uint32_t qfs_nextents; /* number of extents */
  13. } fs_qfilestat_t;
  14. struct xfs_dqstats {
  15. int8_t qs_version; /* version number for future changes */
  16. uint16_t qs_flags; /* XFS_QUOTA_{U,P,G}DQ_{ACCT,ENFD} */
  17. int8_t qs_pad; /* unused */
  18. fs_qfilestat_t qs_uquota; /* user quota storage information */
  19. fs_qfilestat_t qs_gquota; /* group quota storage information */
  20. uint32_t qs_incoredqs; /* number of dquots incore */
  21. int32_t qs_btimelimit; /* limit for blks timer */
  22. int32_t qs_itimelimit; /* limit for inodes timer */
  23. int32_t qs_rtbtimelimit; /* limit for rt blks timer */
  24. uint16_t qs_bwarnlimit; /* limit for num warnings */
  25. uint16_t qs_iwarnlimit; /* limit for num warnings */
  26. };