xref: /netbsd-src/sys/rump/librump/rumpvfs/rumpvfs.ifspec (revision d2a0ebb67a049a5c019aba780e67b6c65954d3db)
1;       $NetBSD: rumpvfs.ifspec,v 1.12 2020/02/23 15:46:42 ad Exp $
2
3NAME|vfs
4PUBHDR|include/rump/rumpvfs_if_pub.h
5PRIVHDR|include/rump-sys/vfs_if.h
6WRAPPERS|librump/rumpvfs/rumpvfs_if_wrappers.c
7
8; type          | name          | args		| attrs
9;
10
11void		|getvninfo	|struct vnode *, enum rump_vtype *,	\
12				 off_t *, dev_t *
13
14struct vfsops *	|vfslist_iterate|struct vfsops *
15struct vfsops *	|vfs_getopsbyname|const char *
16
17struct vattr *	|vattr_init	|void
18void		|vattr_settype	|struct vattr *, enum rump_vtype
19void		|vattr_setmode	|struct vattr *, mode_t
20void		|vattr_setrdev	|struct vattr *, dev_t
21void		|vattr_free	|struct vattr *
22
23void		|vp_incref	|struct vnode *
24int		|vp_getref	|struct vnode *
25void		|vp_rele	|struct vnode *
26
27void		|vp_interlock	|struct vnode *
28void		|vp_vmobjlock	|struct vnode *, int
29
30void		|freecn		|struct componentname *, int
31int		|namei		|uint32_t, uint32_t, const char *,	\
32				 struct vnode **, struct vnode **,	\
33				 struct componentname **
34struct componentname *|makecn	|u_long, u_long, const char *, size_t,	\
35				 struct kauth_cred *, struct lwp *
36
37int		|vfs_unmount	|struct mount *, int
38int		|vfs_root	|struct mount *, struct vnode **, int
39int		|vfs_statvfs	|struct mount *, struct statvfs *
40int		|vfs_sync	|struct mount *, int, struct kauth_cred *
41int		|vfs_fhtovp	|struct mount *, struct fid *, struct vnode **
42int		|vfs_vptofh	|struct vnode *, struct fid *, size_t *
43int		|vfs_extattrctl	|struct mount *, int, struct vnode *,	\
44				 int, const char *
45void		|vfs_syncwait	|struct mount *
46int		|vfs_getmp	|const char *, struct mount **
47
48void		|vfs_mount_print|const char *, int
49
50; I picked the wrong header to stop sniffin' glue
51int		|syspuffs_glueinit	|int, int *	|WEAK
52
53; Other compat glue (for sniffing purposes)
54; XXX: (lack of) types
55void		|vattr50_to_vattr|const struct vattr *, struct vattr *|COMPAT_50
56void		|vattr_to_vattr50|const struct vattr *, struct vattr *|COMPAT_50
57