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