blob: fcb5993cf782d20fe43470aaef850edc119e9777 [file] [log] [blame]
Ben Cheng655a7c02013-10-16 16:09:24 -07001/****************************************************************************
2 ****************************************************************************
3 ***
4 *** This header was automatically generated from a Linux kernel header
5 *** of the same name, to make information necessary for userspace to
6 *** call into the kernel available to libc. It contains only constants,
7 *** structures, and macros generated from the original header, and thus,
8 *** contains no copyrightable information.
9 ***
10 *** To edit the content of this header, modify the corresponding
11 *** source file (e.g. under external/kernel-headers/original/) then
12 *** run bionic/libc/kernel/tools/update_all.py
13 ***
14 *** Any manual change here will be lost the next time this script will
15 *** be run. You've been warned!
16 ***
17 ****************************************************************************
18 ****************************************************************************/
19#ifndef __GFS2_ONDISK_DOT_H__
20#define __GFS2_ONDISK_DOT_H__
21#include <linux/types.h>
22#define GFS2_MAGIC 0x01161970
23/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
24#define GFS2_BASIC_BLOCK 512
25#define GFS2_BASIC_BLOCK_SHIFT 9
26#define GFS2_MOUNT_LOCK 0
27#define GFS2_LIVE_LOCK 1
28/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -070029#define GFS2_FREEZE_LOCK 2
Ben Cheng655a7c02013-10-16 16:09:24 -070030#define GFS2_RENAME_LOCK 3
31#define GFS2_CONTROL_LOCK 4
32#define GFS2_MOUNTED_LOCK 5
33/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
34#define GFS2_FORMAT_NONE 0
35#define GFS2_FORMAT_SB 100
36#define GFS2_FORMAT_RG 200
37#define GFS2_FORMAT_RB 300
38/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
39#define GFS2_FORMAT_DI 400
40#define GFS2_FORMAT_IN 500
41#define GFS2_FORMAT_LF 600
42#define GFS2_FORMAT_JD 700
43/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
44#define GFS2_FORMAT_LH 800
45#define GFS2_FORMAT_LD 900
46#define GFS2_FORMAT_LB 1000
47#define GFS2_FORMAT_EA 1600
48/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
49#define GFS2_FORMAT_ED 1700
50#define GFS2_FORMAT_QC 1400
51#define GFS2_FORMAT_RI 1100
52#define GFS2_FORMAT_DE 1200
53/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
54#define GFS2_FORMAT_QU 1500
55#define GFS2_FORMAT_FS 1801
56#define GFS2_FORMAT_MULTI 1900
57struct gfs2_inum {
58/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080059 __be64 no_formal_ino;
60 __be64 no_addr;
Ben Cheng655a7c02013-10-16 16:09:24 -070061};
62#define GFS2_METATYPE_NONE 0
63/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
64#define GFS2_METATYPE_SB 1
65#define GFS2_METATYPE_RG 2
66#define GFS2_METATYPE_RB 3
67#define GFS2_METATYPE_DI 4
68/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
69#define GFS2_METATYPE_IN 5
70#define GFS2_METATYPE_LF 6
71#define GFS2_METATYPE_JD 7
72#define GFS2_METATYPE_LH 8
73/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
74#define GFS2_METATYPE_LD 9
75#define GFS2_METATYPE_LB 12
76#define GFS2_METATYPE_EA 10
77#define GFS2_METATYPE_ED 11
78/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
79#define GFS2_METATYPE_QC 14
80struct gfs2_meta_header {
Tao Baod7db5942015-01-28 10:07:51 -080081 __be32 mh_magic;
82 __be32 mh_type;
Ben Cheng655a7c02013-10-16 16:09:24 -070083/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080084 __be64 __pad0;
85 __be32 mh_format;
86 union {
87 __be32 mh_jid;
Ben Cheng655a7c02013-10-16 16:09:24 -070088/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080089 __be32 __pad1;
90 };
Ben Cheng655a7c02013-10-16 16:09:24 -070091};
92#define GFS2_SB_ADDR 128
93/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
94#define GFS2_SB_LOCK 0
95#define GFS2_LOCKNAME_LEN 64
96struct gfs2_sb {
Tao Baod7db5942015-01-28 10:07:51 -080097 struct gfs2_meta_header sb_header;
Ben Cheng655a7c02013-10-16 16:09:24 -070098/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080099 __be32 sb_fs_format;
100 __be32 sb_multihost_format;
101 __u32 __pad0;
102 __be32 sb_bsize;
Ben Cheng655a7c02013-10-16 16:09:24 -0700103/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800104 __be32 sb_bsize_shift;
105 __u32 __pad1;
106 struct gfs2_inum sb_master_dir;
107 struct gfs2_inum __pad2;
Ben Cheng655a7c02013-10-16 16:09:24 -0700108/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800109 struct gfs2_inum sb_root_dir;
110 char sb_lockproto[GFS2_LOCKNAME_LEN];
111 char sb_locktable[GFS2_LOCKNAME_LEN];
112 struct gfs2_inum __pad3;
Ben Cheng655a7c02013-10-16 16:09:24 -0700113/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800114 struct gfs2_inum __pad4;
Ben Cheng655a7c02013-10-16 16:09:24 -0700115#define GFS2_HAS_UUID 1
Tao Baod7db5942015-01-28 10:07:51 -0800116 __u8 sb_uuid[16];
Ben Cheng655a7c02013-10-16 16:09:24 -0700117};
118/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
119struct gfs2_rindex {
Tao Baod7db5942015-01-28 10:07:51 -0800120 __be64 ri_addr;
121 __be32 ri_length;
122 __u32 __pad;
Ben Cheng655a7c02013-10-16 16:09:24 -0700123/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800124 __be64 ri_data0;
125 __be32 ri_data;
126 __be32 ri_bitbytes;
127 __u8 ri_reserved[64];
Ben Cheng655a7c02013-10-16 16:09:24 -0700128/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
129};
130#define GFS2_NBBY 4
131#define GFS2_BIT_SIZE 2
132#define GFS2_BIT_MASK 0x00000003
133/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
134#define GFS2_BLKST_FREE 0
135#define GFS2_BLKST_USED 1
136#define GFS2_BLKST_UNLINKED 2
137#define GFS2_BLKST_DINODE 3
138/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
139#define GFS2_RGF_JOURNAL 0x00000001
140#define GFS2_RGF_METAONLY 0x00000002
141#define GFS2_RGF_DATAONLY 0x00000004
142#define GFS2_RGF_NOALLOC 0x00000008
143/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
144#define GFS2_RGF_TRIMMED 0x00000010
145struct gfs2_rgrp_lvb {
Tao Baod7db5942015-01-28 10:07:51 -0800146 __be32 rl_magic;
147 __be32 rl_flags;
Ben Cheng655a7c02013-10-16 16:09:24 -0700148/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800149 __be32 rl_free;
150 __be32 rl_dinodes;
151 __be64 rl_igeneration;
152 __be32 rl_unlinked;
Ben Cheng655a7c02013-10-16 16:09:24 -0700153/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800154 __be32 __pad;
Ben Cheng655a7c02013-10-16 16:09:24 -0700155};
156struct gfs2_rgrp {
Tao Baod7db5942015-01-28 10:07:51 -0800157 struct gfs2_meta_header rg_header;
Ben Cheng655a7c02013-10-16 16:09:24 -0700158/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800159 __be32 rg_flags;
160 __be32 rg_free;
161 __be32 rg_dinodes;
162 __be32 __pad;
Ben Cheng655a7c02013-10-16 16:09:24 -0700163/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800164 __be64 rg_igeneration;
165 __u8 rg_reserved[80];
Ben Cheng655a7c02013-10-16 16:09:24 -0700166};
167struct gfs2_quota {
168/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800169 __be64 qu_limit;
170 __be64 qu_warn;
171 __be64 qu_value;
172 __u8 qu_reserved[64];
Ben Cheng655a7c02013-10-16 16:09:24 -0700173/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
174};
175#define GFS2_MAX_META_HEIGHT 10
176#define GFS2_DIR_MAX_DEPTH 17
177#define DT2IF(dt) (((dt) << 12) & S_IFMT)
178/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
179#define IF2DT(sif) (((sif) & S_IFMT) >> 12)
180enum {
Tao Baod7db5942015-01-28 10:07:51 -0800181 gfs2fl_Jdata = 0,
182 gfs2fl_ExHash = 1,
Ben Cheng655a7c02013-10-16 16:09:24 -0700183/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800184 gfs2fl_Unused = 2,
185 gfs2fl_EaIndirect = 3,
186 gfs2fl_Directio = 4,
187 gfs2fl_Immutable = 5,
Ben Cheng655a7c02013-10-16 16:09:24 -0700188/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800189 gfs2fl_AppendOnly = 6,
190 gfs2fl_NoAtime = 7,
191 gfs2fl_Sync = 8,
192 gfs2fl_System = 9,
Ben Cheng655a7c02013-10-16 16:09:24 -0700193/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800194 gfs2fl_TopLevel = 10,
195 gfs2fl_TruncInProg = 29,
196 gfs2fl_InheritDirectio = 30,
197 gfs2fl_InheritJdata = 31,
Ben Cheng655a7c02013-10-16 16:09:24 -0700198/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
199};
200#define GFS2_DIF_JDATA 0x00000001
201#define GFS2_DIF_EXHASH 0x00000002
202#define GFS2_DIF_UNUSED 0x00000004
203/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
204#define GFS2_DIF_EA_INDIRECT 0x00000008
205#define GFS2_DIF_DIRECTIO 0x00000010
206#define GFS2_DIF_IMMUTABLE 0x00000020
207#define GFS2_DIF_APPENDONLY 0x00000040
208/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
209#define GFS2_DIF_NOATIME 0x00000080
210#define GFS2_DIF_SYNC 0x00000100
211#define GFS2_DIF_SYSTEM 0x00000200
212#define GFS2_DIF_TOPDIR 0x00000400
213/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
214#define GFS2_DIF_TRUNC_IN_PROG 0x20000000
215#define GFS2_DIF_INHERIT_DIRECTIO 0x40000000
216#define GFS2_DIF_INHERIT_JDATA 0x80000000
217struct gfs2_dinode {
218/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800219 struct gfs2_meta_header di_header;
220 struct gfs2_inum di_num;
221 __be32 di_mode;
222 __be32 di_uid;
Ben Cheng655a7c02013-10-16 16:09:24 -0700223/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800224 __be32 di_gid;
225 __be32 di_nlink;
226 __be64 di_size;
227 __be64 di_blocks;
Ben Cheng655a7c02013-10-16 16:09:24 -0700228/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800229 __be64 di_atime;
230 __be64 di_mtime;
231 __be64 di_ctime;
232 __be32 di_major;
Ben Cheng655a7c02013-10-16 16:09:24 -0700233/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800234 __be32 di_minor;
235 __be64 di_goal_meta;
236 __be64 di_goal_data;
237 __be64 di_generation;
Ben Cheng655a7c02013-10-16 16:09:24 -0700238/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800239 __be32 di_flags;
240 __be32 di_payload_format;
241 __u16 __pad1;
242 __be16 di_height;
Ben Cheng655a7c02013-10-16 16:09:24 -0700243/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800244 __u32 __pad2;
245 __u16 __pad3;
246 __be16 di_depth;
247 __be32 di_entries;
Ben Cheng655a7c02013-10-16 16:09:24 -0700248/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800249 struct gfs2_inum __pad4;
250 __be64 di_eattr;
251 __be32 di_atime_nsec;
252 __be32 di_mtime_nsec;
Ben Cheng655a7c02013-10-16 16:09:24 -0700253/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800254 __be32 di_ctime_nsec;
255 __u8 di_reserved[44];
Ben Cheng655a7c02013-10-16 16:09:24 -0700256};
257#define GFS2_FNAMESIZE 255
258/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
259#define GFS2_DIRENT_SIZE(name_len) ((sizeof(struct gfs2_dirent) + (name_len) + 7) & ~7)
260struct gfs2_dirent {
Tao Baod7db5942015-01-28 10:07:51 -0800261 struct gfs2_inum de_inum;
262 __be32 de_hash;
Ben Cheng655a7c02013-10-16 16:09:24 -0700263/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800264 __be16 de_rec_len;
265 __be16 de_name_len;
266 __be16 de_type;
267 union {
Ben Cheng655a7c02013-10-16 16:09:24 -0700268/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800269 __u8 __pad[14];
270 struct {
271 __be16 de_rahead;
272 __u8 pad2[12];
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700273/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800274 };
275 };
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700276};
277struct gfs2_leaf {
278/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800279 struct gfs2_meta_header lf_header;
280 __be16 lf_depth;
281 __be16 lf_entries;
282 __be32 lf_dirent_format;
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700283/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800284 __be64 lf_next;
285 union {
286 __u8 lf_reserved[64];
287 struct {
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700288/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800289 __be64 lf_inode;
290 __be32 lf_dist;
291 __be32 lf_nsec;
292 __be64 lf_sec;
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700293/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800294 __u8 lf_reserved2[40];
295 };
296 };
Ben Cheng655a7c02013-10-16 16:09:24 -0700297};
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700298/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700299#define GFS2_EA_MAX_NAME_LEN 255
300#define GFS2_EA_MAX_DATA_LEN 65536
Christopher Ferris38062f92014-07-09 15:33:25 -0700301#define GFS2_EATYPE_UNUSED 0
Ben Cheng655a7c02013-10-16 16:09:24 -0700302#define GFS2_EATYPE_USR 1
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700303/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700304#define GFS2_EATYPE_SYS 2
305#define GFS2_EATYPE_SECURITY 3
Christopher Ferris38062f92014-07-09 15:33:25 -0700306#define GFS2_EATYPE_LAST 3
Ben Cheng655a7c02013-10-16 16:09:24 -0700307#define GFS2_EATYPE_VALID(x) ((x) <= GFS2_EATYPE_LAST)
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700308/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700309#define GFS2_EAFLAG_LAST 0x01
310struct gfs2_ea_header {
Tao Baod7db5942015-01-28 10:07:51 -0800311 __be32 ea_rec_len;
312 __be32 ea_data_len;
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700313/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800314 __u8 ea_name_len;
315 __u8 ea_type;
316 __u8 ea_flags;
317 __u8 ea_num_ptrs;
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700318/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800319 __u32 __pad;
Ben Cheng655a7c02013-10-16 16:09:24 -0700320};
Christopher Ferris38062f92014-07-09 15:33:25 -0700321#define GFS2_LOG_HEAD_UNMOUNT 0x00000001
Ben Cheng655a7c02013-10-16 16:09:24 -0700322struct gfs2_log_header {
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700323/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800324 struct gfs2_meta_header lh_header;
325 __be64 lh_sequence;
326 __be32 lh_flags;
327 __be32 lh_tail;
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700328/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800329 __be32 lh_blkno;
330 __be32 lh_hash;
Christopher Ferris38062f92014-07-09 15:33:25 -0700331};
Ben Cheng655a7c02013-10-16 16:09:24 -0700332#define GFS2_LOG_DESC_METADATA 300
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700333/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700334#define GFS2_LOG_DESC_REVOKE 301
335#define GFS2_LOG_DESC_JDATA 302
Christopher Ferris38062f92014-07-09 15:33:25 -0700336struct gfs2_log_descriptor {
Tao Baod7db5942015-01-28 10:07:51 -0800337 struct gfs2_meta_header ld_header;
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700338/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800339 __be32 ld_type;
340 __be32 ld_length;
341 __be32 ld_data1;
342 __be32 ld_data2;
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700343/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800344 __u8 ld_reserved[32];
Ben Cheng655a7c02013-10-16 16:09:24 -0700345};
Christopher Ferris38062f92014-07-09 15:33:25 -0700346#define GFS2_INUM_QUANTUM 1048576
Ben Cheng655a7c02013-10-16 16:09:24 -0700347struct gfs2_inum_range {
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700348/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800349 __be64 ir_start;
350 __be64 ir_length;
Christopher Ferris38062f92014-07-09 15:33:25 -0700351};
Ben Cheng655a7c02013-10-16 16:09:24 -0700352struct gfs2_statfs_change {
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700353/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800354 __be64 sc_total;
355 __be64 sc_free;
356 __be64 sc_dinodes;
Ben Cheng655a7c02013-10-16 16:09:24 -0700357};
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700358/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700359#define GFS2_QCF_USER 0x00000001
360struct gfs2_quota_change {
Tao Baod7db5942015-01-28 10:07:51 -0800361 __be64 qc_change;
362 __be32 qc_flags;
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700363/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800364 __be32 qc_id;
Ben Cheng655a7c02013-10-16 16:09:24 -0700365};
Christopher Ferris38062f92014-07-09 15:33:25 -0700366struct gfs2_quota_lvb {
Tao Baod7db5942015-01-28 10:07:51 -0800367 __be32 qb_magic;
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700368/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800369 __u32 __pad;
370 __be64 qb_limit;
371 __be64 qb_warn;
372 __be64 qb_value;
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700373/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700374};
375#endif