/illumos-gate/usr/src/uts/common/os/ |
H A D | vfs_conf.c | 58 struct vfssw vfssw[] = { variable 97 const int nfstype = (sizeof (vfssw) / sizeof (vfssw[0]));
|
H A D | tlabel.c | 344 if (strncmp(vfssw[rvfsp->vfs_fstype].vsw_name, "nfs", 3) == 0) in getflabel() 352 if ((strcmp(vfssw[rvfsp->vfs_fstype].vsw_name, in getflabel() 376 if (strncmp(vfssw[rvfsp->vfs_fstype].vsw_name, "zfs", 3) == 0) { in getflabel() 475 if (strncmp(vfssw[nvfs->vfs_fstype].vsw_name, in getflabel()
|
H A D | swapgeneric.c | 78 static struct vfssw *getfstype(char *, char *, size_t); 124 struct vfssw *vsw; in rootconf() 292 struct vfssw *vsw; in loadrootmodules() 584 static struct vfssw * 587 struct vfssw *vsw; in getfstype()
|
H A D | modconf.c | 922 struct vfssw *vswp; in mod_infofs() 928 *p0 = vswp - vfssw; in mod_infofs() 942 struct vfssw *vswp; in mod_installfs() 994 fstype = vswp - vfssw; /* Pointer arithmetic to get the fstype */ in mod_installfs() 1045 (void) strlcat(ksname, vfssw[fstype].vsw_name, sizeof (ksname)); in mod_installfs() 1060 struct vfssw *vswp; in mod_removefs()
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | sysfs.c | 86 struct vfssw *vswp; in sysfsind() 103 retval = vswp - vfssw; in sysfsind() 118 struct vfssw *vswp; in sysfstyp() 125 vswp = &vfssw[index]; in sysfstyp()
|
H A D | stat.c | 196 struct vfssw *vswp; in cstat() 246 vswp = &vfssw[vp->v_vfsp->vfs_fstype]; in cstat() 326 struct vfssw *vswp; in cstat32() 369 vswp = &vfssw[vp->v_vfsp->vfs_fstype]; in cstat32() 453 struct vfssw *vswp; in cstat64() 477 vswp = &vfssw[vp->v_vfsp->vfs_fstype]; in cstat64() 564 struct vfssw *vswp; in cstat64_32() 596 vswp = &vfssw[vp->v_vfsp->vfs_fstype]; in cstat64_32()
|
H A D | statfs.c | 117 struct vfssw *vswp; in cstatfs() 153 sfs.f_fstyp = vswp - vfssw; in cstatfs()
|
/illumos-gate/usr/src/lib/smbclnt/libfksmbfs/common/ |
H A D | fake_vfs.c | 114 struct vfssw vfssw[10] = { variable 248 if (ALLOCATED_VFSSW(&vfssw[fstype]) && VFS_INSTALLED(&vfssw[fstype])) in fsop_sync_by_kind() 249 return (*vfssw[fstype].vsw_vfsops.vfs_sync) (NULL, flag, cr); in fsop_sync_by_kind() 316 if (!ALLOCATED_VFSSW(&vfssw[fstype])) in vfs_setfsops() 321 error = fs_copyfsops(template, &vfssw[fstype].vsw_vfsops, &unused_ops); in vfs_setfsops() 326 vfssw[fstype].vsw_flag |= VSW_INSTALLED; in vfs_setfsops() 329 *actual = &vfssw[fstype].vsw_vfsops; in vfs_setfsops() 334 "but not used", vfssw[fstype].vsw_name, unused_ops); in vfs_setfsops() 386 if ((vfssw[fstype].vsw_flag & VSW_INSTALLED) == 0) { in vfs_freevfsops_by_type() 391 vfssw[fstype].vsw_flag &= ~VSW_INSTALLED; in vfs_freevfsops_by_type() [all …]
|
H A D | fake_modconf.c | 79 struct vfssw *vswp; in fake_installfs() 108 fstype = vswp - vfssw; /* Pointer arithmetic to get the fstype */ in fake_installfs() 159 struct vfssw *vswp; in fake_removefs()
|
H A D | fake_stat.c | 65 struct vfssw *vswp; in fake_stat() 89 vswp = &vfssw[vp->v_vfsp->vfs_fstype]; in fake_stat()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | vfs.h | 381 typedef struct vfssw { struct 534 struct vfssw *allocate_vfssw(const char *); 535 struct vfssw *vfs_getvfssw(const char *); 536 struct vfssw *vfs_getvfsswbyname(const char *); 537 struct vfssw *vfs_getvfsswbyvfsops(vfsops_t *); 538 void vfs_refvfssw(struct vfssw *); 539 void vfs_unrefvfssw(struct vfssw *); 566 extern struct vfssw vfssw[]; /* table of filesystem types */
|
/illumos-gate/usr/src/ucbhead/sys/ |
H A D | vfs.h | 170 typedef struct vfssw { struct 173 int (*vsw_init)(struct vfssw *, int); argument 192 struct vfssw *vfs_getvfssw(char *); argument 218 extern struct vfssw vfssw[]; /* table of filesystem types */
|
/illumos-gate/usr/src/uts/common/fs/ |
H A D | vfs.c | 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() [all …]
|
H A D | fsflush.c | 362 struct vfssw *vswp; in fsflush() 477 for (vswp = &vfssw[1]; vswp < &vfssw[nfstype]; vswp++) { in fsflush() 481 (void) fsop_sync_by_kind(vswp - vfssw, in fsflush()
|
/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/ |
H A D | fake_vfs.c | 56 static struct vfssw fake_vfssw = { 142 struct vfssw * 152 vfs_unrefvfssw(struct vfssw *vswp) in vfs_unrefvfssw()
|
/illumos-gate/usr/src/uts/common/sys/fs/ |
H A D | fifonode.h | 165 struct vfssw;
|
H A D | snode.h | 140 struct vfssw;
|
/illumos-gate/usr/src/uts/common/cpr/ |
H A D | cpr_misc.c | 1073 fsname = vfssw[vfsp->vfs_fstype].vsw_name; in cpr_is_ufs() 1082 fsname = vfssw[vfsp->vfs_fstype].vsw_name; in cpr_is_zfs() 1111 fsname = vfssw[vfsp->vfs_fstype].vsw_name; in cpr_reusable_mount_check()
|
/illumos-gate/usr/src/uts/common/fs/objfs/ |
H A D | objfs_vfs.c | 257 (void) strlcpy(sp->f_basetype, vfssw[vfsp->vfs_fstype].vsw_name, in objfs_statvfs()
|
/illumos-gate/usr/src/uts/common/fs/sharefs/ |
H A D | sharefs_vfsops.c | 283 (void) strlcpy(sp->f_basetype, vfssw[vfsp->vfs_fstype].vsw_name, in sharefs_statvfs()
|
/illumos-gate/usr/src/uts/common/fs/mntfs/ |
H A D | mntvfsops.c | 295 (void) strcpy(sp->f_basetype, vfssw[mntfstype].vsw_name); in mntstatvfs()
|
/illumos-gate/usr/src/uts/common/fs/proc/ |
H A D | prvfsops.c | 319 (void) strcpy(sp->f_basetype, vfssw[procfstype].vsw_name); in prstatvfs()
|
/illumos-gate/usr/src/uts/common/fs/ctfs/ |
H A D | ctfs_root.c | 354 (void) strlcpy(sp->f_basetype, vfssw[vfsp->vfs_fstype].vsw_name, in ctfs_statvfs()
|
/illumos-gate/usr/src/uts/common/fs/devfs/ |
H A D | devfs_vfsops.c | 293 (void) strcpy(sbp->f_basetype, vfssw[devfstype].vsw_name); in devfs_statvfs()
|
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | vfs.c | 98 struct vfssw vfssw_entry; in read_fsname() 116 vfssw_sym.st_value + (sizeof (struct vfssw) * vfs.vfs_fstype)) in read_fsname()
|