Lines Matching refs:mp
120 synthfs_mount_fs(struct mount *mp, vnode_t devvp, __unused user_addr_t data, struct proc *p)
130 strlcpy(mp->mnt_vfsstat.f_fstypename, synthfs_fs_name, sizeof(mp->mnt_vfsstat.f_fstypename));
131 strlcpy(mp->mnt_vfsstat.f_mntfromname, synthfs_fake_mntfromname, sizeof(mp->mnt_vfsstat.f_mntfromname));
143 error = synthfs_new_directory(mp, NULL, "", ROOT_DIRID, (S_IRWXU|S_IRWXG|S_IROTH|S_IXOTH), p, &priv_mnt_data->synthfs_rootvp);
150 priv_mnt_data->synthfs_mp = mp;
151 mp->mnt_data = (void *)priv_mnt_data;
163 synthfs_mount(mp, devvp, data, context)
164 register struct mount *mp;
171 return (synthfs_mount_fs(mp, devvp, data, vfs_context_proc(context)));
191 synthfs_start(mp, flags, context)
192 struct mount * mp;
204 synthfs_root(mp, vpp, context)
205 struct mount *mp;
213 *vpp = VFSTOSFS(mp)->synthfs_rootvp;
214 return vnode_get(VFSTOSFS(mp)->synthfs_rootvp);
221 synthfs_unmount(mp, mntflags, context)
222 struct mount *mp;
231 synth = (struct synthfs_mntdata *)mp->mnt_data;
234 retval = vflush(mp, root_vp, (mntflags & MNT_FORCE) ? FORCECLOSE : 0);
262 mp->mnt_data = NULL;
276 synthfs_vfs_getattr(mount_t mp, struct vfs_attr *fsap, vfs_context_t context)
278 struct synthfs_mntdata *synthfs_mp = VFSTOSFS(mp);
299 synthfs_sync(mp, waitfor, context)
300 struct mount *mp;
311 synthfs_vget(mp, ino, vpp, context)
312 struct mount *mp;
323 if (mp->mnt_kern_flag & MNTK_UNMOUNT) {
329 TAILQ_FOREACH(vp, &mp->mnt_vnodelist, v_mntvnodes) {
368 synthfs_fhtovp(mp, fhlen, fhp, vpp, context)
369 register struct mount *mp;