summaryrefslogtreecommitdiffstats
path: root/include/linux/xia_fs_sb.h
blob: 1166ae9650f9e79eb3636857dc210aabac56633b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#ifndef _XIA_FS_SB_H
#define _XIA_FS_SB_H

/*
 * include/linux/xia_fs_sb.h
 *
 * Copyright (C) Q. Frank Xia, 1993.
 *
 * Based on Linus' minix_fs_sb.h.
 * Copyright (C) Linus Torvalds, 1991, 1992.
 */

#define _XIAFS_IMAP_SLOTS 8
#define _XIAFS_ZMAP_SLOTS 32

struct xiafs_sb_info {
    u_long   s_nzones;
    u_long   s_ninodes;
    u_long   s_ndatazones;
    u_long   s_imap_zones;
    u_long   s_zmap_zones;
    u_long   s_firstdatazone;
    u_long   s_zone_shift;
    u_long   s_max_size;				/*  32 bytes */
    struct buffer_head * s_imap_buf[_XIAFS_IMAP_SLOTS];	/*  32 bytes */
    struct buffer_head * s_zmap_buf[_XIAFS_ZMAP_SLOTS];	/* 128 bytes */
    int      s_imap_iznr[_XIAFS_IMAP_SLOTS];		/*  32 bytes */
    int      s_zmap_zznr[_XIAFS_ZMAP_SLOTS];		/* 128 bytes */
    u_char   s_imap_cached;			/* flag for cached imap */
    u_char   s_zmap_cached;			/* flag for cached imap */
};

#endif /* _XIA_FS_SB_H */