Deleted Added
full compact
ntfs_inode.h (60833) ntfs_inode.h (60938)
1/* $NetBSD: ntfs_inode.h,v 1.8 1999/10/31 19:45:26 jdolecek Exp $ */
2
3/*-
4 * Copyright (c) 1998, 1999 Semen Ustimenko
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 11 unchanged lines hidden (view full) ---

20 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26 * SUCH DAMAGE.
27 *
1/* $NetBSD: ntfs_inode.h,v 1.8 1999/10/31 19:45:26 jdolecek Exp $ */
2
3/*-
4 * Copyright (c) 1998, 1999 Semen Ustimenko
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 11 unchanged lines hidden (view full) ---

20 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26 * SUCH DAMAGE.
27 *
28 * $FreeBSD: head/sys/fs/ntfs/ntfs_inode.h 60833 2000-05-23 20:41:01Z jake $
28 * $FreeBSD: head/sys/fs/ntfs/ntfs_inode.h 60938 2000-05-26 02:09:24Z jake $
29 */
30
31/* These flags are kept in i_flag. */
32#if defined(__FreeBSD__)
33#define IN_ACCESS 0x0001 /* Access time update request. */
34#define IN_CHANGE 0x0002 /* Inode change time update request. */
35#define IN_UPDATE 0x0004 /* Modification time update request. */
36#define IN_MODIFIED 0x0008 /* Inode has been modified. */

--- 18 unchanged lines hidden (view full) ---

55#define IN_HASHED 0x0800 /* Inode is on hash list */
56#define IN_LOADED 0x8000 /* ntvattrs loaded */
57#define IN_PRELOADED 0x4000 /* loaded from directory entry */
58
59struct ntnode {
60 struct vnode *i_devvp; /* vnode of blk dev we live on */
61 dev_t i_dev; /* Device associated with the inode. */
62
29 */
30
31/* These flags are kept in i_flag. */
32#if defined(__FreeBSD__)
33#define IN_ACCESS 0x0001 /* Access time update request. */
34#define IN_CHANGE 0x0002 /* Inode change time update request. */
35#define IN_UPDATE 0x0004 /* Modification time update request. */
36#define IN_MODIFIED 0x0008 /* Inode has been modified. */

--- 18 unchanged lines hidden (view full) ---

55#define IN_HASHED 0x0800 /* Inode is on hash list */
56#define IN_LOADED 0x8000 /* ntvattrs loaded */
57#define IN_PRELOADED 0x4000 /* loaded from directory entry */
58
59struct ntnode {
60 struct vnode *i_devvp; /* vnode of blk dev we live on */
61 dev_t i_dev; /* Device associated with the inode. */
62
63 LIST_ENTRY(struct ntnode) i_hash;
63 LIST_ENTRY(ntnode) i_hash;
64 struct ntnode *i_next;
65 struct ntnode **i_prev;
66 struct ntfsmount *i_mp;
67 ino_t i_number;
68 u_int32_t i_flag;
69
70 /* locking */
71 struct lock i_lock;
72 struct simplelock i_interlock;
73 int i_usecount;
74
64 struct ntnode *i_next;
65 struct ntnode **i_prev;
66 struct ntfsmount *i_mp;
67 ino_t i_number;
68 u_int32_t i_flag;
69
70 /* locking */
71 struct lock i_lock;
72 struct simplelock i_interlock;
73 int i_usecount;
74
75 LIST_HEAD(, struct fnode) i_fnlist;
76 LIST_HEAD(, struct ntvattr) i_valist;
75 LIST_HEAD(,fnode) i_fnlist;
76 LIST_HEAD(,ntvattr) i_valist;
77
78 long i_nlink; /* MFR */
79 ino_t i_mainrec; /* MFR */
80 u_int32_t i_frflag; /* MFR */
81};
82
83#define FN_PRELOADED 0x0001
84#define FN_VALID 0x0002
85#define FN_AATTRNAME 0x0004 /* space allocated for f_attrname */
86struct fnode {
87#ifdef __FreeBSD__
88 struct lock f_lock; /* fnode lock >Keep this first< */
89#endif
90
77
78 long i_nlink; /* MFR */
79 ino_t i_mainrec; /* MFR */
80 u_int32_t i_frflag; /* MFR */
81};
82
83#define FN_PRELOADED 0x0001
84#define FN_VALID 0x0002
85#define FN_AATTRNAME 0x0004 /* space allocated for f_attrname */
86struct fnode {
87#ifdef __FreeBSD__
88 struct lock f_lock; /* fnode lock >Keep this first< */
89#endif
90
91 LIST_ENTRY(struct fnode) f_fnlist;
91 LIST_ENTRY(fnode) f_fnlist;
92 struct vnode *f_vp; /* Associatied vnode */
93 struct ntnode *f_ip; /* Associated ntnode */
94 u_long f_flag;
95
96 ntfs_times_t f_times; /* $NAME/dirinfo */
97 ino_t f_pnumber; /* $NAME/dirinfo */
98 u_int32_t f_fflag; /* $NAME/dirinfo */
99 u_int64_t f_size; /* defattr/dirinfo: */

--- 21 unchanged lines hidden ---
92 struct vnode *f_vp; /* Associatied vnode */
93 struct ntnode *f_ip; /* Associated ntnode */
94 u_long f_flag;
95
96 ntfs_times_t f_times; /* $NAME/dirinfo */
97 ino_t f_pnumber; /* $NAME/dirinfo */
98 u_int32_t f_fflag; /* $NAME/dirinfo */
99 u_int64_t f_size; /* defattr/dirinfo: */

--- 21 unchanged lines hidden ---