180bdad3dSChristoph Hellwig // SPDX-License-Identifier: GPL-2.0 280bdad3dSChristoph Hellwig #include <linux/compat.h> 380bdad3dSChristoph Hellwig 480bdad3dSChristoph Hellwig struct compat_if_dqblk { 580bdad3dSChristoph Hellwig compat_u64 dqb_bhardlimit; 680bdad3dSChristoph Hellwig compat_u64 dqb_bsoftlimit; 780bdad3dSChristoph Hellwig compat_u64 dqb_curspace; 880bdad3dSChristoph Hellwig compat_u64 dqb_ihardlimit; 980bdad3dSChristoph Hellwig compat_u64 dqb_isoftlimit; 1080bdad3dSChristoph Hellwig compat_u64 dqb_curinodes; 1180bdad3dSChristoph Hellwig compat_u64 dqb_btime; 1280bdad3dSChristoph Hellwig compat_u64 dqb_itime; 1380bdad3dSChristoph Hellwig compat_uint_t dqb_valid; 1480bdad3dSChristoph Hellwig }; 1580bdad3dSChristoph Hellwig 1680bdad3dSChristoph Hellwig struct compat_fs_qfilestat { 1780bdad3dSChristoph Hellwig compat_u64 dqb_bhardlimit; 1880bdad3dSChristoph Hellwig compat_u64 qfs_nblks; 1980bdad3dSChristoph Hellwig compat_uint_t qfs_nextents; 2080bdad3dSChristoph Hellwig }; 2180bdad3dSChristoph Hellwig 2280bdad3dSChristoph Hellwig struct compat_fs_quota_stat { 2380bdad3dSChristoph Hellwig __s8 qs_version; 2480bdad3dSChristoph Hellwig __u16 qs_flags; 2580bdad3dSChristoph Hellwig __s8 qs_pad; 2680bdad3dSChristoph Hellwig struct compat_fs_qfilestat qs_uquota; 2780bdad3dSChristoph Hellwig struct compat_fs_qfilestat qs_gquota; 2880bdad3dSChristoph Hellwig compat_uint_t qs_incoredqs; 2980bdad3dSChristoph Hellwig compat_int_t qs_btimelimit; 3080bdad3dSChristoph Hellwig compat_int_t qs_itimelimit; 3180bdad3dSChristoph Hellwig compat_int_t qs_rtbtimelimit; 3280bdad3dSChristoph Hellwig __u16 qs_bwarnlimit; 3380bdad3dSChristoph Hellwig __u16 qs_iwarnlimit; 3480bdad3dSChristoph Hellwig }; 35