Merge tag 'wireless-2023-09-27' of git://git.kernel.org/pub/scm/linux/kernel/git...
[platform/kernel/linux-rpi.git] / fs / quota / compat.h
1 // SPDX-License-Identifier: GPL-2.0
2 #include <linux/compat.h>
3
4 struct compat_if_dqblk {
5         compat_u64                      dqb_bhardlimit;
6         compat_u64                      dqb_bsoftlimit;
7         compat_u64                      dqb_curspace;
8         compat_u64                      dqb_ihardlimit;
9         compat_u64                      dqb_isoftlimit;
10         compat_u64                      dqb_curinodes;
11         compat_u64                      dqb_btime;
12         compat_u64                      dqb_itime;
13         compat_uint_t                   dqb_valid;
14 };
15
16 struct compat_fs_qfilestat {
17         compat_u64                      dqb_bhardlimit;
18         compat_u64                      qfs_nblks;
19         compat_uint_t                   qfs_nextents;
20 };
21
22 struct compat_fs_quota_stat {
23         __s8                            qs_version;
24         __u16                           qs_flags;
25         __s8                            qs_pad;
26         struct compat_fs_qfilestat      qs_uquota;
27         struct compat_fs_qfilestat      qs_gquota;
28         compat_uint_t                   qs_incoredqs;
29         compat_int_t                    qs_btimelimit;
30         compat_int_t                    qs_itimelimit;
31         compat_int_t                    qs_rtbtimelimit;
32         __u16                           qs_bwarnlimit;
33         __u16                           qs_iwarnlimit;
34 };