Lines Matching refs:xp
140 null_hashins(mp, xp) in null_hashins() argument
142 struct null_node *xp;
148 hd = NULL_NHASH(xp->null_lowervp);
151 if (oxp->null_lowervp == xp->null_lowervp &&
163 LIST_INSERT_HEAD(hd, xp, null_hash);
169 null_destroy_proto(struct vnode *vp, void *xp) in null_destroy_proto() argument
180 free(xp, M_NULLFSNODE); in null_destroy_proto()
184 null_insmntque_dtr(struct vnode *vp, void *xp) in null_insmntque_dtr() argument
187 vput(((struct null_node *)xp)->null_lowervp); in null_insmntque_dtr()
188 null_destroy_proto(vp, xp); in null_insmntque_dtr()
205 struct null_node *xp; local
241 xp = malloc(sizeof(struct null_node), M_NULLFSNODE, M_WAITOK);
246 free(xp, M_NULLFSNODE);
250 xp->null_vnode = vp;
251 xp->null_lowervp = lowervp;
252 xp->null_flags = 0;
254 vp->v_data = xp;
256 error = insmntque1(vp, mp, null_insmntque_dtr, xp);
263 *vpp = null_hashins(mp, xp);
266 null_destroy_proto(vp, xp);
278 null_hashrem(xp) in null_hashrem() argument
279 struct null_node *xp; in null_hashrem()
283 LIST_REMOVE(xp, null_hash);