Deleted Added
full compact
ext2_extern.h (96749) ext2_extern.h (96877)
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

--- 23 unchanged lines hidden (view full) ---

32 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
33 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
34 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
35 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
36 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
37 * SUCH DAMAGE.
38 *
39 * @(#)ffs_extern.h 8.3 (Berkeley) 4/16/94
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

--- 23 unchanged lines hidden (view full) ---

32 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
33 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
34 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
35 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
36 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
37 * SUCH DAMAGE.
38 *
39 * @(#)ffs_extern.h 8.3 (Berkeley) 4/16/94
40 * $FreeBSD: head/sys/gnu/fs/ext2fs/ext2_extern.h 96749 2002-05-16 19:08:03Z iedowse $
40 * $FreeBSD: head/sys/gnu/fs/ext2fs/ext2_extern.h 96877 2002-05-18 19:12:38Z iedowse $
41 */
42
43#ifndef _SYS_GNU_EXT2FS_EXT2_EXTERN_H_
44#define _SYS_GNU_EXT2FS_EXT2_EXTERN_H_
45
46struct ext2_inode;
47struct indir;
48struct inode;
49struct mount;
50struct vfsconf;
51struct vnode;
52
53int ext2_alloc(struct inode *,
41 */
42
43#ifndef _SYS_GNU_EXT2FS_EXT2_EXTERN_H_
44#define _SYS_GNU_EXT2FS_EXT2_EXTERN_H_
45
46struct ext2_inode;
47struct indir;
48struct inode;
49struct mount;
50struct vfsconf;
51struct vnode;
52
53int ext2_alloc(struct inode *,
54 daddr_t, daddr_t, int, struct ucred *, daddr_t *);
54 int32_t, int32_t, int, struct ucred *, int32_t *);
55int ext2_balloc(struct inode *,
55int ext2_balloc(struct inode *,
56 daddr_t, int, struct ucred *, struct buf **, int);
56 int32_t, int, struct ucred *, struct buf **, int);
57int ext2_blkatoff(struct vnode *, off_t, char **, struct buf **);
57int ext2_blkatoff(struct vnode *, off_t, char **, struct buf **);
58void ext2_blkfree(struct inode *, daddr_t, long);
59daddr_t ext2_blkpref(struct inode *, daddr_t, int, daddr_t *, daddr_t);
58void ext2_blkfree(struct inode *, int32_t, long);
59int32_t ext2_blkpref(struct inode *, int32_t, int, int32_t *, int32_t);
60int ext2_bmap(struct vop_bmap_args *);
60int ext2_bmap(struct vop_bmap_args *);
61int ext2_bmaparray(struct vnode *, daddr_t, daddr_t *, int *, int *);
61int ext2_bmaparray(struct vnode *, int32_t, int32_t *, int *, int *);
62void ext2_dirbad(struct inode *ip, doff_t offset, char *how);
63void ext2_ei2i(struct ext2_inode *, struct inode *);
62void ext2_dirbad(struct inode *ip, doff_t offset, char *how);
63void ext2_ei2i(struct ext2_inode *, struct inode *);
64int ext2_getlbns(struct vnode *, daddr_t, struct indir *, int *);
64int ext2_getlbns(struct vnode *, int32_t, struct indir *, int *);
65void ext2_i2ei(struct inode *, struct ext2_inode *);
66int ext2_ihashget(dev_t, ino_t, int, struct vnode **);
67void ext2_ihashinit(void);
68void ext2_ihashins(struct inode *);
69struct vnode *
70 ext2_ihashlookup(dev_t, ino_t);
71void ext2_ihashrem(struct inode *);
72void ext2_itimes(struct vnode *vp);
73int ext2_reallocblks(struct vop_reallocblks_args *);
74int ext2_reclaim(struct vop_reclaim_args *);
65void ext2_i2ei(struct inode *, struct ext2_inode *);
66int ext2_ihashget(dev_t, ino_t, int, struct vnode **);
67void ext2_ihashinit(void);
68void ext2_ihashins(struct inode *);
69struct vnode *
70 ext2_ihashlookup(dev_t, ino_t);
71void ext2_ihashrem(struct inode *);
72void ext2_itimes(struct vnode *vp);
73int ext2_reallocblks(struct vop_reallocblks_args *);
74int ext2_reclaim(struct vop_reclaim_args *);
75void ext2_setblock(struct ext2_sb_info *, u_char *, daddr_t);
75void ext2_setblock(struct ext2_sb_info *, u_char *, int32_t);
76int ext2_truncate(struct vnode *, off_t, int, struct ucred *, struct thread *);
77int ext2_update(struct vnode *, int);
78int ext2_valloc(struct vnode *, int, struct ucred *, struct vnode **);
79int ext2_vfree(struct vnode *, ino_t, int);
80int ext2_vinit(struct mount *, vop_t **, vop_t **, struct vnode **vpp);
81int ext2_lookup(struct vop_cachedlookup_args *);
82int ext2_readdir(struct vop_readdir_args *);
83void ext2_print_inode(struct inode *);

--- 32 unchanged lines hidden ---
76int ext2_truncate(struct vnode *, off_t, int, struct ucred *, struct thread *);
77int ext2_update(struct vnode *, int);
78int ext2_valloc(struct vnode *, int, struct ucred *, struct vnode **);
79int ext2_vfree(struct vnode *, ino_t, int);
80int ext2_vinit(struct mount *, vop_t **, vop_t **, struct vnode **vpp);
81int ext2_lookup(struct vop_cachedlookup_args *);
82int ext2_readdir(struct vop_readdir_args *);
83void ext2_print_inode(struct inode *);

--- 32 unchanged lines hidden ---