Deleted Added
full compact
ntfs_inode.h (105077) ntfs_inode.h (130585)
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 105077 2002-10-14 03:20:36Z mckusick $
28 * $FreeBSD: head/sys/fs/ntfs/ntfs_inode.h 130585 2004-06-16 09:47:26Z phk $
29 */
30
31/* These flags are kept in i_flag. */
32#define IN_ACCESS 0x0001 /* Access time update request. */
33#define IN_CHANGE 0x0002 /* Inode change time update request. */
34#define IN_UPDATE 0x0004 /* Modification time update request. */
35#define IN_MODIFIED 0x0008 /* Inode has been modified. */
36#define IN_RENAME 0x0010 /* Inode is being renamed. */
37#define IN_SHLOCK 0x0020 /* File has shared lock. */
38#define IN_EXLOCK 0x0040 /* File has exclusive lock. */
39#define IN_LAZYMOD 0x0080 /* Modified, but don't write yet. */
40#define IN_HASHED 0x0800 /* Inode is on hash list */
41#define IN_LOADED 0x8000 /* ntvattrs loaded */
42#define IN_PRELOADED 0x4000 /* loaded from directory entry */
43
44struct ntnode {
45 struct vnode *i_devvp; /* vnode of blk dev we live on */
29 */
30
31/* These flags are kept in i_flag. */
32#define IN_ACCESS 0x0001 /* Access time update request. */
33#define IN_CHANGE 0x0002 /* Inode change time update request. */
34#define IN_UPDATE 0x0004 /* Modification time update request. */
35#define IN_MODIFIED 0x0008 /* Inode has been modified. */
36#define IN_RENAME 0x0010 /* Inode is being renamed. */
37#define IN_SHLOCK 0x0020 /* File has shared lock. */
38#define IN_EXLOCK 0x0040 /* File has exclusive lock. */
39#define IN_LAZYMOD 0x0080 /* Modified, but don't write yet. */
40#define IN_HASHED 0x0800 /* Inode is on hash list */
41#define IN_LOADED 0x8000 /* ntvattrs loaded */
42#define IN_PRELOADED 0x4000 /* loaded from directory entry */
43
44struct ntnode {
45 struct vnode *i_devvp; /* vnode of blk dev we live on */
46 dev_t i_dev; /* Device associated with the inode. */
46 struct cdev *i_dev; /* Device associated with the inode. */
47
48 LIST_ENTRY(ntnode) i_hash;
49 struct ntnode *i_next;
50 struct ntnode **i_prev;
51 struct ntfsmount *i_mp;
52 ino_t i_number;
53 u_int32_t i_flag;
54

--- 47 unchanged lines hidden ---
47
48 LIST_ENTRY(ntnode) i_hash;
49 struct ntnode *i_next;
50 struct ntnode **i_prev;
51 struct ntfsmount *i_mp;
52 ino_t i_number;
53 u_int32_t i_flag;
54

--- 47 unchanged lines hidden ---