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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rc203soc/] [sw/] [uClinux/] [include/] [linux/] [ncp_fs_i.h] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1633 jcastillo
/*
2
 *  ncp_fs_i.h
3
 *
4
 *  Copyright (C) 1995 Volker Lendecke
5
 *
6
 */
7
 
8
#ifndef _LINUX_NCP_FS_I
9
#define _LINUX_NCP_FS_I
10
 
11
#include <linux/ncp.h>
12
 
13
#ifdef __KERNEL__
14
 
15
enum ncp_inode_state {
16
        NCP_INODE_VALID = 19,   /* Inode currently in use */
17
        NCP_INODE_LOOKED_UP,    /* directly before iget */
18
        NCP_INODE_CACHED,       /* in a path to an inode which is in use */
19
        NCP_INODE_INVALID
20
};
21
 
22
/*
23
 * ncp fs inode data (in memory only)
24
 */
25
struct ncp_inode_info {
26
        enum ncp_inode_state state;
27
        int nused;              /* for directories:
28
                                   number of references in memory */
29
        struct ncp_inode_info *dir;
30
        struct ncp_inode_info *next, *prev;
31
        struct inode *inode;
32
        struct nw_file_info finfo;
33
};
34
 
35
#endif
36
#endif

powered by: WebSVN 2.1.0

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