File: compat.h

package info (click to toggle)
linux 6.1.139-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm-proposed-updates
  • size: 1,495,880 kB
  • sloc: ansic: 23,469,452; asm: 266,614; sh: 110,522; makefile: 49,887; python: 36,990; perl: 36,834; cpp: 6,056; yacc: 4,908; lex: 2,725; awk: 1,440; ruby: 25; sed: 5
file content (34 lines) | stat: -rw-r--r-- 811 bytes parent folder | download | duplicates (22)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// SPDX-License-Identifier: GPL-2.0
#include <linux/compat.h>

struct compat_if_dqblk {
	compat_u64			dqb_bhardlimit;
	compat_u64			dqb_bsoftlimit;
	compat_u64			dqb_curspace;
	compat_u64			dqb_ihardlimit;
	compat_u64			dqb_isoftlimit;
	compat_u64			dqb_curinodes;
	compat_u64			dqb_btime;
	compat_u64			dqb_itime;
	compat_uint_t			dqb_valid;
};

struct compat_fs_qfilestat {
	compat_u64			dqb_bhardlimit;
	compat_u64			qfs_nblks;
	compat_uint_t			qfs_nextents;
};

struct compat_fs_quota_stat {
	__s8				qs_version;
	__u16				qs_flags;
	__s8				qs_pad;
	struct compat_fs_qfilestat	qs_uquota;
	struct compat_fs_qfilestat	qs_gquota;
	compat_uint_t			qs_incoredqs;
	compat_int_t			qs_btimelimit;
	compat_int_t			qs_itimelimit;
	compat_int_t			qs_rtbtimelimit;
	__u16				qs_bwarnlimit;
	__u16				qs_iwarnlimit;
};