1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * linux/fs/adfs/dir_f.h
5 * Copyright (C) 1999 Russell King
7 * Structures of directories on the F format disk
15 struct adfs_dirheader
{
16 unsigned char startmasseq
;
17 unsigned char startname
[4];
20 #define ADFS_NEWDIR_SIZE 2048
21 #define ADFS_NUM_DIR_ENTRIES 77
26 struct adfs_direntry
{
27 #define ADFS_F_NAME_LEN 10
28 char dirobname
[ADFS_F_NAME_LEN
];
32 __u8 dirinddiscadd
[3];
41 unsigned char dirlastmask
;
43 unsigned char dirparent
[3];
45 unsigned char reserved
[14];
46 unsigned char endmasseq
;
47 unsigned char endname
[4];
48 unsigned char dircheckbyte
;
51 unsigned char dirlastmask
;
52 unsigned char reserved
[2];
53 unsigned char dirparent
[3];
56 unsigned char endmasseq
;
57 unsigned char endname
[4];
58 unsigned char dircheckbyte
;