diff options
author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 18:20:36 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 18:20:36 -0400 |
commit | 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (patch) | |
tree | 0bba044c4ce775e45a88a51686b5d9f90697ea9d /fs/adfs/dir_fplus.h |
Linux-2.6.12-rc2v2.6.12-rc2
Initial git repository build. I'm not bothering with the full history,
even though we have it. We can create a separate "historical" git
archive of that later if we want to, and in the meantime it's about
3.2GB when imported into git - space that would just make the early
git days unnecessarily complicated, when we don't have a lot of good
infrastructure for it.
Let it rip!
Diffstat (limited to 'fs/adfs/dir_fplus.h')
-rw-r--r-- | fs/adfs/dir_fplus.h | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/fs/adfs/dir_fplus.h b/fs/adfs/dir_fplus.h new file mode 100644 index 000000000000..b55aa41a68fe --- /dev/null +++ b/fs/adfs/dir_fplus.h | |||
@@ -0,0 +1,45 @@ | |||
1 | /* | ||
2 | * linux/fs/adfs/dir_fplus.h | ||
3 | * | ||
4 | * Copyright (C) 1999 Russell King | ||
5 | * | ||
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. | ||
9 | * | ||
10 | * Structures of directories on the F+ format disk | ||
11 | */ | ||
12 | |||
13 | #define ADFS_FPLUS_NAME_LEN 255 | ||
14 | |||
15 | #define BIGDIRSTARTNAME ('S' | 'B' << 8 | 'P' << 16 | 'r' << 24) | ||
16 | #define BIGDIRENDNAME ('o' | 'v' << 8 | 'e' << 16 | 'n' << 24) | ||
17 | |||
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]; | ||
28 | }; | ||
29 | |||
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; | ||
38 | }; | ||
39 | |||
40 | struct adfs_bigdirtail { | ||
41 | __le32 bigdirendname; | ||
42 | __u8 bigdirendmasseq; | ||
43 | __u8 reserved[2]; | ||
44 | __u8 bigdircheckbyte; | ||
45 | }; | ||