Searched refs:vfssw (Results 1 - 25 of 47) sorted by relevance

12

/opensolaris-onvv-gate/usr/src/uts/common/os/
H A Dvfs_conf.c55 * NFS server gets upgraded to new kernel version with different vfssw
61 struct vfssw vfssw[] = { variable in typeref:struct:vfssw
100 const int nfstype = (sizeof (vfssw) / sizeof (vfssw[0]));
H A Dtlabel.c344 if (strncmp(vfssw[rvfsp->vfs_fstype].vsw_name, "nfs", 3) == 0)
352 if ((strcmp(vfssw[rvfsp->vfs_fstype].vsw_name,
376 if (strncmp(vfssw[rvfsp->vfs_fstype].vsw_name, "zfs", 3) == 0) {
475 if (strncmp(vfssw[nvfs->vfs_fstype].vsw_name,
H A Dswapgeneric.c78 static struct vfssw *getfstype(char *, char *, size_t);
124 struct vfssw *vsw;
339 struct vfssw *vsw;
650 static struct vfssw *
653 struct vfssw *vsw;
H A Dmodconf.c919 struct vfssw *vswp;
925 *p0 = vswp - vfssw;
939 struct vfssw *vswp;
943 int fstype; /* index into vfssw[] and vsanchor_fstype[] */
981 * we either need to make the vfssw table bigger
984 cmn_err(CE_WARN, "no room for '%s' in vfssw!", fsname);
991 fstype = vswp - vfssw; /* Pointer arithmetic to get the fstype */
1012 * set the VSW_STATS flag in the proper vfssw[] table entry.
1032 /* We don't want to hold the vfssw[] write lock over a kmem_alloc() */
1042 (void) strlcat(ksname, vfssw[fstyp
[all...]
/opensolaris-onvv-gate/usr/src/uts/common/syscall/
H A Dsysfs.c86 * Translate fs identifier to an index into the vfssw structure.
88 struct vfssw *vswp;
101 * Search the vfssw table for the fs identifier
105 retval = vswp - vfssw;
120 struct vfssw *vswp;
127 vswp = &vfssw[index];
H A Dstat.c196 struct vfssw *vswp;
246 vswp = &vfssw[vp->v_vfsp->vfs_fstype];
326 struct vfssw *vswp;
369 vswp = &vfssw[vp->v_vfsp->vfs_fstype];
453 struct vfssw *vswp;
477 vswp = &vfssw[vp->v_vfsp->vfs_fstype];
564 struct vfssw *vswp;
596 vswp = &vfssw[vp->v_vfsp->vfs_fstype];
H A Dstatfs.c119 struct vfssw *vswp;
155 sfs.f_fstyp = vswp - vfssw;
/opensolaris-onvv-gate/usr/src/lib/libbc/inc/include/sys/
H A Dvfs.h128 struct vfssw { struct
142 extern struct vfssw *getfstype(); /* find default filesystem type */
160 extern struct vfssw vfssw[]; /* table of filesystem types */
161 extern struct vfssw *vfsNVFS; /* vfs switch table end marker */
/opensolaris-onvv-gate/usr/src/ucbhead/sys/
H A Dvfs.h172 typedef struct vfssw { struct
175 int (*vsw_init)(struct vfssw *, int);
194 struct vfssw *vfs_getvfssw(char *);
204 extern vfssw_t *vfs_getvfssw(); /* find vfssw ptr given fstype name */
220 extern struct vfssw vfssw[]; /* table of filesystem types */
222 extern int nfstype; /* # of elements in vfssw array */
/opensolaris-onvv-gate/usr/src/uts/common/sys/
H A Dvfs.h380 typedef struct vfssw { struct
412 * flags for vfssw and vfsdef
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[]; /* tabl
[all...]
/opensolaris-onvv-gate/usr/src/uts/common/fs/
H A Dfsflush.c362 struct vfssw *vswp;
477 for (vswp = &vfssw[1]; vswp < &vfssw[nfstype]; vswp++) {
481 (void) fsop_sync_by_kind(vswp - vfssw,
H A Dvfs.c93 extern vopstats_t *get_fstype_vopstats(struct vfs *, struct vfssw *);
303 if (ALLOCATED_VFSSW(&vfssw[fstype]) && VFS_INSTALLED(&vfssw[fstype]))
304 return (*vfssw[fstype].vsw_vfsops.vfs_sync) (NULL, flag, cr);
375 if (!ALLOCATED_VFSSW(&vfssw[fstype]))
380 error = fs_copyfsops(template, &vfssw[fstype].vsw_vfsops, &unused_ops);
385 vfssw[fstype].vsw_flag |= VSW_INSTALLED;
388 *actual = &vfssw[fstype].vsw_vfsops;
393 "but not used", vfssw[fstype].vsw_name, unused_ops);
429 * Since the vfsops structure is part of the vfssw tabl
979 vfssw_t *vfssw; local
[all...]
/opensolaris-onvv-gate/usr/src/uts/common/sys/fs/
H A Dfifonode.h165 struct vfssw;
H A Dsnode.h142 struct vfssw;
/opensolaris-onvv-gate/usr/src/uts/common/fs/objfs/
H A Dobjfs_vfs.c257 (void) strlcpy(sp->f_basetype, vfssw[vfsp->vfs_fstype].vsw_name,
/opensolaris-onvv-gate/usr/src/uts/common/fs/sharefs/
H A Dsharefs_vfsops.c289 (void) strlcpy(sp->f_basetype, vfssw[vfsp->vfs_fstype].vsw_name,
/opensolaris-onvv-gate/usr/src/uts/common/fs/mntfs/
H A Dmntvfsops.c295 (void) strcpy(sp->f_basetype, vfssw[mntfstype].vsw_name);
H A Dmntvnops.c287 vfssw[vfsp->vfs_fstype].vsw_name);
336 size += strlen(vfssw[vfsp->vfs_fstype].vsw_name) + 1;
610 if (strcmp(vfssw[dummyvfs.vfs_fstype].vsw_name, "zfs")
/opensolaris-onvv-gate/usr/src/uts/common/fs/proc/
H A Dprvfsops.c319 (void) strcpy(sp->f_basetype, vfssw[procfstype].vsw_name);
/opensolaris-onvv-gate/usr/src/uts/common/fs/ctfs/
H A Dctfs_root.c354 (void) strlcpy(sp->f_basetype, vfssw[vfsp->vfs_fstype].vsw_name,
/opensolaris-onvv-gate/usr/src/uts/common/fs/devfs/
H A Ddevfs_vfsops.c293 (void) strcpy(sbp->f_basetype, vfssw[devfstype].vsw_name);
/opensolaris-onvv-gate/usr/src/uts/common/cpr/
H A Dcpr_misc.c1071 fsname = vfssw[vfsp->vfs_fstype].vsw_name;
1080 fsname = vfssw[vfsp->vfs_fstype].vsw_name;
1109 fsname = vfssw[vfsp->vfs_fstype].vsw_name;
/opensolaris-onvv-gate/usr/src/uts/common/fs/dev/
H A Dsdev_vfsops.c460 (void) strcpy(sbp->f_basetype, vfssw[devtype].vsw_name);
/opensolaris-onvv-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dvfs.c89 * no vfssw entry for the vfs is available (as is the case with some pseudo-
98 struct vfssw vfssw_entry;
107 if (mdb_lookup_by_name("vfssw", &vfssw_sym) == -1) {
108 mdb_warn("failed to find vfssw");
113 * vfssw is an array; we need vfssw[vfs.vfs_fstype].
116 vfssw_sym.st_value + (sizeof (struct vfssw) * vfs.vfs_fstype))
118 mdb_warn("failed to read vfssw index %d", vfs.vfs_fstype);
134 * know do not appear in vfssw[], and that we depend upon in other
152 * vfssw[] entr
[all...]
/opensolaris-onvv-gate/usr/src/uts/common/fs/fd/
H A Dfdops.c470 (void) strcpy(sp->f_basetype, vfssw[fdfstype].vsw_name);

Completed in 316 milliseconds

12