vfsops_t
vfs_opsinuse(vfsops_t *ops)
fs_copyfsops(const fs_operation_def_t *template, vfsops_t *actual,
VFSNAME_MOUNT, offsetof(vfsops_t, vfs_mount),
VFSNAME_UNMOUNT, offsetof(vfsops_t, vfs_unmount),
VFSNAME_ROOT, offsetof(vfsops_t, vfs_root),
VFSNAME_STATVFS, offsetof(vfsops_t, vfs_statvfs),
VFSNAME_SYNC, offsetof(vfsops_t, vfs_sync),
VFSNAME_VGET, offsetof(vfsops_t, vfs_vget),
VFSNAME_MOUNTROOT, offsetof(vfsops_t, vfs_mountroot),
VFSNAME_FREEVFS, offsetof(vfsops_t, vfs_freevfs),
VFSNAME_VNSTATE, offsetof(vfsops_t, vfs_vnstate),
vfs_setfsops(int fstype, const fs_operation_def_t *template, vfsops_t **actual)
vfs_makefsops(const fs_operation_def_t *template, vfsops_t **actual)
*actual = (vfsops_t *)kmem_alloc(sizeof (vfsops_t), KM_SLEEP);
kmem_free(*actual, sizeof (vfsops_t));
vfs_freevfsops(vfsops_t *vfsops)
kmem_free(vfsops, sizeof (vfsops_t));
vfs_setops(vfs_t *vfsp, vfsops_t *vfsops)
vfsops_t *
vfs_matchops(vfs_t *vfsp, vfsops_t *vfsops)
vfs_init(vfs_t *vfsp, vfsops_t *op, void *data)
vfsops_t *vfsops;
vfsops_t *
vfs_getvfsswbyvfsops(vfsops_t *vfsops)
vfsops_t *vfsops;
vfsops_t *door_vfsops;
offsetof(vfsops_t, _fop), offsetof(fsem_t, _fsop))
fsem_setvfsops(vfs_t *v, vfsops_t *newops)
vfsops_t *r;
vfsops_t *
vfsops_t *r;
vfsops_t *lo_vfsops;
vfsops_t *dummy_vfsops;
vfsops_t *namefs_vfsops;
vfsops_t *nfs3_vfsops;
vfsops_t *nfs4_vfsops;
vfsops_t *nfsdyn_vfsops;
vfsops_t *nfs_vfsops;
vfsops_t *vfsops;
vfsops_t *port_vfsops;
vfsops_t *vfsops;
vfsops_t *smbfs_vfsops = NULL;
vfsops_t *ufs_vfsops;
vfsops_t *vfsops;
fs_copyfsops(const fs_operation_def_t *template, vfsops_t *actual,
{ VFSNAME_MOUNT, offsetof(vfsops_t, vfs_mount),
{ VFSNAME_UNMOUNT, offsetof(vfsops_t, vfs_unmount),
{ VFSNAME_ROOT, offsetof(vfsops_t, vfs_root),
{ VFSNAME_STATVFS, offsetof(vfsops_t, vfs_statvfs),
{ VFSNAME_SYNC, offsetof(vfsops_t, vfs_sync),
{ VFSNAME_VGET, offsetof(vfsops_t, vfs_vget),
{ VFSNAME_MOUNTROOT, offsetof(vfsops_t, vfs_mountroot),
{ VFSNAME_FREEVFS, offsetof(vfsops_t, vfs_freevfs),
{ VFSNAME_VNSTATE, offsetof(vfsops_t, vfs_vnstate),
{ VFSNAME_SYNCFS, offsetof(vfsops_t, vfs_syncfs),
vfs_opsinuse(vfsops_t *ops)
vfs_setfsops(int fstype, const fs_operation_def_t *template, vfsops_t **actual)
vfs_getvfsswbyvfsops(vfsops_t *vfsops)
vfsops_t *EIO_vfsops;
vfs_makefsops(const fs_operation_def_t *template, vfsops_t **actual)
*actual = (vfsops_t *)kmem_alloc(sizeof (vfsops_t), KM_SLEEP);
kmem_free(*actual, sizeof (vfsops_t));
vfs_freevfsops(vfsops_t *vfsops)
kmem_free(vfsops, sizeof (vfsops_t));
vfs_setops(vfs_t *vfsp, vfsops_t *vfsops)
vfsops_t *op;
vfsops_t *
vfsops_t *op;
vfs_matchops(vfs_t *vfsp, vfsops_t *vfsops)
vfs_init(vfs_t *vfsp, vfsops_t *op, void *data)
vfsops_t *zfs_vfsops = NULL;
vfsops_t *vfsops = EIO_vfsops;
extern vfsops_t *nfs_vfsops;
extern vfsops_t *nfs3_vfsops;
vfsops_t *vfs;
extern vfsops_t *fsem_getvfsops(struct vfs *v);
extern vfsops_t *lo_vfsops;
vfsops_t *vfs_op; /* operations on VFS */
vfsops_t vsw_vfsops; /* filesystem operations vector */
void vfs_freevfsops(vfsops_t *);
void vfs_setops(vfs_t *, vfsops_t *);
vfsops_t *vfs_getops(vfs_t *vfsp);
int vfs_matchops(vfs_t *, vfsops_t *);
void vfs_init(vfs_t *vfsp, vfsops_t *, void *);
int vfs_opsinuse(vfsops_t *);
struct vfssw *vfs_getvfsswbyvfsops(vfsops_t *);
extern vfsops_t *EIO_vfsops; /* operations for vfs being torn-down */
int vfs_setfsops(int, const fs_operation_def_t *, vfsops_t **);
int vfs_makefsops(const fs_operation_def_t *, vfsops_t **);
void vfs_freevfsops(vfsops_t *);