Lines Matching defs:vfssw

96 extern vopstats_t	*get_fstype_vopstats(struct vfs *, struct vfssw *);
306 if (ALLOCATED_VFSSW(&vfssw[fstype]) && VFS_INSTALLED(&vfssw[fstype]))
307 return (*vfssw[fstype].vsw_vfsops.vfs_sync) (NULL, flag, cr);
378 if (!ALLOCATED_VFSSW(&vfssw[fstype]))
383 error = fs_copyfsops(template, &vfssw[fstype].vsw_vfsops, &unused_ops);
388 vfssw[fstype].vsw_flag |= VSW_INSTALLED;
391 *actual = &vfssw[fstype].vsw_vfsops;
396 "but not used", vfssw[fstype].vsw_name, unused_ops);
432 * Since the vfsops structure is part of the vfssw table and wasn't
448 if ((vfssw[fstype].vsw_flag & VSW_INSTALLED) == 0) {
453 vfssw[fstype].vsw_flag &= ~VSW_INSTALLED;
591 struct vfssw *vswp;
593 for (vswp = &vfssw[1]; vswp < &vfssw[nfstype]; vswp++) {
616 krwlock_t vfssw_lock; /* lock accesses to vfssw */
632 struct vfssw *vsw;
646 * _init devfs module to fill in the vfssw
710 struct vfssw *vsw;
724 * _init dev module to fill in the vfssw
816 struct vfssw *vswp;
987 vfssw_t *vfssw;
991 if ((vfssw = vfs_getvfssw(fsname)) == NULL)
994 if (!(vfssw->vsw_flag & VSW_CANLOFI)) {
995 vfs_unrefvfssw(vfssw);
999 vfs_unrefvfssw(vfssw);
1000 vfssw = NULL;
1111 struct vfssw *vswp;
1154 * A side effect is to hold the vfssw entry.
1183 !ALLOCATED_VFSSW(&vfssw[fstype])) {
1187 (void) strcpy(fsname, vfssw[fstype].vsw_name);
1441 * explicitly allows it in its vfssw. Ignore other flags.
3862 * Allocate an entry in vfssw for a file system type
3864 struct vfssw *
3867 struct vfssw *vswp;
3871 * The vfssw table uses the empty string to identify an
3880 for (vswp = &vfssw[1]; vswp < &vfssw[nfstype]; vswp++)
3911 * Find a vfssw entry given a file system type name.
3913 * If it's installed, return the vfssw locked to prevent unloading.
3915 struct vfssw *
3918 struct vfssw *vswp;
3928 * _init won't be called until later. Allocate vfssw entry,
3975 * Find a vfssw entry given a file system type name.
3977 struct vfssw *
3980 struct vfssw *vswp;
3986 for (vswp = &vfssw[1]; vswp < &vfssw[nfstype]; vswp++) {
3997 * Find a vfssw entry given a set of vfsops.
3999 struct vfssw *
4002 struct vfssw *vswp;
4005 for (vswp = &vfssw[1]; vswp < &vfssw[nfstype]; vswp++) {
4018 * Reference a vfssw entry.
4021 vfs_refvfssw(struct vfssw *vswp)
4030 * Unreference a vfssw entry.
4033 vfs_unrefvfssw(struct vfssw *vswp)
4218 struct vfssw *vswp;
4283 for (vswp = &vfssw[1]; vswp < &vfssw[nfstype]; vswp++) {
4286 (*vswp->vsw_init)(vswp - vfssw, vswp->vsw_name);
4546 struct vfssw *vsw;