+#if CONFIG_FIRMLINKS
+ vnode_t v_fmlink; /* firmlink if set (VDIR only), Points to source
+ * if VFLINKTARGET is set, if VFLINKTARGET is not
+ * set, points to target */
+#endif /* CONFIG_FIRMLINKS */
#define VISDIRTY 0x4000000 /* vnode will need IO if reclaimed */
#define VFASTDEVCANDIDATE 0x8000000 /* vnode is a candidate to store on a fast device */
#define VAUTOCANDIDATE 0x10000000 /* vnode was automatically marked as a fast-dev candidate */
#define VISDIRTY 0x4000000 /* vnode will need IO if reclaimed */
#define VFASTDEVCANDIDATE 0x8000000 /* vnode is a candidate to store on a fast device */
#define VAUTOCANDIDATE 0x10000000 /* vnode was automatically marked as a fast-dev candidate */
int vn_authorize_create(vnode_t, struct componentname *, struct vnode_attr *, vfs_context_t, void*);
int vn_attribute_prepare(vnode_t dvp, struct vnode_attr *vap, uint32_t *defaulted_fieldsp, vfs_context_t ctx);
void vn_attribute_cleanup(struct vnode_attr *vap, uint32_t defaulted_fields);
int vn_authorize_create(vnode_t, struct componentname *, struct vnode_attr *, vfs_context_t, void*);
int vn_attribute_prepare(vnode_t dvp, struct vnode_attr *vap, uint32_t *defaulted_fieldsp, vfs_context_t ctx);
void vn_attribute_cleanup(struct vnode_attr *vap, uint32_t defaulted_fields);
int vn_authorize_rename(struct vnode *fdvp, struct vnode *fvp, struct componentname *fcnp,
struct vnode *tdvp, struct vnode *tvp, struct componentname *tcnp,
vfs_context_t ctx, void *reserved);
int vn_authorize_rename(struct vnode *fdvp, struct vnode *fvp, struct componentname *fcnp,
struct vnode *tdvp, struct vnode *tvp, struct componentname *tcnp,
vfs_context_t ctx, void *reserved);
void vnode_setneedinactive(vnode_t);
int vnode_hasnamedstreams(vnode_t); /* Does this vnode have associated named streams? */
void vnode_setneedinactive(vnode_t);
int vnode_hasnamedstreams(vnode_t); /* Does this vnode have associated named streams? */
errno_t
vnode_readdir64(struct vnode *vp, struct uio *uio, int flags, int *eofflag,
int *numdirent, vfs_context_t ctxp);
errno_t
vnode_readdir64(struct vnode *vp, struct uio *uio, int flags, int *eofflag,
int *numdirent, vfs_context_t ctxp);
int build_path_with_parent(vnode_t, vnode_t /* parent */, char *, int, int *, int, vfs_context_t);
int build_path_with_parent(vnode_t, vnode_t /* parent */, char *, int, int *, int, vfs_context_t);