Lines Matching refs:vfsp
65 bootfs_mount(vfs_t *vfsp, vnode_t *mvp, struct mounta *uap, cred_t *cr) in bootfs_mount() argument
72 if ((ret = secpolicy_fs_mount(cr, mvp, vfsp)) != 0) in bootfs_mount()
95 vfs_setresource(vfsp, bootfs_name, 0); in bootfs_mount()
121 bfs->bfs_vfsp = vfsp; in bootfs_mount()
123 vfsp->vfs_data = (caddr_t)bfs; in bootfs_mount()
124 vfsp->vfs_fstype = bootfs_fstype; in bootfs_mount()
125 vfsp->vfs_dev = fsdev; in bootfs_mount()
126 vfsp->vfs_bsize = PAGESIZE; in bootfs_mount()
127 vfsp->vfs_flag |= VFS_RDONLY | VFS_NOSETUID | VFS_NOTRUNC | in bootfs_mount()
129 vfs_make_fsid(&vfsp->vfs_fsid, fsdev, bootfs_fstype); in bootfs_mount()
156 bootfs_unmount(vfs_t *vfsp, int flag, cred_t *cr) in bootfs_unmount() argument
159 bootfs_t *bfs = vfsp->vfs_data; in bootfs_unmount()
162 if ((ret = secpolicy_fs_unmount(cr, vfsp)) != 0) in bootfs_unmount()
188 bootfs_root(vfs_t *vfsp, vnode_t **vpp) in bootfs_root() argument
192 bfs = (bootfs_t *)vfsp->vfs_data; in bootfs_root()
200 bootfs_statvfs(vfs_t *vfsp, struct statvfs64 *sbp) in bootfs_statvfs() argument
202 const bootfs_t *bfs = (bootfs_t *)vfsp; in bootfs_statvfs()
217 (void) cmpldev(&d32, vfsp->vfs_dev); in bootfs_statvfs()