ntfs_inode.h (44142) | ntfs_inode.h (45879) |
---|---|
1/*- 2 * Copyright (c) 1998, 1999 Semen Ustimenko 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 41 unchanged lines hidden (view full) --- 50#define IN_WANTED 0x0200 /* Inode is wanted by a process. */ 51#define IN_RECURSE 0x0400 /* Recursion expected */ 52#endif 53 54#define IN_LOADED 0x8000 /* ntvattrs loaded */ 55#define IN_PRELOADED 0x4000 /* loaded from directory entry */ 56 57struct ntnode { | 1/*- 2 * Copyright (c) 1998, 1999 Semen Ustimenko 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 41 unchanged lines hidden (view full) --- 50#define IN_WANTED 0x0200 /* Inode is wanted by a process. */ 51#define IN_RECURSE 0x0400 /* Recursion expected */ 52#endif 53 54#define IN_LOADED 0x8000 /* ntvattrs loaded */ 55#define IN_PRELOADED 0x4000 /* loaded from directory entry */ 56 57struct ntnode { |
58 LIST_ENTRY(ntnode) i_hash; | 58 LIST_ENTRY(ntnode) i_hash; |
59 struct ntnode *i_next; 60 struct ntnode **i_prev; | 59 struct ntnode *i_next; 60 struct ntnode **i_prev; |
61 struct ntfsmount *i_mp; | 61 struct ntfsmount *i_mp; |
62 ino_t i_number; 63 dev_t i_dev; 64 u_int32_t i_flag; | 62 ino_t i_number; 63 dev_t i_dev; 64 u_int32_t i_flag; |
65 int i_lock; |
|
65 int i_usecount; 66 | 66 int i_usecount; 67 |
67 LIST_HEAD(,fnode) i_fnlist; 68 struct ntvattr *i_vattrp; /* ntvattrs list */ | 68 LIST_HEAD(,fnode) i_fnlist; 69 LIST_HEAD(,ntvattr) i_valist; |
69 70 long i_nlink; /* MFR */ 71 ino_t i_mainrec; /* MFR */ 72 u_int32_t i_frflag; /* MFR */ 73 74 uid_t i_uid; 75 gid_t i_gid; 76 mode_t i_mode; 77}; 78 79#define FN_PRELOADED 0x0001 | 70 71 long i_nlink; /* MFR */ 72 ino_t i_mainrec; /* MFR */ 73 u_int32_t i_frflag; /* MFR */ 74 75 uid_t i_uid; 76 gid_t i_gid; 77 mode_t i_mode; 78}; 79 80#define FN_PRELOADED 0x0001 |
80#define FN_DEFAULT 0x0002 | 81#define FN_VALID 0x0002 |
81#define FN_AATTRNAME 0x0004 /* space allocated for f_attrname */ 82struct fnode { 83 struct lock f_lock; /* Must be first */ 84 85 LIST_ENTRY(fnode) f_fnlist; 86 struct vnode *f_vp; /* Associatied vnode */ 87 struct ntnode *f_ip; 88 u_long f_flag; --- 22 unchanged lines hidden --- | 82#define FN_AATTRNAME 0x0004 /* space allocated for f_attrname */ 83struct fnode { 84 struct lock f_lock; /* Must be first */ 85 86 LIST_ENTRY(fnode) f_fnlist; 87 struct vnode *f_vp; /* Associatied vnode */ 88 struct ntnode *f_ip; 89 u_long f_flag; --- 22 unchanged lines hidden --- |