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