Lines Matching full:vnode
44 #include <sys/vnode.h>
54 * Each cache entry holds a reference to the lower vnode
55 * along with a pointer to the alias vnode. When an
56 * entry is added the lower vnode is VREF'd. When the
57 * alias is removed the lower vnode is vrele'd.
99 * Return a VREF'ed alias for lower vnode if already exists, else 0.
100 * Lower vnode should be locked on entry and will be left locked on exit.
102 static struct vnode *
103 null_hashget_locked(struct mount *mp, struct vnode *lowervp) in null_hashget_locked()
107 struct vnode *vp; in null_hashget_locked()
115 * the lower vnode. If found, the increment the null_node in null_hashget_locked()
116 * reference count (but NOT the lower vnode's VREF counter). in null_hashget_locked()
138 struct vnode *
139 null_hashget(struct mount *mp, struct vnode *lowervp) in null_hashget()
143 struct vnode *vp; in null_hashget()
155 * See null_hashget_locked as to why the nullfs vnode can't be in null_hashget()
188 ("vnode already in hash")); in null_hashins()
196 null_destroy_proto(struct vnode *vp, void *xp) in null_destroy_proto()
212 * Vp is the alias vnode, lowervp is the lower vnode.
216 * the caller's "spare" reference to created nullfs vnode.
219 null_nodeget(struct mount *mp, struct vnode *lowervp, struct vnode **vpp) in null_nodeget()
222 struct vnode *vp; in null_nodeget()
236 * We do not serialize vnode creation, instead we will check for in null_nodeget()
237 * duplicates later, when adding new vnode to hash. in null_nodeget()
271 * We might miss the case where lower vnode sets VIRF_PGREAD in null_nodeget()
320 struct vnode *
321 null_checkvp(struct vnode *vp, char *fil, int lno) in null_checkvp()