Home
last modified time | relevance | path

Searched refs:vfs_t (Results 1 – 25 of 106) sorted by relevance

12345

/illumos-gate/usr/src/uts/common/sys/
H A Dvfs.h234 } vfs_t; typedef
325 int (*vfs_mount)(vfs_t *, vnode_t *, struct mounta *, cred_t *); \
326 int (*vfs_unmount)(vfs_t *, int, cred_t *); \
327 int (*vfs_root)(vfs_t *, vnode_t **); \
328 int (*vfs_statvfs)(vfs_t *, statvfs64_t *); \
329 int (*vfs_sync)(vfs_t *, short, cred_t *); \
330 int (*vfs_vget)(vfs_t *, vnode_t **, fid_t *); \
331 int (*vfs_mountroot)(vfs_t *, enum whymountroot); \
332 void (*vfs_freevfs)(vfs_t *); \
333 int (*vfs_vnstate)(vfs_t *, vnode_t *, vntrans_t); \
[all …]
/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/
H A Dfake_vfs.c118 vfs_has_feature(vfs_t *vfsp, vfs_feature_t feature) in vfs_has_feature()
136 vfs_getops(vfs_t *vfsp) in vfs_getops()
158 fsop_root(vfs_t *vfsp, vnode_t **vpp) in fsop_root()
172 fsop_statfs(vfs_t *vfsp, statvfs64_t *sp) in fsop_statfs()
203 vfs_hold(vfs_t *vfsp) in vfs_hold()
209 vfs_rele(vfs_t *vfsp) in vfs_rele()
215 vfs_lock(vfs_t *vfsp) in vfs_lock()
222 vfs_rlock(vfs_t *vfsp) in vfs_rlock()
229 vfs_lock_wait(vfs_t *vfsp) in vfs_lock_wait()
235 vfs_rlock_wait(vfs_t *vfsp) in vfs_rlock_wait()
[all …]
/illumos-gate/usr/src/lib/smbclnt/libfksmbfs/common/
H A Dfake_vfs.c190 fsop_mount(vfs_t *vfsp, vnode_t *mvp, struct mounta *uap, cred_t *cr) in fsop_mount()
196 fsop_unmount(vfs_t *vfsp, int flag, cred_t *cr) in fsop_unmount()
202 fsop_root(vfs_t *vfsp, vnode_t **vpp) in fsop_root()
208 fsop_statfs(vfs_t *vfsp, statvfs64_t *sp) in fsop_statfs()
214 fsop_sync(vfs_t *vfsp, short flag, cred_t *cr) in fsop_sync()
220 fsop_vget(vfs_t *vfsp, vnode_t **vpp, fid_t *fidp) in fsop_vget()
226 fsop_mountroot(vfs_t *vfsp, enum whymountroot reason) in fsop_mountroot()
232 fsop_freefs(vfs_t *vfsp) in fsop_freefs()
238 fsop_vnstate(vfs_t *vfsp, vnode_t *vp, vntrans_t nstate) in fsop_vnstate()
401 vfs_setops(vfs_t *vfsp, vfsops_t *vfsops) in vfs_setops()
[all …]
/illumos-gate/usr/src/uts/common/fs/smbclnt/smbfs/
H A Dsmbfs_vfsops.c114 static int smbfs_mount_label_policy(vfs_t *, void *, int, cred_t *);
191 static int smbfs_mount(vfs_t *, vnode_t *, struct mounta *, cred_t *);
192 static int smbfs_unmount(vfs_t *, int, cred_t *);
193 static int smbfs_root(vfs_t *, vnode_t **);
194 static int smbfs_statvfs(vfs_t *, statvfs64_t *);
195 static int smbfs_sync(vfs_t *, short, cred_t *);
196 static void smbfs_freevfs(vfs_t *);
395 smbfs_mount(vfs_t *vfsp, vnode_t *mvp, struct mounta *uap, cred_t *cr) in smbfs_mount()
758 smbfs_unmount(vfs_t *vfsp, int flag, cred_t *cr) in smbfs_unmount()
865 smbfs_root(vfs_t *vfsp, vnode_t **vpp) in smbfs_root()
[all …]
/illumos-gate/usr/src/uts/common/fs/
H A Dvfs.c224 fsop_mount(vfs_t *vfsp, vnode_t *mvp, struct mounta *uap, cred_t *cr) in fsop_mount()
230 fsop_unmount(vfs_t *vfsp, int flag, cred_t *cr) in fsop_unmount()
236 fsop_root(vfs_t *vfsp, vnode_t **vpp) in fsop_root()
258 fsop_statfs(vfs_t *vfsp, statvfs64_t *sp) in fsop_statfs()
264 fsop_sync(vfs_t *vfsp, short flag, cred_t *cr) in fsop_sync()
270 fsop_vget(vfs_t *vfsp, vnode_t **vpp, fid_t *fidp) in fsop_vget()
291 fsop_mountroot(vfs_t *vfsp, enum whymountroot reason) in fsop_mountroot()
297 fsop_freefs(vfs_t *vfsp) in fsop_freefs()
303 fsop_vnstate(vfs_t *vfsp, vnode_t *vp, vntrans_t nstate) in fsop_vnstate()
320 fsop_syncfs(vfs_t *vfsp, uint64_t flags, cred_t *cr) in fsop_syncfs()
[all …]
H A Dfs_subr.h57 extern int fs_nosys_syncfs(vfs_t *, uint64_t, cred_t *);
71 extern int fs_syncfs_nop(vfs_t *, uint64_t, cred_t *);
101 extern vfs_t *fs_vfsp_global(struct vfsops *, dev_t, int, uint_t);
H A Dfs_subr.c95 fs_nosys_syncfs(vfs_t *vfsp, uint64_t flags, cred_t *cr) in fs_nosys_syncfs()
125 fs_freevfs(vfs_t *vfsp) in fs_freevfs()
172 fs_syncfs_nop(vfs_t *vfspp, uint64_t flag, cred_t *cr) in fs_syncfs_nop()
1069 vfs_t *
1072 vfs_t *vfsp = kmem_zalloc(sizeof (struct vfs), KM_SLEEP); in fs_vfsp_global()
/illumos-gate/usr/src/uts/common/fs/objfs/
H A Dobjfs_vfs.c158 objfs_mount(vfs_t *vfsp, vnode_t *mvp, struct mounta *uap, cred_t *cr) in objfs_mount()
197 objfs_unmount(vfs_t *vfsp, int flag, struct cred *cr) in objfs_unmount()
234 objfs_root(vfs_t *vfsp, vnode_t **vpp) in objfs_root()
245 objfs_statvfs(vfs_t *vfsp, statvfs64_t *sp) in objfs_statvfs()
/illumos-gate/usr/src/uts/common/fs/sharefs/
H A Dsharefs_vfsops.c187 sharefs_mount(vfs_t *vfsp, vnode_t *mvp, struct mounta *uap, cred_t *cr) in sharefs_mount()
223 sharefs_unmount(vfs_t *vfsp, int flag, struct cred *cr) in sharefs_unmount()
260 sharefs_root(vfs_t *vfsp, vnode_t **vpp) in sharefs_root()
271 sharefs_statvfs(vfs_t *vfsp, statvfs64_t *sp) in sharefs_statvfs()
/illumos-gate/usr/src/cmd/mdb/common/modules/smbfs/
H A Dsmbfs.c90 const vfs_t *vfs = data; in smbfs_vfs_cb()
137 vfs_t *vfs; in smbfs_vfs_dcmd()
167 SMBFS_OBJ_FETCH(addr, vfs_t, vfs, DCMD_ERR); in smbfs_vfs_dcmd()
297 vfs_t vfs; in vfs_walk_step()
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs_vfsops.c128 static int nfs_mount(vfs_t *, vnode_t *, struct mounta *, cred_t *);
129 static int nfs_unmount(vfs_t *, int, cred_t *);
130 static int nfs_root(vfs_t *, vnode_t **);
131 static int nfs_statvfs(vfs_t *, struct statvfs64 *);
132 static int nfs_sync(vfs_t *, short, cred_t *);
133 static int nfs_vget(vfs_t *, vnode_t **, fid_t *);
134 static int nfs_mountroot(vfs_t *, whymountroot_t);
135 static void nfs_freevfs(vfs_t *);
137 static int nfsrootvp(vnode_t **, vfs_t *, struct servinfo *,
497 nfs_mount(vfs_t *vfsp, vnode_t *mvp, struct mounta *uap, cred_t *cr) in nfs_mount()
[all …]
H A Dnfs3_vfsops.c126 static int nfs3_mount(vfs_t *, vnode_t *, struct mounta *, cred_t *);
127 static int nfs3_unmount(vfs_t *, int, cred_t *);
128 static int nfs3_root(vfs_t *, vnode_t **);
129 static int nfs3_statvfs(vfs_t *, struct statvfs64 *);
130 static int nfs3_sync(vfs_t *, short, cred_t *);
131 static int nfs3_vget(vfs_t *, vnode_t **, fid_t *);
132 static int nfs3_mountroot(vfs_t *, whymountroot_t);
133 static void nfs3_freevfs(vfs_t *);
135 static int nfs3rootvp(vnode_t **, vfs_t *, struct servinfo *,
478 nfs3_mount(vfs_t *vfsp, vnode_t *mvp, struct mounta *uap, cred_t *cr) in nfs3_mount()
[all …]
H A Dnfs4_vfsops.c88 vfs_t *fm_vfsp;
93 static void async_free_mount(vfs_t *, int, cred_t *);
94 static void nfs4_free_mount(vfs_t *, int, cred_t *);
140 int nfs4_mount(vfs_t *, vnode_t *, struct mounta *, cred_t *);
141 static int nfs4_unmount(vfs_t *, int, cred_t *);
142 static int nfs4_root(vfs_t *, vnode_t **);
143 static int nfs4_statvfs(vfs_t *, struct statvfs64 *);
144 static int nfs4_sync(vfs_t *, short, cred_t *);
145 static int nfs4_vget(vfs_t *, vnode_t **, fid_t *);
146 static int nfs4_mountroot(vfs_t *, whymountroot_t);
[all …]
/illumos-gate/usr/src/uts/common/fs/namefs/
H A Dnamevfs.c233 vfs_t *vfsp; in nm_umountall()
334 nm_mount(vfs_t *vfsp, vnode_t *mvp, struct mounta *uap, cred_t *crp) in nm_mount()
584 nm_unmount(vfs_t *vfsp, int flag, cred_t *crp) in nm_unmount()
644 nm_root(vfs_t *vfsp, vnode_t **vpp) in nm_root()
658 nm_statvfs(vfs_t *vfsp, struct statvfs64 *sp) in nm_statvfs()
677 nm_sync(vfs_t *vfsp, short flag, cred_t *crp) in nm_sync()
692 nm_syncfs(vfs_t *vfsp, uint64_t flags, cred_t *crp) in nm_syncfs()
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Dzfs_ctldir.h55 int zfsctl_umount_snapshots(vfs_t *, int, cred_t *);
63 int zfsctl_lookup_objset(vfs_t *vfsp, uint64_t objsetid, zfsvfs_t **zfsvfsp);
/illumos-gate/usr/src/uts/common/fs/bootfs/
H A Dbootfs_vfsops.c65 bootfs_mount(vfs_t *vfsp, vnode_t *mvp, struct mounta *uap, cred_t *cr) in bootfs_mount()
156 bootfs_unmount(vfs_t *vfsp, int flag, cred_t *cr) in bootfs_unmount()
188 bootfs_root(vfs_t *vfsp, vnode_t **vpp) in bootfs_root()
200 bootfs_statvfs(vfs_t *vfsp, struct statvfs64 *sbp) in bootfs_statvfs()
/illumos-gate/usr/src/uts/common/fs/autofs/
H A Dauto_vfsops.c142 static int auto_mount(vfs_t *, vnode_t *, struct mounta *, cred_t *);
143 static int auto_unmount(vfs_t *, int, cred_t *);
144 static int auto_root(vfs_t *, vnode_t **);
145 static int auto_statvfs(vfs_t *, struct statvfs64 *);
350 auto_mount(vfs_t *vfsp, vnode_t *vp, struct mounta *uap, cred_t *cr) in auto_mount()
694 auto_unmount(vfs_t *vfsp, int flag, cred_t *cr) in auto_unmount()
795 auto_root(vfs_t *vfsp, vnode_t **vpp) in auto_root()
809 auto_statvfs(vfs_t *vfsp, struct statvfs64 *sbp) in auto_statvfs()
/illumos-gate/usr/src/ucbhead/sys/
H A Dvfs.h95 } vfs_t; typedef
200 extern vfs_t *getvfs(); /* return vfs given fsid */
201 extern vfs_t *vfs_devsearch(); /* find vfs given device */
/illumos-gate/usr/src/uts/common/os/
H A Dtlabel.c169 getflabel_cipso(vfs_t *vfsp) in getflabel_cipso()
230 getflabel_zfs(vfs_t *vfsp) in getflabel_zfs()
256 getflabel_nfs(vfs_t *vfsp) in getflabel_nfs()
318 vfs_t *vfsp, *rvfsp; in getflabel()
427 vfs_t *nvfs; in getflabel()
/illumos-gate/usr/src/uts/common/fs/ctfs/
H A Dctfs_root.c217 ctfs_mount(vfs_t *vfsp, vnode_t *mvp, struct mounta *uap, cred_t *cr) in ctfs_mount()
279 ctfs_unmount(vfs_t *vfsp, int flag, struct cred *cr) in ctfs_unmount()
325 ctfs_root(vfs_t *vfsp, vnode_t **vpp) in ctfs_root()
340 ctfs_statvfs(vfs_t *vfsp, statvfs64_t *sp) in ctfs_statvfs()
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzfs_vfsops.c87 static int zfs_mount(vfs_t *vfsp, vnode_t *mvp, struct mounta *uap, cred_t *cr);
88 static int zfs_umount(vfs_t *vfsp, int fflag, cred_t *cr);
89 static int zfs_mountroot(vfs_t *vfsp, enum whymountroot);
90 static int zfs_root(vfs_t *vfsp, vnode_t **vpp);
91 static int zfs_statvfs(vfs_t *vfsp, struct statvfs64 *statp);
92 static int zfs_vget(vfs_t *vfsp, vnode_t **vpp, fid_t *fidp);
93 static void zfs_freevfs(vfs_t *vfsp);
94 static int zfs_syncfs(vfs_t *vfsp, uint64_t flags, cred_t *cr);
139 zfs_sync(vfs_t *vfsp, short flag, cred_t *cr) in zfs_sync()
196 zfs_syncfs(vfs_t *vfsp, uint64_t flags, cred_t *cr) in zfs_syncfs()
[all …]
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/inline/
H A Derr.D_OP_INCOMPAT.badxlate.d39 inline vfs_t *invalid = xlate<psinfo_t>(curthread->t_procp);
/illumos-gate/usr/src/uts/common/fs/fd/
H A Dfdops.c168 vfs_t *vfsp = vp->v_vfsp; in fdgetattr()
368 fdmount(vfs_t *vfsp, vnode_t *mvp, struct mounta *uap, cred_t *cr) in fdmount()
411 fdunmount(vfs_t *vfsp, int flag, cred_t *cr) in fdunmount()
435 fdroot(vfs_t *vfsp, vnode_t **vpp) in fdroot()
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_tree.c193 static void smb_tree_get_volname(vfs_t *, smb_tree_t *);
194 static void smb_tree_get_flags(const smb_kshare_t *, vfs_t *, smb_tree_t *);
535 vfs_t *vfsp; in smb_tree_acl_access()
1109 vfs_t *vfsp = SMB_NODE_VFS(node); in smb_tree_getattr()
1110 vfs_t *realvfsp; in smb_tree_getattr()
1162 smb_tree_get_volname(vfs_t *vfsp, smb_tree_t *tree) in smb_tree_get_volname()
1197 smb_tree_get_flags(const smb_kshare_t *si, vfs_t *vfsp, smb_tree_t *tree) in smb_tree_get_flags()
/illumos-gate/usr/src/cmd/mdb/common/modules/lofs/
H A Dlofs.c117 if (mdb_vread(&vfs, sizeof (vfs_t), wsp->walk_addr) == -1) { in lnode_walk_init()
232 vfs_t vfs; in lnode2dev()

12345