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 __u32 bigdirstartname; 22 __u32 bigdirnamelen; 23 __u32 bigdirsize; 24 __u32 bigdirentries; 25 __u32 bigdirnamesize; 26 __u32 bigdirparent; 27 char bigdirname[1]; 28 }; 29 30 struct adfs_bigdirentry { 31 __u32 bigdirload; 32 __u32 bigdirexec; 33 __u32 bigdirlen; 34 __u32 bigdirindaddr; 35 __u32 bigdirattr; 36 __u32 bigdirobnamelen; 37 __u32 bigdirobnameptr; 38 }; 39 40 struct adfs_bigdirtail { 41 __u32 bigdirendname; 42 __u8 bigdirendmasseq; 43 __u8 reserved[2]; 44 __u8 bigdircheckbyte; 45 }; 46