OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [uclinux/] [uClinux-2.0.x/] [include/] [linux/] [xia_fs_sb.h] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 199 simons
#ifndef _XIA_FS_SB_H
2
#define _XIA_FS_SB_H
3
 
4
/*
5
 * include/linux/xia_fs_sb.h
6
 *
7
 * Copyright (C) Q. Frank Xia, 1993.
8
 *
9
 * Based on Linus' minix_fs_sb.h.
10
 * Copyright (C) Linus Torvalds, 1991, 1992.
11
 */
12
 
13
#define _XIAFS_IMAP_SLOTS 8
14
#define _XIAFS_ZMAP_SLOTS 32
15
 
16
struct xiafs_sb_info {
17
    u_long   s_nzones;
18
    u_long   s_ninodes;
19
    u_long   s_ndatazones;
20
    u_long   s_imap_zones;
21
    u_long   s_zmap_zones;
22
    u_long   s_firstdatazone;
23
    u_long   s_zone_shift;
24
    u_long   s_max_size;                                /*  32 bytes */
25
    struct buffer_head * s_imap_buf[_XIAFS_IMAP_SLOTS]; /*  32 bytes */
26
    struct buffer_head * s_zmap_buf[_XIAFS_ZMAP_SLOTS]; /* 128 bytes */
27
    int      s_imap_iznr[_XIAFS_IMAP_SLOTS];            /*  32 bytes */
28
    int      s_zmap_zznr[_XIAFS_ZMAP_SLOTS];            /* 128 bytes */
29
    u_char   s_imap_cached;                     /* flag for cached imap */
30
    u_char   s_zmap_cached;                     /* flag for cached imap */
31
};
32
 
33
#endif /* _XIA_FS_SB_H */
34
 
35
 
36
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.