Home | History | Annotate | Line # | Download | only in rumpvfs
rumpvfs_if_wrappers.c revision 1.1
      1 /*	$NetBSD: rumpvfs_if_wrappers.c,v 1.1 2009/10/14 17:28:14 pooka Exp $	*/
      2 
      3 /*
      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.2 2009/10/14 17:26:09 pooka Exp
      7  */
      8 
      9 #include <sys/cdefs.h>
     10 #include <sys/systm.h>
     11 
     12 #include <rump/rump.h>
     13 #include <rump/rumpvfs_if_pub.h>
     14 
     15 #include "rumpvfs_if_priv.h"
     16 
     17 void __dead rump_vfs_unavailable(void);
     18 void __dead
     19 rump_vfs_unavailable(void)
     20 {
     21 
     22 	panic("vfs interface unavailable");
     23 }
     24 
     25 void
     26 rump_getvninfo(struct vnode *arg1, enum vtype *arg2, off_t *arg3, dev_t *arg4)
     27 {
     28 
     29 	rumppriv_getvninfo(arg1, arg2, arg3, arg4);
     30 }
     31 
     32 struct vfsops *
     33 rump_vfslist_iterate(struct vfsops *arg1)
     34 {
     35 	struct vfsops * rv;
     36 
     37 	rv = rumppriv_vfslist_iterate(arg1);
     38 
     39 	return rv;
     40 }
     41 
     42 struct vfsops *
     43 rump_vfs_getopsbyname(const char *arg1)
     44 {
     45 	struct vfsops * rv;
     46 
     47 	rv = rumppriv_vfs_getopsbyname(arg1);
     48 
     49 	return rv;
     50 }
     51 
     52 struct vattr *
     53 rump_vattr_init(void)
     54 {
     55 	struct vattr * rv;
     56 
     57 	rv = rumppriv_vattr_init();
     58 
     59 	return rv;
     60 }
     61 
     62 void
     63 rump_vattr_settype(struct vattr *arg1, enum vtype arg2)
     64 {
     65 
     66 	rumppriv_vattr_settype(arg1, arg2);
     67 }
     68 
     69 void
     70 rump_vattr_setmode(struct vattr *arg1, mode_t arg2)
     71 {
     72 
     73 	rumppriv_vattr_setmode(arg1, arg2);
     74 }
     75 
     76 void
     77 rump_vattr_setrdev(struct vattr *arg1, dev_t arg2)
     78 {
     79 
     80 	rumppriv_vattr_setrdev(arg1, arg2);
     81 }
     82 
     83 void
     84 rump_vattr_free(struct vattr *arg1)
     85 {
     86 
     87 	rumppriv_vattr_free(arg1);
     88 }
     89 
     90 void
     91 rump_vp_incref(struct vnode *arg1)
     92 {
     93 
     94 	rumppriv_vp_incref(arg1);
     95 }
     96 
     97 int
     98 rump_vp_getref(struct vnode *arg1)
     99 {
    100 	int rv;
    101 
    102 	rv = rumppriv_vp_getref(arg1);
    103 
    104 	return rv;
    105 }
    106 
    107 void
    108 rump_vp_rele(struct vnode *arg1)
    109 {
    110 
    111 	rumppriv_vp_rele(arg1);
    112 }
    113 
    114 void
    115 rump_vp_interlock(struct vnode *arg1)
    116 {
    117 
    118 	rumppriv_vp_interlock(arg1);
    119 }
    120 
    121 int
    122 rump_etfs_register(const char *arg1, const char *arg2, enum rump_etfs_type arg3)
    123 {
    124 	int rv;
    125 
    126 	rv = rumppriv_etfs_register(arg1, arg2, arg3);
    127 
    128 	return rv;
    129 }
    130 
    131 int
    132 rump_etfs_register_withsize(const char *arg1, const char *arg2, enum rump_etfs_type arg3, uint64_t arg4, uint64_t arg5)
    133 {
    134 	int rv;
    135 
    136 	rv = rumppriv_etfs_register_withsize(arg1, arg2, arg3, arg4, arg5);
    137 
    138 	return rv;
    139 }
    140 
    141 int
    142 rump_etfs_remove(const char *arg1)
    143 {
    144 	int rv;
    145 
    146 	rv = rumppriv_etfs_remove(arg1);
    147 
    148 	return rv;
    149 }
    150 
    151 void
    152 rump_freecn(struct componentname *arg1, int arg2)
    153 {
    154 
    155 	rumppriv_freecn(arg1, arg2);
    156 }
    157 
    158 int
    159 rump_checksavecn(struct componentname *arg1)
    160 {
    161 	int rv;
    162 
    163 	rv = rumppriv_checksavecn(arg1);
    164 
    165 	return rv;
    166 }
    167 
    168 int
    169 rump_namei(uint32_t arg1, uint32_t arg2, const char *arg3, struct vnode **arg4, struct vnode **arg5, struct componentname **arg6)
    170 {
    171 	int rv;
    172 
    173 	rv = rumppriv_namei(arg1, arg2, arg3, arg4, arg5, arg6);
    174 
    175 	return rv;
    176 }
    177 
    178 struct componentname *
    179 rump_makecn(u_long arg1, u_long arg2, const char *arg3, size_t arg4, kauth_cred_t arg5, struct lwp *arg6)
    180 {
    181 	struct componentname * rv;
    182 
    183 	rv = rumppriv_makecn(arg1, arg2, arg3, arg4, arg5, arg6);
    184 
    185 	return rv;
    186 }
    187 
    188 int
    189 rump_vfs_unmount(struct mount *arg1, int arg2)
    190 {
    191 	int rv;
    192 
    193 	rv = rumppriv_vfs_unmount(arg1, arg2);
    194 
    195 	return rv;
    196 }
    197 
    198 int
    199 rump_vfs_root(struct mount *arg1, struct vnode **arg2, int arg3)
    200 {
    201 	int rv;
    202 
    203 	rv = rumppriv_vfs_root(arg1, arg2, arg3);
    204 
    205 	return rv;
    206 }
    207 
    208 int
    209 rump_vfs_statvfs(struct mount *arg1, struct statvfs *arg2)
    210 {
    211 	int rv;
    212 
    213 	rv = rumppriv_vfs_statvfs(arg1, arg2);
    214 
    215 	return rv;
    216 }
    217 
    218 int
    219 rump_vfs_sync(struct mount *arg1, int arg2, kauth_cred_t arg3)
    220 {
    221 	int rv;
    222 
    223 	rv = rumppriv_vfs_sync(arg1, arg2, arg3);
    224 
    225 	return rv;
    226 }
    227 
    228 int
    229 rump_vfs_fhtovp(struct mount *arg1, struct fid *arg2, struct vnode **arg3)
    230 {
    231 	int rv;
    232 
    233 	rv = rumppriv_vfs_fhtovp(arg1, arg2, arg3);
    234 
    235 	return rv;
    236 }
    237 
    238 int
    239 rump_vfs_vptofh(struct vnode *arg1, struct fid *arg2, size_t *arg3)
    240 {
    241 	int rv;
    242 
    243 	rv = rumppriv_vfs_vptofh(arg1, arg2, arg3);
    244 
    245 	return rv;
    246 }
    247 
    248 void
    249 rump_vfs_syncwait(struct mount *arg1)
    250 {
    251 
    252 	rumppriv_vfs_syncwait(arg1);
    253 }
    254 
    255 int
    256 rump_vfs_getmp(const char *arg1, struct mount **arg2)
    257 {
    258 	int rv;
    259 
    260 	rv = rumppriv_vfs_getmp(arg1, arg2);
    261 
    262 	return rv;
    263 }
    264 
    265 void
    266 rump_rcvp_set(struct vnode *arg1, struct vnode *arg2)
    267 {
    268 
    269 	rumppriv_rcvp_set(arg1, arg2);
    270 }
    271 
    272 struct vnode *
    273 rump_cdir_get(void)
    274 {
    275 	struct vnode * rv;
    276 
    277 	rv = rumppriv_cdir_get();
    278 
    279 	return rv;
    280 }
    281 
    282 int
    283 rump_syspuffs_glueinit(int arg1, int *arg2)
    284 {
    285 	int rv;
    286 
    287 	rv = rumppriv_syspuffs_glueinit(arg1, arg2);
    288 
    289 	return rv;
    290 }
    291 __weak_alias(rumppriv_syspuffs_glueinit,rump_vfs_unavailable);
    292 
    293 int
    294 rump_sys___stat30(const char *arg1, struct stat *arg2)
    295 {
    296 	int rv;
    297 
    298 	rv = rumppriv_sys___stat30(arg1, arg2);
    299 
    300 	return rv;
    301 }
    302 
    303 int
    304 rump_sys___lstat30(const char *arg1, struct stat *arg2)
    305 {
    306 	int rv;
    307 
    308 	rv = rumppriv_sys___lstat30(arg1, arg2);
    309 
    310 	return rv;
    311 }
    312 
    313 void
    314 rump_vattr50_to_vattr(const struct vattr *arg1, struct vattr *arg2)
    315 {
    316 
    317 	rumppriv_vattr50_to_vattr(arg1, arg2);
    318 }
    319 
    320 void
    321 rump_vattr_to_vattr50(const struct vattr *arg1, struct vattr *arg2)
    322 {
    323 
    324 	rumppriv_vattr_to_vattr50(arg1, arg2);
    325 }
    326