1 /*- 2 * Copyright (c) 1991 The Regents of the University of California. 3 * All rights reserved. 4 * 5 * %sccs.include.redist.c% 6 * 7 * @(#)lfs_extern.h 5.1 (Berkeley) 09/25/91 8 */ 9 10 struct fid; 11 struct inode; 12 struct mount; 13 struct statfs; 14 struct proc; 15 struct ucred; 16 struct vnode; 17 18 daddr_t itod __P((LFS *, ino_t)); 19 int lfs_balloc __P((LFS *, VNODE *, daddr_t, int, BUF **)); 20 int lfs_bmap __P((struct inode *, daddr_t, daddr_t *)); 21 void lfs_bwrite __P((struct buf *)); 22 int lfs_fhtovp __P((struct mount *, struct fid *, struct vnode **)); 23 u_long lfs_getversion __P((LFS *fs, ino_t)); 24 ino_t lfs_ialloc __P((LFS *, struct inode *, struct inode **, 25 struct ucred *)); 26 IFILE *lfs_ientry __P((LFS *, ino_t)); 27 struct dinode * 28 lfs_ifind __P((LFS *, ino_t, void *)); 29 void lfs_ifree __P((struct inode *)); 30 int lfs_inactive __P((struct vnode *, struct proc *)); 31 int lfs_init __P((void)); 32 int lfs_lookup __P((struct vnode *, struct nameidata *, struct proc *)); 33 int lfs_mount __P((struct mount *, char *, caddr_t, struct nameidata *, struct proc *)); 34 int lfs_root __P((struct mount *, struct vnode **)); 35 int lfs_statfs __P((struct mount *, struct statfs *, struct proc *)); 36 int lfs_sync __P((struct mount *, int)); 37 int lfs_unmount __P((struct mount *, int, struct proc *)); 38 int lfs_vcreate __P((struct mount *, ino_t, struct vnode **)); 39 40 #ifdef DEBUG 41 void dump_super __P((LFS *)); 42 void dump_dinode __P((struct dinode *)); 43 void lfs_print_inumber __P((struct vnode *)); 44 #endif 45 46 extern struct vnodeops lfs_vnodeops; 47