Lines Matching refs:vfssw
100 extern vopstats_t *get_fstype_vopstats(struct vfs *, struct vfssw *);
313 if (ALLOCATED_VFSSW(&vfssw[fstype]) && VFS_INSTALLED(&vfssw[fstype])) in fsop_sync_by_kind()
314 return (*vfssw[fstype].vsw_vfsops.vfs_sync) (NULL, flag, cr); in fsop_sync_by_kind()
405 if (!ALLOCATED_VFSSW(&vfssw[fstype])) in vfs_setfsops()
410 error = fs_copyfsops(template, &vfssw[fstype].vsw_vfsops, &unused_ops); in vfs_setfsops()
415 vfssw[fstype].vsw_flag |= VSW_INSTALLED; in vfs_setfsops()
418 *actual = &vfssw[fstype].vsw_vfsops; in vfs_setfsops()
423 "but not used", vfssw[fstype].vsw_name, unused_ops); in vfs_setfsops()
475 if ((vfssw[fstype].vsw_flag & VSW_INSTALLED) == 0) { in vfs_freevfsops_by_type()
480 vfssw[fstype].vsw_flag &= ~VSW_INSTALLED; in vfs_freevfsops_by_type()
618 struct vfssw *vswp; in vfs_sync()
620 for (vswp = &vfssw[1]; vswp < &vfssw[nfstype]; vswp++) { in vfs_sync()
659 struct vfssw *vsw; in vfs_mountdevices()
737 struct vfssw *vsw; in vfs_mountdev1()
844 struct vfssw *vswp; in vfs_mountroot()
989 vfssw_t *vfssw; in lofi_add() local
993 if ((vfssw = vfs_getvfssw(fsname)) == NULL) in lofi_add()
996 if (!(vfssw->vsw_flag & VSW_CANLOFI)) { in lofi_add()
997 vfs_unrefvfssw(vfssw); in lofi_add()
1001 vfs_unrefvfssw(vfssw); in lofi_add()
1002 vfssw = NULL; in lofi_add()
1112 struct vfssw *vswp; in domount()
1184 !ALLOCATED_VFSSW(&vfssw[fstype])) { in domount()
1188 (void) strcpy(fsname, vfssw[fstype].vsw_name); in domount()
3865 struct vfssw *
3868 struct vfssw *vswp; in allocate_vfssw()
3881 for (vswp = &vfssw[1]; vswp < &vfssw[nfstype]; vswp++) in allocate_vfssw()
3916 struct vfssw *
3919 struct vfssw *vswp; in vfs_getvfssw()
3978 struct vfssw *
3981 struct vfssw *vswp; in vfs_getvfsswbyname()
3987 for (vswp = &vfssw[1]; vswp < &vfssw[nfstype]; vswp++) { in vfs_getvfsswbyname()
4000 struct vfssw *
4003 struct vfssw *vswp; in vfs_getvfsswbyvfsops()
4006 for (vswp = &vfssw[1]; vswp < &vfssw[nfstype]; vswp++) { in vfs_getvfsswbyvfsops()
4022 vfs_refvfssw(struct vfssw *vswp) in vfs_refvfssw()
4034 vfs_unrefvfssw(struct vfssw *vswp) in vfs_unrefvfssw()
4185 struct vfssw *vswp; in vfsinit()
4252 for (vswp = &vfssw[1]; vswp < &vfssw[nfstype]; vswp++) { in vfsinit()
4255 (void) (*vswp->vsw_init)(vswp - vfssw, vswp->vsw_name); in vfsinit()
4515 struct vfssw *vsw; in rootconf()