Home
last modified time | relevance | path

Searched refs:vfssw (Results 1 – 25 of 49) sorted by relevance

12

/titanic_44/usr/src/uts/common/os/
H A Dvfs_conf.c61 struct vfssw vfssw[] = { variable
100 const int nfstype = (sizeof (vfssw) / sizeof (vfssw[0]));
H A Dtlabel.c344 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 Dswapgeneric.c78 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 Dmodconf.c919 struct vfssw *vswp; in mod_infofs()
925 *p0 = vswp - vfssw; in mod_infofs()
939 struct vfssw *vswp; in mod_installfs()
991 fstype = vswp - vfssw; /* Pointer arithmetic to get the fstype */ in mod_installfs()
1042 (void) strlcat(ksname, vfssw[fstype].vsw_name, sizeof (ksname)); in mod_installfs()
1057 struct vfssw *vswp; in mod_removefs()
/titanic_44/usr/src/uts/common/syscall/
H A Dsysfs.c88 struct vfssw *vswp; in sysfsind()
105 retval = vswp - vfssw; in sysfsind()
120 struct vfssw *vswp; in sysfstyp()
127 vswp = &vfssw[index]; in sysfstyp()
H A Dstat.c196 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 Dstatfs.c119 struct vfssw *vswp; in cstatfs()
155 sfs.f_fstyp = vswp - vfssw; in cstatfs()
/titanic_44/usr/src/lib/libbc/inc/include/sys/
H A Dvfs.h128 struct vfssw { struct
142 extern struct vfssw *getfstype(); /* find default filesystem type */ argument
160 extern struct vfssw vfssw[]; /* table of filesystem types */
161 extern struct vfssw *vfsNVFS; /* vfs switch table end marker */
/titanic_44/usr/src/uts/common/sys/
H A Dvfs.h389 typedef struct vfssw { struct
542 struct vfssw *allocate_vfssw(const char *);
543 struct vfssw *vfs_getvfssw(const char *);
544 struct vfssw *vfs_getvfsswbyname(const char *);
545 struct vfssw *vfs_getvfsswbyvfsops(vfsops_t *);
546 void vfs_refvfssw(struct vfssw *);
547 void vfs_unrefvfssw(struct vfssw *);
574 extern struct vfssw vfssw[]; /* table of filesystem types */
/titanic_44/usr/src/ucbhead/sys/
H A Dvfs.h172 typedef struct vfssw { struct
175 int (*vsw_init)(struct vfssw *, int); argument
194 struct vfssw *vfs_getvfssw(char *); argument
220 extern struct vfssw vfssw[]; /* table of filesystem types */
/titanic_44/usr/src/uts/common/fs/
H A Dvfs.c98 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()
385 if (!ALLOCATED_VFSSW(&vfssw[fstype])) in vfs_setfsops()
390 error = fs_copyfsops(template, &vfssw[fstype].vsw_vfsops, &unused_ops); in vfs_setfsops()
395 vfssw[fstype].vsw_flag |= VSW_INSTALLED; in vfs_setfsops()
398 *actual = &vfssw[fstype].vsw_vfsops; in vfs_setfsops()
403 "but not used", vfssw[fstype].vsw_name, unused_ops); in vfs_setfsops()
455 if ((vfssw[fstype].vsw_flag & VSW_INSTALLED) == 0) { in vfs_freevfsops_by_type()
460 vfssw[fstype].vsw_flag &= ~VSW_INSTALLED; in vfs_freevfsops_by_type()
[all …]
H A Dfsflush.c362 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()
/titanic_44/usr/src/lib/smbsrv/libfksmbsrv/common/
H A Dfake_vfs.c126 struct vfssw *
134 vfs_unrefvfssw(struct vfssw *vswp) in vfs_unrefvfssw()
/titanic_44/usr/src/uts/common/sys/fs/
H A Dfifonode.h165 struct vfssw;
H A Dsnode.h142 struct vfssw;
/titanic_44/usr/src/uts/common/cpr/
H A Dcpr_misc.c1071 fsname = vfssw[vfsp->vfs_fstype].vsw_name; in cpr_is_ufs()
1080 fsname = vfssw[vfsp->vfs_fstype].vsw_name; in cpr_is_zfs()
1109 fsname = vfssw[vfsp->vfs_fstype].vsw_name; in cpr_reusable_mount_check()
/titanic_44/usr/src/uts/common/fs/objfs/
H A Dobjfs_vfs.c257 (void) strlcpy(sp->f_basetype, vfssw[vfsp->vfs_fstype].vsw_name, in objfs_statvfs()
/titanic_44/usr/src/uts/common/fs/sharefs/
H A Dsharefs_vfsops.c289 (void) strlcpy(sp->f_basetype, vfssw[vfsp->vfs_fstype].vsw_name, in sharefs_statvfs()
/titanic_44/usr/src/uts/common/fs/mntfs/
H A Dmntvfsops.c295 (void) strcpy(sp->f_basetype, vfssw[mntfstype].vsw_name); in mntstatvfs()
H A Dmntvnops.c287 vfssw[vfsp->vfs_fstype].vsw_name); in mntfs_populate_text()
336 size += strlen(vfssw[vfsp->vfs_fstype].vsw_name) + 1; in mntfs_text_len()
610 if (strcmp(vfssw[dummyvfs.vfs_fstype].vsw_name, "zfs") in mntfs_snapshot()
/titanic_44/usr/src/uts/common/fs/proc/
H A Dprvfsops.c319 (void) strcpy(sp->f_basetype, vfssw[procfstype].vsw_name); in prstatvfs()
/titanic_44/usr/src/uts/common/fs/ctfs/
H A Dctfs_root.c354 (void) strlcpy(sp->f_basetype, vfssw[vfsp->vfs_fstype].vsw_name, in ctfs_statvfs()
/titanic_44/usr/src/uts/common/fs/devfs/
H A Ddevfs_vfsops.c293 (void) strcpy(sbp->f_basetype, vfssw[devfstype].vsw_name); in devfs_statvfs()
/titanic_44/usr/src/uts/common/fs/dev/
H A Dsdev_vfsops.c460 (void) strcpy(sbp->f_basetype, vfssw[devtype].vsw_name); in sdev_statvfs()
/titanic_44/usr/src/cmd/mdb/common/modules/genunix/
H A Dvfs.c98 struct vfssw vfssw_entry; in read_fsname()
116 vfssw_sym.st_value + (sizeof (struct vfssw) * vfs.vfs_fstype)) in read_fsname()

12