Lines Matching full:mp
123 struct mount *mp;
135 * variables will fit in our mp buffers, including the
168 mp = vfs_mount_alloc(vp, vfsp, fspath, vp->v_mount->mnt_cred);
170 mp->mnt_optnew = NULL;
171 vfs_setmntopt(mp, "from", fspec, 0);
172 mp->mnt_optnew = mp->mnt_opt;
173 mp->mnt_opt = NULL;
178 mp->mnt_flag = fsflags & MNT_UPDATEMASK;
182 mp->mnt_flag |= MNT_RDONLY;
187 mp->mnt_flag |= MNT_NOSUID;
192 mp->mnt_flag |= MNT_IGNORE;
194 error = VFS_MOUNT(mp);
208 vfs_unbusy(mp);
209 vfs_freeopts(mp->mnt_optnew);
210 mp->mnt_vnodecovered = NULL;
211 vfs_mount_destroy(mp);
215 if (mp->mnt_opt != NULL)
216 vfs_freeopts(mp->mnt_opt);
217 mp->mnt_opt = mp->mnt_optnew;
218 (void) VFS_STATFS(mp, &mp->mnt_stat);
224 vfs_exjail_clone(parent_vfsp, mp);
231 mp->mnt_optnew = NULL;
242 vp->v_mountedhere = mp;
246 TAILQ_INSERT_TAIL(&mountlist, mp, mnt_list);
249 if (VFS_ROOT(mp, LK_EXCLUSIVE, &mvp))
253 vfs_op_exit(mp);
254 vfs_unbusy(mp);