Lines Matching refs:vfsp
217 ctfs_mount(vfs_t *vfsp, vnode_t *mvp, struct mounta *uap, cred_t *cr) in ctfs_mount() argument
224 if (secpolicy_fs_mount(cr, mvp, vfsp) != 0) in ctfs_mount()
239 vfsp->vfs_bsize = DEV_BSIZE; in ctfs_mount()
240 vfsp->vfs_fstype = ctfs_fstype; in ctfs_mount()
245 vfs_make_fsid(&vfsp->vfs_fsid, dev, ctfs_fstype); in ctfs_mount()
246 vfsp->vfs_data = data; in ctfs_mount()
247 vfsp->vfs_dev = dev; in ctfs_mount()
267 vfsp, ctfs_ops_root, CTFS_INO_ROOT, dirent, ctfs_root_do_inode, in ctfs_mount()
279 ctfs_unmount(vfs_t *vfsp, int flag, struct cred *cr) in ctfs_unmount() argument
283 if (secpolicy_fs_unmount(cr, vfsp) != 0) in ctfs_unmount()
297 ASSERT(vfsp->vfs_count >= 2); in ctfs_unmount()
303 data = vfsp->vfs_data; in ctfs_unmount()
325 ctfs_root(vfs_t *vfsp, vnode_t **vpp) in ctfs_root() argument
329 vp = ((ctfs_vfs_t *)vfsp->vfs_data)->ctvfs_root; in ctfs_root()
340 ctfs_statvfs(vfs_t *vfsp, statvfs64_t *sp) in ctfs_statvfs() argument
352 (void) cmpldev(&d32, vfsp->vfs_dev); in ctfs_statvfs()
354 (void) strlcpy(sp->f_basetype, vfssw[vfsp->vfs_fstype].vsw_name, in ctfs_statvfs()
356 sp->f_flag = vf_to_stf(vfsp->vfs_flag); in ctfs_statvfs()