^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) // SPDX-License-Identifier: GPL-2.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) #include <linux/compat.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) struct compat_if_dqblk {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) compat_u64 dqb_bhardlimit;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) compat_u64 dqb_bsoftlimit;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) compat_u64 dqb_curspace;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) compat_u64 dqb_ihardlimit;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) compat_u64 dqb_isoftlimit;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) compat_u64 dqb_curinodes;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) compat_u64 dqb_btime;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) compat_u64 dqb_itime;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) compat_uint_t dqb_valid;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) struct compat_fs_qfilestat {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) compat_u64 dqb_bhardlimit;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) compat_u64 qfs_nblks;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) compat_uint_t qfs_nextents;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) struct compat_fs_quota_stat {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) __s8 qs_version;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) __u16 qs_flags;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) __s8 qs_pad;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) struct compat_fs_qfilestat qs_uquota;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) struct compat_fs_qfilestat qs_gquota;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) compat_uint_t qs_incoredqs;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) compat_int_t qs_btimelimit;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) compat_int_t qs_itimelimit;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) compat_int_t qs_rtbtimelimit;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) __u16 qs_bwarnlimit;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) __u16 qs_iwarnlimit;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) };