Lines Matching refs:mp
498 mount_t mp; /* mount table entry */
773 if ((dp->v_type == VDIR) && (mp = dp->v_mountedhere)) {
776 mp->mnt_crossref++;
780 if (vfs_busy(mp, vbusyflags)) {
781 mount_dropcrossref(mp, dp, 0);
802 error = VFS_ROOT(mp, &tdp, ctx);
809 mount_dropcrossref(mp, dp, 1);
811 vfs_unbusy(mp);
834 mp = mounted_on_dp->v_mountedhere;
836 if (mp) {
837 mount_lock(mp);
838 mp->mnt_realrootvp_vid = dp->v_id;
839 mp->mnt_realrootvp = dp;
840 mp->mnt_generation = current_mount_generation;
841 mount_unlock(mp);
1303 struct mount *mp = NULL;
1321 mp = mount_lookupby_volfsid(id, 1);
1322 if (mp == NULL) {
1336 error = VFS_ROOT(mp, &vp, ctx);
1338 error = VFS_VGET(mp, ino, &vp, ctx);
1340 vfs_unbusy(mp);