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

Subversion Repositories or1k

[/] [or1k/] [tags/] [LINUX_2_4_26_OR32/] [linux/] [linux-2.4/] [include/] [linux/] [smb_fs_i.h] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1275 phoenix
/*
2
 *  smb_fs_i.h
3
 *
4
 *  Copyright (C) 1995 by Paal-Kr. Engstad and Volker Lendecke
5
 *  Copyright (C) 1997 by Volker Lendecke
6
 *
7
 */
8
 
9
#ifndef _LINUX_SMB_FS_I
10
#define _LINUX_SMB_FS_I
11
 
12
#ifdef __KERNEL__
13
#include <linux/types.h>
14
 
15
/*
16
 * smb fs inode data (in memory only)
17
 */
18
struct smb_inode_info {
19
 
20
        /*
21
         * file handles are local to a connection. A file is open if
22
         * (open == generation).
23
         */
24
        unsigned int open;      /* open generation */
25
        __u16 fileid;           /* What id to handle a file with? */
26
        __u16 attr;             /* Attribute fields, DOS value */
27
 
28
        __u16 access;           /* Access mode */
29
        __u16 flags;
30
        unsigned long oldmtime; /* last time refreshed */
31
        unsigned long closed;   /* timestamp when closed */
32
        unsigned openers;       /* number of fileid users */
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.