rumpvfs_if_priv.h revision 1.12
1/* $NetBSD: rumpvfs_if_priv.h,v 1.12 2014/04/25 17:50:28 pooka Exp $ */ 2 3/* 4 * Automatically generated. DO NOT EDIT. 5 * from: NetBSD: rumpvfs.ifspec,v 1.9 2014/04/25 13:10:42 pooka Exp 6 * by: NetBSD: makerumpif.sh,v 1.8 2014/04/25 17:50:01 pooka Exp 7 */ 8 9#ifndef _RUMP_PRIF_VFS_H_ 10#define _RUMP_PRIF_VFS_H_ 11 12void rump_getvninfo(struct vnode *, enum rump_vtype *, off_t *, dev_t *); 13typedef void (*rump_getvninfo_fn)(struct vnode *, enum rump_vtype *, off_t *, dev_t *); 14struct vfsops * rump_vfslist_iterate(struct vfsops *); 15typedef struct vfsops * (*rump_vfslist_iterate_fn)(struct vfsops *); 16struct vfsops * rump_vfs_getopsbyname(const char *); 17typedef struct vfsops * (*rump_vfs_getopsbyname_fn)(const char *); 18struct vattr * rump_vattr_init(void); 19typedef struct vattr * (*rump_vattr_init_fn)(void); 20void rump_vattr_settype(struct vattr *, enum rump_vtype); 21typedef void (*rump_vattr_settype_fn)(struct vattr *, enum rump_vtype); 22void rump_vattr_setmode(struct vattr *, mode_t); 23typedef void (*rump_vattr_setmode_fn)(struct vattr *, mode_t); 24void rump_vattr_setrdev(struct vattr *, dev_t); 25typedef void (*rump_vattr_setrdev_fn)(struct vattr *, dev_t); 26void rump_vattr_free(struct vattr *); 27typedef void (*rump_vattr_free_fn)(struct vattr *); 28void rump_vp_incref(struct vnode *); 29typedef void (*rump_vp_incref_fn)(struct vnode *); 30int rump_vp_getref(struct vnode *); 31typedef int (*rump_vp_getref_fn)(struct vnode *); 32void rump_vp_rele(struct vnode *); 33typedef void (*rump_vp_rele_fn)(struct vnode *); 34void rump_vp_interlock(struct vnode *); 35typedef void (*rump_vp_interlock_fn)(struct vnode *); 36void rump_freecn(struct componentname *, int); 37typedef void (*rump_freecn_fn)(struct componentname *, int); 38int rump_namei(uint32_t, uint32_t, const char *, struct vnode **, struct vnode **, struct componentname **); 39typedef int (*rump_namei_fn)(uint32_t, uint32_t, const char *, struct vnode **, struct vnode **, struct componentname **); 40struct componentname * rump_makecn(u_long, u_long, const char *, size_t, struct kauth_cred *, struct lwp *); 41typedef struct componentname * (*rump_makecn_fn)(u_long, u_long, const char *, size_t, struct kauth_cred *, struct lwp *); 42int rump_vfs_unmount(struct mount *, int); 43typedef int (*rump_vfs_unmount_fn)(struct mount *, int); 44int rump_vfs_root(struct mount *, struct vnode **, int); 45typedef int (*rump_vfs_root_fn)(struct mount *, struct vnode **, int); 46int rump_vfs_statvfs(struct mount *, struct statvfs *); 47typedef int (*rump_vfs_statvfs_fn)(struct mount *, struct statvfs *); 48int rump_vfs_sync(struct mount *, int, struct kauth_cred *); 49typedef int (*rump_vfs_sync_fn)(struct mount *, int, struct kauth_cred *); 50int rump_vfs_fhtovp(struct mount *, struct fid *, struct vnode **); 51typedef int (*rump_vfs_fhtovp_fn)(struct mount *, struct fid *, struct vnode **); 52int rump_vfs_vptofh(struct vnode *, struct fid *, size_t *); 53typedef int (*rump_vfs_vptofh_fn)(struct vnode *, struct fid *, size_t *); 54int rump_vfs_extattrctl(struct mount *, int, struct vnode *, int, const char *); 55typedef int (*rump_vfs_extattrctl_fn)(struct mount *, int, struct vnode *, int, const char *); 56void rump_vfs_syncwait(struct mount *); 57typedef void (*rump_vfs_syncwait_fn)(struct mount *); 58int rump_vfs_getmp(const char *, struct mount **); 59typedef int (*rump_vfs_getmp_fn)(const char *, struct mount **); 60void rump_vfs_mount_print(const char *, int); 61typedef void (*rump_vfs_mount_print_fn)(const char *, int); 62int rump_syspuffs_glueinit(int, int *); 63typedef int (*rump_syspuffs_glueinit_fn)(int, int *); 64void rump_vattr50_to_vattr(const struct vattr *, struct vattr *); 65typedef void (*rump_vattr50_to_vattr_fn)(const struct vattr *, struct vattr *); 66void rump_vattr_to_vattr50(const struct vattr *, struct vattr *); 67typedef void (*rump_vattr_to_vattr50_fn)(const struct vattr *, struct vattr *); 68 69#endif /* _RUMP_PRIF_VFS_H_ */ 70