vfssw
vfssw_sym.st_value + (sizeof (struct vfssw) * vfs.vfs_fstype))
struct vfssw vfssw_entry;
fstype = vswp - vfssw; /* Pointer arithmetic to get the fstype */
struct vfssw *vswp;
struct vfssw *vswp;
struct vfssw *vswp;
vswp = &vfssw[vp->v_vfsp->vfs_fstype];
struct vfssw vfssw[10] = {
struct vfssw *
struct vfssw *vswp;
for (vswp = &vfssw[1]; vswp < &vfssw[nfstype]; vswp++)
struct vfssw *
struct vfssw *vswp;
for (vswp = &vfssw[1]; vswp < &vfssw[nfstype]; vswp++) {
struct vfssw *
struct vfssw *vswp;
for (vswp = &vfssw[1]; vswp < &vfssw[nfstype]; vswp++) {
vfs_refvfssw(struct vfssw *vswp)
vfs_unrefvfssw(struct vfssw *vswp)
if (ALLOCATED_VFSSW(&vfssw[fstype]) && VFS_INSTALLED(&vfssw[fstype]))
return (*vfssw[fstype].vsw_vfsops.vfs_sync) (NULL, flag, cr);
if (!ALLOCATED_VFSSW(&vfssw[fstype]))
error = fs_copyfsops(template, &vfssw[fstype].vsw_vfsops, &unused_ops);
vfssw[fstype].vsw_flag |= VSW_INSTALLED;
*actual = &vfssw[fstype].vsw_vfsops;
"but not used", vfssw[fstype].vsw_name, unused_ops);
if ((vfssw[fstype].vsw_flag & VSW_INSTALLED) == 0) {
vfssw[fstype].vsw_flag &= ~VSW_INSTALLED;
struct vfssw *vswp;
struct vfssw *
vfs_unrefvfssw(struct vfssw *vswp)
static struct vfssw fake_vfssw = {
int (*vsw_init)(struct vfssw *, int);
struct vfssw *vfs_getvfssw(char *);
extern struct vfssw vfssw[]; /* table of filesystem types */
fsname = vfssw[vfsp->vfs_fstype].vsw_name;
fsname = vfssw[vfsp->vfs_fstype].vsw_name;
fsname = vfssw[vfsp->vfs_fstype].vsw_name;
(void) strlcpy(cwd->prcwd_fsname, vfssw[vfsp->vfs_fstype].vsw_name,
ul.fstype = vfssw[vfsp->vfs_fstype].vsw_name;
(void) strcpy(sbp->f_basetype, vfssw[vfsp->vfs_fstype].vsw_name);
(void) strlcpy(sp->f_basetype, vfssw[vfsp->vfs_fstype].vsw_name,
(void) strcpy(sbp->f_basetype, vfssw[devtype].vsw_name);
(void) strcpy(sbp->f_basetype, vfssw[devfstype].vsw_name);
(void) strcpy(sp->f_basetype, vfssw[fdfstype].vsw_name);
struct vfssw *vswp;
for (vswp = &vfssw[1]; vswp < &vfssw[nfstype]; vswp++) {
(void) fsop_sync_by_kind(vswp - vfssw,
(void) strcpy(sbp->f_basetype, vfssw[vfsp->vfs_fstype].vsw_name);
(void) strcpy(sp->f_basetype, vfssw[mntfstype].vsw_name);
vfssw[vfsp->vfs_fstype].vsw_name);
size += strlen(vfssw[vfsp->vfs_fstype].vsw_name) + 1;
if (strcmp(vfssw[dummyvfs.vfs_fstype].vsw_name, "zfs")
(void) strcpy(sp->f_basetype, vfssw[vfsp->vfs_fstype].vsw_name);
vfssw[vfsp->vfs_fstype].vsw_name, FSTYPSZ);
exi->exi_volatile_dev = (vfssw[vp->v_vfsp->vfs_fstype].vsw_flag &
struct vfssw *vswp;
vfssw[vfsp->vfs_fstype].vsw_name, FSTYPSZ);
exi->exi_volatile_dev = (vfssw[vp->v_vfsp->vfs_fstype].vsw_flag &
vfssw[vfsp->vfs_fstype].vsw_name, FSTYPSZ);
(void) strlcpy(sp->f_basetype, vfssw[vfsp->vfs_fstype].vsw_name,
(void) strcpy(sp->f_basetype, vfssw[vfsp->vfs_fstype].vsw_name);
char *fsname = vfssw[vfsp->vfs_fstype].vsw_name;
struct vfssw *vfsswp;
((vfsswp = vfssw + vfsp->vfs_fstype), vfsswp->vsw_name) &&
(void) strcpy(sp->f_basetype, vfssw[procfstype].vsw_name);
(void) strlcpy(sp->f_basetype, vfssw[vfsp->vfs_fstype].vsw_name,
struct vfssw *vswp;
(void) strcpy(sbp->f_basetype, vfssw[tmpfsfstype].vsw_name);
(void) strcpy(sp->f_basetype, vfssw[vfsp->vfs_fstype].vsw_name);
(void) strcpy(sp->f_basetype, vfssw[vfsp->vfs_fstype].vsw_name);
extern vopstats_t *get_fstype_vopstats(struct vfs *, struct vfssw *);
vfs_unrefvfssw(vfssw);
vfssw = NULL;
struct vfssw *vswp;
!ALLOCATED_VFSSW(&vfssw[fstype])) {
(void) strcpy(fsname, vfssw[fstype].vsw_name);
if (ALLOCATED_VFSSW(&vfssw[fstype]) && VFS_INSTALLED(&vfssw[fstype]))
return (*vfssw[fstype].vsw_vfsops.vfs_sync) (NULL, flag, cr);
struct vfssw *
struct vfssw *vswp;
for (vswp = &vfssw[1]; vswp < &vfssw[nfstype]; vswp++)
struct vfssw *
struct vfssw *vswp;
struct vfssw *
struct vfssw *vswp;
for (vswp = &vfssw[1]; vswp < &vfssw[nfstype]; vswp++) {
struct vfssw *
struct vfssw *vswp;
for (vswp = &vfssw[1]; vswp < &vfssw[nfstype]; vswp++) {
vfs_refvfssw(struct vfssw *vswp)
vfs_unrefvfssw(struct vfssw *vswp)
if (!ALLOCATED_VFSSW(&vfssw[fstype]))
error = fs_copyfsops(template, &vfssw[fstype].vsw_vfsops, &unused_ops);
vfssw[fstype].vsw_flag |= VSW_INSTALLED;
*actual = &vfssw[fstype].vsw_vfsops;
struct vfssw *vswp;
"but not used", vfssw[fstype].vsw_name, unused_ops);
for (vswp = &vfssw[1]; vswp < &vfssw[nfstype]; vswp++) {
(void) (*vswp->vsw_init)(vswp - vfssw, vswp->vsw_name);
struct vfssw *vsw;
if ((vfssw[fstype].vsw_flag & VSW_INSTALLED) == 0) {
vfssw[fstype].vsw_flag &= ~VSW_INSTALLED;
struct vfssw *vswp;
for (vswp = &vfssw[1]; vswp < &vfssw[nfstype]; vswp++) {
struct vfssw *vsw;
struct vfssw *vsw;
struct vfssw *vswp;
vfssw_t *vfssw;
if ((vfssw = vfs_getvfssw(fsname)) == NULL)
if (!(vfssw->vsw_flag & VSW_CANLOFI)) {
vfs_unrefvfssw(vfssw);
struct vfssw *vswp;
char *fsname = vfssw[vfsp->vfs_fstype].vsw_name;
get_fstype_vopstats(vfs_t *vfsp, struct vfssw *vswp)
fstype = vswp - vfssw; /* Gets us the index */
(void) strcpy(statp->f_basetype, vfssw[vfsp->vfs_fstype].vsw_name);
(void) strlcat(ksname, vfssw[fstype].vsw_name, sizeof (ksname));
struct vfssw *vswp;
struct vfssw *vswp;
*p0 = vswp - vfssw;
struct vfssw *vswp;
fstype = vswp - vfssw; /* Pointer arithmetic to get the fstype */
struct vfssw *vswp;
struct vfssw *vsw;
struct vfssw *vsw;
static struct vfssw *
struct vfssw *vsw;
static struct vfssw *getfstype(char *, char *, size_t);
if (strncmp(vfssw[rvfsp->vfs_fstype].vsw_name, "nfs", 3) == 0)
if ((strcmp(vfssw[rvfsp->vfs_fstype].vsw_name,
if (strncmp(vfssw[rvfsp->vfs_fstype].vsw_name, "zfs", 3) == 0) {
if (strncmp(vfssw[nvfs->vfs_fstype].vsw_name,
struct vfssw vfssw[] = {
const int nfstype = (sizeof (vfssw) / sizeof (vfssw[0]));
struct vfssw *vswp = vfs_getvfssw("zfs");
zfstype = vswp - vfssw;
struct vfssw;
struct vfssw;
struct vfssw *allocate_vfssw(const char *);
struct vfssw *vfs_getvfssw(const char *);
struct vfssw *vfs_getvfsswbyname(const char *);
struct vfssw *vfs_getvfsswbyvfsops(vfsops_t *);
void vfs_refvfssw(struct vfssw *);
void vfs_unrefvfssw(struct vfssw *);
extern struct vfssw vfssw[]; /* table of filesystem types */
struct vfssw *vswp;
vswp = &vfssw[vp->v_vfsp->vfs_fstype];
struct vfssw *vswp;
vswp = &vfssw[vp->v_vfsp->vfs_fstype];
struct vfssw *vswp;
vswp = &vfssw[vp->v_vfsp->vfs_fstype];
struct vfssw *vswp;
vswp = &vfssw[vp->v_vfsp->vfs_fstype];
struct vfssw *vswp;
sfs.f_fstyp = vswp - vfssw;
retval = vswp - vfssw;
struct vfssw *vswp;
vswp = &vfssw[index];
struct vfssw *vswp;