Merge branch 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild
[linux/fpc-iii.git] / fs / adfs / dir_fplus.h
blobb55aa41a68fec866d1091e0b941434bc173ca15a
1 /*
2 * linux/fs/adfs/dir_fplus.h
4 * Copyright (C) 1999 Russell King
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
10 * Structures of directories on the F+ format disk
13 #define ADFS_FPLUS_NAME_LEN 255
15 #define BIGDIRSTARTNAME ('S' | 'B' << 8 | 'P' << 16 | 'r' << 24)
16 #define BIGDIRENDNAME ('o' | 'v' << 8 | 'e' << 16 | 'n' << 24)
18 struct adfs_bigdirheader {
19 __u8 startmasseq;
20 __u8 bigdirversion[3];
21 __le32 bigdirstartname;
22 __le32 bigdirnamelen;
23 __le32 bigdirsize;
24 __le32 bigdirentries;
25 __le32 bigdirnamesize;
26 __le32 bigdirparent;
27 char bigdirname[1];
30 struct adfs_bigdirentry {
31 __le32 bigdirload;
32 __le32 bigdirexec;
33 __le32 bigdirlen;
34 __le32 bigdirindaddr;
35 __le32 bigdirattr;
36 __le32 bigdirobnamelen;
37 __le32 bigdirobnameptr;
40 struct adfs_bigdirtail {
41 __le32 bigdirendname;
42 __u8 bigdirendmasseq;
43 __u8 reserved[2];
44 __u8 bigdircheckbyte;