1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * linux/fs/adfs/dir_fplus.h
5 * Copyright (C) 1999 Russell King
7 * Structures of directories on the F+ format disk
10 #define ADFS_FPLUS_NAME_LEN 255
12 #define BIGDIRSTARTNAME ('S' | 'B' << 8 | 'P' << 16 | 'r' << 24)
13 #define BIGDIRENDNAME ('o' | 'v' << 8 | 'e' << 16 | 'n' << 24)
15 struct adfs_bigdirheader {
17 __u8 bigdirversion[3];
18 __le32 bigdirstartname;
22 __le32 bigdirnamesize;
25 } __attribute__((packed, aligned(4)));
27 struct adfs_bigdirentry {
33 __le32 bigdirobnamelen;
34 __le32 bigdirobnameptr;
35 } __attribute__((packed, aligned(4)));
37 struct adfs_bigdirtail {
42 } __attribute__((packed, aligned(4)));