1 /* $OpenBSD: udf_extern.h,v 1.11 2010/12/21 20:14:43 thib Exp $ */ 2 3 /* 4 * Written by Pedro Martelletto <pedro@ambientworks.net> in February 2005. 5 * Public domain. 6 */ 7 8 /* 9 * udf_subr.c 10 */ 11 int udf_rawnametounicode(u_int len, char *, unicode_t *); 12 int udf_vat_get(struct umount *, uint32_t); 13 int udf_vat_map(struct umount *, uint32_t *); 14 15 /* 16 * udf_vfsops.c 17 */ 18 int udf_init(struct vfsconf *); 19 int udf_mount(struct mount *, const char *, void *, struct nameidata *, 20 struct proc *); 21 int udf_unmount(struct mount *, int, struct proc *); 22 int udf_start(struct mount *, int, struct proc *); 23 int udf_root(struct mount *, struct vnode **); 24 int udf_quotactl(struct mount *, int, uid_t, caddr_t, struct proc *); 25 int udf_statfs(struct mount *, struct statfs *, struct proc *); 26 int udf_vget(struct mount *, ino_t, struct vnode **); 27 int udf_sync(struct mount *, int, struct ucred *, struct proc *); 28 int udf_sysctl(int *, u_int, void *, size_t *, void *, size_t, struct proc *); 29 int udf_checkexp(struct mount *, struct mbuf *, int *, struct ucred **); 30 int udf_fhtovp(struct mount *, struct fid *, struct vnode **); 31 int udf_vptofh(struct vnode *, struct fid *); 32 33 /* 34 * udf_vnops.c 35 */ 36 int udf_access(void *v); 37 int udf_getattr(void *v); 38 int udf_open(void *v); 39 int udf_close(void *v); 40 int udf_ioctl(void *v); 41 int udf_read(void *v); 42 int udf_readdir(void *v); 43 int udf_readlink(void *v); 44 int udf_strategy(void *v); 45 int udf_bmap(void *v); 46 int udf_lookup(void *v); 47 int udf_inactive(void *v); 48 int udf_reclaim(void *v); 49 int udf_lock(void *v); 50 int udf_unlock(void *v); 51 int udf_islocked(void *v); 52 int udf_print(void *v); 53 int udf_transname(char *, char *, int, struct umount *); 54 int udf_readatoffset(struct unode *, int *, off_t, struct buf **, 55 uint8_t **); 56 57 /* 58 * Memory pools. 59 */ 60 extern struct pool udf_trans_pool; 61 extern struct pool unode_pool; 62 extern struct pool udf_ds_pool; 63 64 /* Set of UDF vnode operations.*/ 65 extern struct vops udf_vops; 66