1 /* $NetBSD: makerumpif.sh,v 1.4 2009/10/15 00:29:19 pooka Exp $ */
4 * Automatically generated. DO NOT EDIT.
5 * from: NetBSD: rumpvfs.ifspec,v 1.1 2009/10/14 17:17:00 pooka Exp
6 * by: NetBSD: makerumpif.sh,v 1.4 2009/10/15 00:29:19 pooka Exp
10 #include <sys/systm.h>
12 #include <rump/rump.h>
13 #include <rump/rumpvfs_if_pub.h>
15 #include "rump_private.h"
16 #include "rumpvfs_if_priv.h"
18 void __dead
rump_vfs_unavailable(void);
20 rump_vfs_unavailable(void)
23 panic("vfs interface unavailable");
27 rump_pub_getvninfo(struct vnode
*arg1
, enum vtype
*arg2
, off_t
*arg3
, dev_t
*arg4
)
31 rump_getvninfo(arg1
, arg2
, arg3
, arg4
);
36 rump_pub_vfslist_iterate(struct vfsops
*arg1
)
41 rv
= rump_vfslist_iterate(arg1
);
48 rump_pub_vfs_getopsbyname(const char *arg1
)
53 rv
= rump_vfs_getopsbyname(arg1
);
60 rump_pub_vattr_init(void)
65 rv
= rump_vattr_init();
72 rump_pub_vattr_settype(struct vattr
*arg1
, enum vtype arg2
)
76 rump_vattr_settype(arg1
, arg2
);
81 rump_pub_vattr_setmode(struct vattr
*arg1
, mode_t arg2
)
85 rump_vattr_setmode(arg1
, arg2
);
90 rump_pub_vattr_setrdev(struct vattr
*arg1
, dev_t arg2
)
94 rump_vattr_setrdev(arg1
, arg2
);
99 rump_pub_vattr_free(struct vattr
*arg1
)
103 rump_vattr_free(arg1
);
108 rump_pub_vp_incref(struct vnode
*arg1
)
112 rump_vp_incref(arg1
);
117 rump_pub_vp_getref(struct vnode
*arg1
)
122 rv
= rump_vp_getref(arg1
);
129 rump_pub_vp_rele(struct vnode
*arg1
)
138 rump_pub_vp_interlock(struct vnode
*arg1
)
142 rump_vp_interlock(arg1
);
147 rump_pub_etfs_register(const char *arg1
, const char *arg2
, enum rump_etfs_type arg3
)
152 rv
= rump_etfs_register(arg1
, arg2
, arg3
);
159 rump_pub_etfs_register_withsize(const char *arg1
, const char *arg2
, enum rump_etfs_type arg3
, uint64_t arg4
, uint64_t arg5
)
164 rv
= rump_etfs_register_withsize(arg1
, arg2
, arg3
, arg4
, arg5
);
171 rump_pub_etfs_remove(const char *arg1
)
176 rv
= rump_etfs_remove(arg1
);
183 rump_pub_freecn(struct componentname
*arg1
, int arg2
)
187 rump_freecn(arg1
, arg2
);
192 rump_pub_checksavecn(struct componentname
*arg1
)
197 rv
= rump_checksavecn(arg1
);
204 rump_pub_namei(uint32_t arg1
, uint32_t arg2
, const char *arg3
, struct vnode
**arg4
, struct vnode
**arg5
, struct componentname
**arg6
)
209 rv
= rump_namei(arg1
, arg2
, arg3
, arg4
, arg5
, arg6
);
215 struct componentname
*
216 rump_pub_makecn(u_long arg1
, u_long arg2
, const char *arg3
, size_t arg4
, kauth_cred_t arg5
, struct lwp
*arg6
)
218 struct componentname
* rv
;
221 rv
= rump_makecn(arg1
, arg2
, arg3
, arg4
, arg5
, arg6
);
228 rump_pub_vfs_unmount(struct mount
*arg1
, int arg2
)
233 rv
= rump_vfs_unmount(arg1
, arg2
);
240 rump_pub_vfs_root(struct mount
*arg1
, struct vnode
**arg2
, int arg3
)
245 rv
= rump_vfs_root(arg1
, arg2
, arg3
);
252 rump_pub_vfs_statvfs(struct mount
*arg1
, struct statvfs
*arg2
)
257 rv
= rump_vfs_statvfs(arg1
, arg2
);
264 rump_pub_vfs_sync(struct mount
*arg1
, int arg2
, kauth_cred_t arg3
)
269 rv
= rump_vfs_sync(arg1
, arg2
, arg3
);
276 rump_pub_vfs_fhtovp(struct mount
*arg1
, struct fid
*arg2
, struct vnode
**arg3
)
281 rv
= rump_vfs_fhtovp(arg1
, arg2
, arg3
);
288 rump_pub_vfs_vptofh(struct vnode
*arg1
, struct fid
*arg2
, size_t *arg3
)
293 rv
= rump_vfs_vptofh(arg1
, arg2
, arg3
);
300 rump_pub_vfs_syncwait(struct mount
*arg1
)
304 rump_vfs_syncwait(arg1
);
309 rump_pub_vfs_getmp(const char *arg1
, struct mount
**arg2
)
314 rv
= rump_vfs_getmp(arg1
, arg2
);
321 rump_pub_rcvp_set(struct vnode
*arg1
, struct vnode
*arg2
)
325 rump_rcvp_set(arg1
, arg2
);
330 rump_pub_cdir_get(void)
335 rv
= rump_cdir_get();
342 rump_pub_syspuffs_glueinit(int arg1
, int *arg2
)
347 rv
= rump_syspuffs_glueinit(arg1
, arg2
);
352 __weak_alias(rump_syspuffs_glueinit
,rump_vfs_unavailable
);
355 rump_pub_sys___stat30(const char *arg1
, struct stat
*arg2
)
360 rv
= rump_sys___stat30(arg1
, arg2
);
367 rump_pub_sys___lstat30(const char *arg1
, struct stat
*arg2
)
372 rv
= rump_sys___lstat30(arg1
, arg2
);
379 rump_pub_vattr50_to_vattr(const struct vattr
*arg1
, struct vattr
*arg2
)
383 rump_vattr50_to_vattr(arg1
, arg2
);
388 rump_pub_vattr_to_vattr50(const struct vattr
*arg1
, struct vattr
*arg2
)
392 rump_vattr_to_vattr50(arg1
, arg2
);