1/*- 2 * modified for EXT2FS support in Lites 1.1 3 * 4 * Aug 1995, Godmar Back (gback@cs.utah.edu) 5 * University of Utah, Department of Computer Science 6 */ 7/*- 8 * Copyright (c) 1991, 1993, 1994 --- 19 unchanged lines hidden (view full) --- 28 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 29 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 30 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 31 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 32 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 33 * SUCH DAMAGE. 34 * 35 * @(#)ffs_extern.h 8.3 (Berkeley) 4/16/94 |
36 * $FreeBSD: head/sys/fs/ext2fs/ext2_extern.h 254283 2013-08-13 15:40:43Z pfg $ |
37 */ 38 39#ifndef _FS_EXT2FS_EXT2_EXTERN_H_ 40#define _FS_EXT2FS_EXT2_EXTERN_H_ 41 42struct ext2fs_dinode; 43struct ext2fs_direct_2; 44struct ext2fs_searchslot; 45struct indir; 46struct inode; 47struct mount; 48struct vfsconf; 49struct vnode; 50 51int ext2_add_entry(struct vnode *, struct ext2fs_direct_2 *); |
52int ext2_alloc(struct inode *, daddr_t, e4fs_daddr_t, int, 53 struct ucred *, e4fs_daddr_t *); |
54int ext2_balloc(struct inode *, 55 e2fs_lbn_t, int, struct ucred *, struct buf **, int); 56int ext2_blkatoff(struct vnode *, off_t, char **, struct buf **); |
57void ext2_blkfree(struct inode *, e4fs_daddr_t, long); 58e4fs_daddr_t ext2_blkpref(struct inode *, e2fs_lbn_t, int, e2fs_daddr_t *, 59 e2fs_daddr_t); |
60int ext2_bmap(struct vop_bmap_args *); |
61int ext2_bmaparray(struct vnode *, daddr_t, daddr_t *, int *, int *); |
62void ext2_clusteracct(struct m_ext2fs *, char *, int, daddr_t, int); 63void ext2_dirbad(struct inode *ip, doff_t offset, char *how); 64void ext2_ei2i(struct ext2fs_dinode *, struct inode *); |
65int ext2_getlbns(struct vnode *, daddr_t, struct indir *, int *); |
66void ext2_i2ei(struct inode *, struct ext2fs_dinode *); 67void ext2_itimes(struct vnode *vp); 68int ext2_reallocblks(struct vop_reallocblks_args *); 69int ext2_reclaim(struct vop_reclaim_args *); |
70int ext2_truncate(struct vnode *, off_t, int, struct ucred *, struct thread *); 71int ext2_update(struct vnode *, int); 72int ext2_valloc(struct vnode *, int, struct ucred *, struct vnode **); 73int ext2_vfree(struct vnode *, ino_t, int); 74int ext2_vinit(struct mount *, struct vop_vector *, struct vnode **vpp); 75int ext2_lookup(struct vop_cachedlookup_args *); 76int ext2_readdir(struct vop_readdir_args *); 77void ext2_print_inode(struct inode *); --- 34 unchanged lines hidden --- |