Lines Matching defs:vfsp
183 sharefs_mount(vfs_t *vfsp, vnode_t *mvp, struct mounta *uap, cred_t *cr)
188 if (secpolicy_fs_mount(cr, mvp, vfsp) != 0)
200 vfsp->vfs_bsize = DEV_BSIZE;
201 vfsp->vfs_fstype = sharefs_fstype;
206 vfs_make_fsid(&vfsp->vfs_fsid, dev, sharefs_fstype);
207 vfsp->vfs_data = data;
208 vfsp->vfs_dev = dev;
213 data->sharefs_vfs_root = sharefs_create_root_file(vfsp);
219 sharefs_unmount(vfs_t *vfsp, int flag, struct cred *cr)
223 if (secpolicy_fs_unmount(cr, vfsp) != 0)
236 ASSERT(vfsp->vfs_count >= 2);
241 data = vfsp->vfs_data;
266 sharefs_root(vfs_t *vfsp, vnode_t **vpp)
268 sharefs_vfs_t *data = vfsp->vfs_data;
277 sharefs_statvfs(vfs_t *vfsp, statvfs64_t *sp)
287 (void) cmpldev(&d32, vfsp->vfs_dev);
289 (void) strlcpy(sp->f_basetype, vfssw[vfsp->vfs_fstype].vsw_name,
291 sp->f_flag = vf_to_stf(vfsp->vfs_flag);