Lines Matching refs:vfsp
123 prinitrootnode(prnode_t *pnp, vfs_t *vfsp) in prinitrootnode() argument
132 VN_SET_VFS_TYPE_DEV(vp, vfsp, VDIR, 0); in prinitrootnode()
191 prmount(struct vfs *vfsp, struct vnode *mvp, in prmount() argument
197 if (secpolicy_fs_mount(cr, mvp, vfsp) != 0) in prmount()
206 mntzone = zone_find_by_path(refstr_value(vfsp->vfs_mntpt)); in prmount()
214 vfs_setresource(vfsp, "proc", 0); in prmount()
229 prinitrootnode(pnp, vfsp); in prmount()
230 vfsp->vfs_fstype = procfstype; in prmount()
231 vfsp->vfs_data = (caddr_t)pnp; in prmount()
232 vfsp->vfs_bsize = DEV_BSIZE; in prmount()
238 vfsp->vfs_dev = makedevice(procfs_major, procfs_minor); in prmount()
240 } while (vfs_devismounted(vfsp->vfs_dev)); in prmount()
242 vfs_make_fsid(&vfsp->vfs_fsid, vfsp->vfs_dev, procfstype); in prmount()
250 prunmount(struct vfs *vfsp, int flag, struct cred *cr) in prunmount() argument
252 prnode_t *pnp = (prnode_t *)vfsp->vfs_data; in prunmount()
256 if (secpolicy_fs_unmount(cr, vfsp) != 0) { in prunmount()
290 prroot(struct vfs *vfsp, struct vnode **vpp) in prroot() argument
292 vnode_t *vp = PTOV((prnode_t *)vfsp->vfs_data); in prroot()
300 prstatvfs(struct vfs *vfsp, struct statvfs64 *sp) in prstatvfs() argument
317 (void) cmpldev(&d32, vfsp->vfs_dev); in prstatvfs()
320 sp->f_flag = vf_to_stf(vfsp->vfs_flag); in prstatvfs()