Lines Matching refs:vp
96 struct vnode *vp;
139 result = vnode_create(VNCREATE_FLAVOR, VCREATESIZE, &vfsp, &vp);
146 vnode_ref(vp);
148 sp->s_vp = vp;
155 *vpp = vp;
162 int synthfs_remove_entry(struct vnode *vp) {
163 struct synthfsnode *sp = VTOS(vp);
210 struct vnode *vp;
213 result = synthfs_newnode(mp, dp, name, nodeid, mode, p, VDIR, &vp);
217 sp = VTOS(vp);
229 *vpp = vp;
236 int synthfs_remove_directory(struct vnode *vp) {
237 struct synthfsnode *sp = VTOS(vp);
243 vnode_rele(vp);
246 return synthfs_remove_entry(vp); /* Do whatever standard cleanup is required */
262 struct vnode *vp;
265 result = synthfs_newnode(mp, dp, name, nodeid, 0, p, VLNK, &vp);
268 sp = VTOS(vp);
279 *vpp = vp;
286 int synthfs_remove_symlink(struct vnode *vp) {
287 struct synthfsnode *sp = VTOS(vp);
290 vnode_rele(vp);
293 return synthfs_remove_entry(vp); /* Do whatever standard cleanup is required */