Lines Matching refs:xp
183 bind_hashins(struct mount * mp, struct bind_node * xp, struct vnode ** vpp) in bind_hashins() argument
191 hd = BIND_NHASH(xp->bind_lowervp); in bind_hashins()
195 if (oxp->bind_lowervp == xp->bind_lowervp && vnode_mount(BINDTOV(oxp)) == mp) { in bind_hashins()
213 LIST_INSERT_HEAD(hd, xp, bind_hash); in bind_hashins()
214 xp->bind_flags |= BIND_FLAG_HASHED; in bind_hashins()
235 bind_hashrem(struct bind_node * xp) in bind_hashrem() argument
237 if (xp->bind_flags & BIND_FLAG_HASHED) { in bind_hashrem()
239 LIST_REMOVE(xp, bind_hash); in bind_hashrem()
247 struct bind_node * xp; in bind_nodecreate() local
249 xp = kalloc_type(struct bind_node, Z_WAITOK | Z_ZERO | Z_NOFAIL); in bind_nodecreate()
251 xp->bind_lowervp = lowervp; in bind_nodecreate()
252 xp->bind_lowervid = vnode_vid(lowervp); in bind_nodecreate()
254 return xp; in bind_nodecreate()
265 struct bind_node * xp = bind_nodecreate(lowervp); in bind_getnewvnode() local
267 if (xp == NULL) { in bind_getnewvnode()
279 vnfs_param.vnfs_fsnode = (void *)xp; in bind_getnewvnode()
290 xp->bind_vnode = *vpp; in bind_getnewvnode()
291 xp->bind_myvid = vnode_vid(*vpp); in bind_getnewvnode()
294 kfree_type(struct bind_node, xp); in bind_getnewvnode()