Lines Matching refs:vfsp

232 tmp_mount(vfs_t *vfsp, vnode_t *mvp, struct mounta *uap, cred_t *cr)  in tmp_mount()  argument
245 if ((error = secpolicy_fs_mount(cr, mvp, vfsp)) != 0) in tmp_mount()
262 vfs_setresource(vfsp, "swap", 0); in tmp_mount()
269 if (vfs_optionisset(vfsp, MNTOPT_RO, NULL)) { in tmp_mount()
278 if (vfs_optionisset(vfsp, "size", &argstr)) { in tmp_mount()
289 if (vfs_optionisset(vfsp, "mode", &argstr)) { in tmp_mount()
301 tm = (struct tmount *)VFSTOTM(vfsp); in tmp_mount()
338 tm->tm_vfsp = vfsp; in tmp_mount()
341 vfsp->vfs_data = (caddr_t)tm; in tmp_mount()
342 vfsp->vfs_fstype = tmpfsfstype; in tmp_mount()
343 vfsp->vfs_dev = tm->tm_dev; in tmp_mount()
344 vfsp->vfs_bsize = PAGESIZE; in tmp_mount()
345 vfsp->vfs_flag |= VFS_NOTRUNC; in tmp_mount()
346 vfs_make_fsid(&vfsp->vfs_fsid, tm->tm_dev, tmpfsfstype); in tmp_mount()
405 vfs_set_feature(vfsp, VFSFT_SYSATTR_VIEWS); in tmp_mount()
411 tmp_unmount(struct vfs *vfsp, int flag, struct cred *cr) in tmp_unmount() argument
413 struct tmount *tm = (struct tmount *)VFSTOTM(vfsp); in tmp_unmount()
418 if ((error = secpolicy_fs_unmount(cr, vfsp)) != 0) in tmp_unmount()
554 tmp_root(struct vfs *vfsp, struct vnode **vpp) in tmp_root() argument
556 struct tmount *tm = (struct tmount *)VFSTOTM(vfsp); in tmp_root()
569 tmp_statvfs(struct vfs *vfsp, struct statvfs64 *sbp) in tmp_statvfs() argument
571 struct tmount *tm = (struct tmount *)VFSTOTM(vfsp); in tmp_statvfs()
659 (void) cmpldev(&d32, vfsp->vfs_dev); in tmp_statvfs()
667 sbp->f_flag = vf_to_stf(vfsp->vfs_flag); in tmp_statvfs()
673 tmp_vget(struct vfs *vfsp, struct vnode **vpp, struct fid *fidp) in tmp_vget() argument
676 struct tmount *tm = (struct tmount *)VFSTOTM(vfsp); in tmp_vget()