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