/illumos-gate/usr/src/uts/common/os/ |
H A D | vfs_conf.c | 55 * 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 D | tlabel.c | 344 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 D | swapgeneric.c | 77 static struct vfssw *getfstype(char *, char *, size_t); 123 struct vfssw *vsw; 337 struct vfssw *vsw; 645 static struct vfssw * 648 struct vfssw *vsw;
|
H A D | modconf.c | 919 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...] |
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | sysfs.c | 86 * 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 D | stat.c | 196 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 D | statfs.c | 119 struct vfssw *vswp; 155 sfs.f_fstyp = vswp - vfssw;
|
/illumos-gate/usr/src/lib/libbc/inc/include/sys/ |
H A D | vfs.h | 128 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 */
|
/illumos-gate/usr/src/ucbhead/sys/ |
H A D | vfs.h | 172 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 */
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | vfs.h | 374 typedef struct vfssw { struct 406 * flags for vfssw and vfsdef 528 struct vfssw *allocate_vfssw(const char *); 529 struct vfssw *vfs_getvfssw(const char *); 530 struct vfssw *vfs_getvfsswbyname(const char *); 531 struct vfssw *vfs_getvfsswbyvfsops(vfsops_t *); 532 void vfs_refvfssw(struct vfssw *); 533 void vfs_unrefvfssw(struct vfssw *); 560 extern struct vfssw vfssw[]; /* tabl [all...] |
/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/ |
H A D | fake_vfs.c | 126 struct vfssw * 134 vfs_unrefvfssw(struct vfssw *vswp)
|
/illumos-gate/usr/src/uts/common/fs/ |
H A D | fsflush.c | 362 struct vfssw *vswp; 477 for (vswp = &vfssw[1]; vswp < &vfssw[nfstype]; vswp++) { 481 (void) fsop_sync_by_kind(vswp - vfssw,
|
H A D | vfs.c | 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 tabl 987 vfssw_t *vfssw; local [all...] |
/illumos-gate/usr/src/uts/common/sys/fs/ |
H A D | fifonode.h | 165 struct vfssw;
|
H A D | snode.h | 142 struct vfssw;
|
/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,
|
/illumos-gate/usr/src/uts/common/fs/sharefs/ |
H A D | sharefs_vfsops.c | 289 (void) strlcpy(sp->f_basetype, vfssw[vfsp->vfs_fstype].vsw_name,
|
/illumos-gate/usr/src/uts/common/fs/mntfs/ |
H A D | mntvfsops.c | 295 (void) strcpy(sp->f_basetype, vfssw[mntfstype].vsw_name);
|
H A D | mntvnops.c | 287 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")
|
/illumos-gate/usr/src/uts/common/fs/proc/ |
H A D | prvfsops.c | 319 (void) strcpy(sp->f_basetype, vfssw[procfstype].vsw_name);
|
/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,
|
/illumos-gate/usr/src/uts/common/fs/devfs/ |
H A D | devfs_vfsops.c | 293 (void) strcpy(sbp->f_basetype, vfssw[devfstype].vsw_name);
|
/illumos-gate/usr/src/uts/common/cpr/ |
H A D | cpr_misc.c | 1072 fsname = vfssw[vfsp->vfs_fstype].vsw_name; 1081 fsname = vfssw[vfsp->vfs_fstype].vsw_name; 1110 fsname = vfssw[vfsp->vfs_fstype].vsw_name;
|
/illumos-gate/usr/src/uts/common/fs/dev/ |
H A D | sdev_vfsops.c | 477 (void) strcpy(sbp->f_basetype, vfssw[devtype].vsw_name);
|
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | vfs.c | 89 * 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...] |