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