Lines Matching refs:vfsp
178 mntmount(struct vfs *vfsp, struct vnode *mvp, in mntmount() argument
185 if (secpolicy_fs_mount(cr, mvp, vfsp) != 0) in mntmount()
194 mntzone = zone_find_by_path(refstr_value(vfsp->vfs_mntpt)); in mntmount()
204 vfs_setresource(vfsp, "mnttab", 0); in mntmount()
220 vfsp->vfs_fstype = mntfstype; in mntmount()
221 vfsp->vfs_data = (caddr_t)mnt; in mntmount()
228 vfsp->vfs_dev = makedevice(mnt_major, mnt_minor); in mntmount()
229 } while (vfs_devismounted(vfsp->vfs_dev)); in mntmount()
231 vfs_make_fsid(&vfsp->vfs_fsid, vfsp->vfs_dev, mntfstype); in mntmount()
232 vfsp->vfs_bsize = DEV_BSIZE; in mntmount()
234 MTOV(mnp)->v_vfsp = vfsp; in mntmount()
242 mntunmount(struct vfs *vfsp, int flag, struct cred *cr) in mntunmount() argument
244 mntdata_t *mnt = (mntdata_t *)vfsp->vfs_data; in mntunmount()
247 if (secpolicy_fs_unmount(cr, vfsp) != 0) in mntunmount()
269 mntroot(struct vfs *vfsp, struct vnode **vpp) in mntroot() argument
271 mntnode_t *mnp = &((mntdata_t *)vfsp->vfs_data)->mnt_node; in mntroot()
280 mntstatvfs(struct vfs *vfsp, struct statvfs64 *sp) in mntstatvfs() argument
293 (void) cmpldev(&d32, vfsp->vfs_dev); in mntstatvfs()
296 sp->f_flag = vf_to_stf(vfsp->vfs_flag); in mntstatvfs()