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

Subversion Repositories or1k_old

[/] [or1k_old/] [trunk/] [rc203soc/] [sw/] [uClinux/] [include/] [linux/] [affs_fs_i.h] - Blame information for rev 1782

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1633 jcastillo
#ifndef _AFFS_FS_I
2
#define _AFFS_FS_I
3
 
4
#define EXT_CACHE_SIZE  12
5
#define MAX_PREALLOC    8       /* MUST be a power of 2 */
6
 
7
/*
8
 * affs fs inode data in memory
9
 */
10
struct affs_inode_info {
11
        __u32   i_protect;              /* unused attribute bits */
12
        __s32   i_parent;               /* parent ino */
13
        __s32   i_original;             /* if != 0, this is the key of the original */
14
        __s32   i_ext[EXT_CACHE_SIZE];  /* extension block numbers */
15
        __s32   i_data[MAX_PREALLOC];   /* preallocated blocks */
16
        int     i_lastblock;            /* last allocated block */
17
        short   i_max_ext;              /* last known extension block */
18
        short   i_pa_cnt;               /* number of preallocated blocks */
19
        short   i_pa_next;              /* Index of next block in i_data[] */
20
        short   i_pa_last;              /* Index of next free slot in i_data[] */
21
        short   i_zone;                 /* write zone */
22
        unsigned char i_hlink;          /* This is a fake */
23
        unsigned char i_pad;
24
};
25
 
26
#endif

powered by: WebSVN 2.1.0

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