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