Lines Matching defs:vfsp
64 umount2_engine(vfs_t *vfsp, int flag, cred_t *cr, int is_syscall)
85 vfs_lock_wait(vfsp);
90 * Note that vfsp->vfs_vnodecovered can be NULL here, either because
98 if (vn_vfswlock(vfsp->vfs_vnodecovered)) {
99 vfs_unlock(vfsp);
100 VFS_RELE(vfsp);
108 vfs_unlock(vfsp);
109 VFS_RELE(vfsp);
114 if ((error = dounmount(vfsp, flag, cr)) != 0)
126 struct vfs *vfsp;
160 (vfsp = vfs_mntpoint2vfsp(pn.pn_path)) == NULL) {
177 vfsp = fsrootvp->v_vfsp;
178 VFS_HOLD(vfsp);
180 vfsp = vfs_dev2vfsp(fsrootvp->v_rdev);
182 vfsp = NULL;
186 if (vfsp == NULL) {
193 return (umount2_engine(vfsp, flag, CRED(), 1));