-#define NOCROSSMOUNT 0x00000100 /* do not cross mount points */
-#define RDONLY 0x00000200 /* lookup with read-only semantics */
-#define HASBUF 0x00000400 /* has allocated pathname buffer */
-#define SAVENAME 0x00000800 /* save pathanme buffer */
-#define SAVESTART 0x00001000 /* save starting directory */
-#define ISSYMLINK 0x00010000 /* symlink needs interpretation */
-#define DONOTAUTH 0x00020000 /* do not authorize during lookup */
-#define WILLBEDIR 0x00080000 /* new files will be dirs; allow trailing / */
-#define AUDITVNPATH1 0x00100000 /* audit the path/vnode info */
-#define AUDITVNPATH2 0x00200000 /* audit the path/vnode info */
-#define USEDVP 0x00400000 /* start the lookup at ndp.ni_dvp */
-#define PARAMASK 0x003fff00 /* mask of parameter descriptors */
-#define FSNODELOCKHELD 0x01000000
+#define SAVENAME 0 /* save pathanme buffer ***obsolete */
+#define NOCROSSMOUNT 0x00000100 /* do not cross mount points */
+#define RDONLY 0x00000200 /* lookup with read-only semantics */
+#define HASBUF 0x00000400 /* has allocated pathname buffer */
+#define DONOTAUTH 0x00000800 /* do not authorize during lookup */
+#define SAVESTART 0x00001000 /* save starting directory */
+/* public ISDOTDOT 0x00002000 see vnode.h */
+/* public MAKEENTRY 0x00004000 see vnode.h */
+/* public ISLASTCN 0x00008000 see vnode.h */
+#define ISSYMLINK 0x00010000 /* symlink needs interpretation */
+/* public ISWHITEOUT 0x00020000 see vnode.h */
+/* public DOWHITEOUT 0x00040000 see vnode.h */
+#define WILLBEDIR 0x00080000 /* new files will be dirs; allow trailing / */
+#define AUDITVNPATH1 0x00100000 /* audit the path/vnode info */
+#define AUDITVNPATH2 0x00200000 /* audit the path/vnode info */
+#define USEDVP 0x00400000 /* start the lookup at ndp.ni_dvp */
+#define CN_VOLFSPATH 0x00800000 /* user path was a volfs style path */
+#define CN_FIRMLINK_NOFOLLOW 0x01000000 /* Do not follow firm links */
+#define UNIONCREATED 0x02000000 /* union fs creation of vnode */
+#if NAMEDRSRCFORK
+#define CN_WANTSRSRCFORK 0x04000000
+#define CN_ALLOWRSRCFORK 0x08000000
+#endif // NAMEDRSRCFORK
+// CN_SECLUDE_RENAME is defined above as 0x10000000 (SPI)
+#define CN_NBMOUNTLOOK 0x20000000 /* do not block for cross mount lookups */
+#ifdef BSD_KERNEL_PRIVATE
+#define CN_SKIPNAMECACHE 0x40000000 /* skip cache during lookup(), allow FS to handle all components */
+#endif
+// CN_RAW_ENCRYPTED is defined above as 0x80000000 (SPI)