ext2_extern.h (2642f6b2c65b1a21f54c1c729a72ff96a0f59c37) ext2_extern.h (91f5a4670fecd56003b04db85b8abbe63a5ee4eb)
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

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

35 * @(#)ffs_extern.h 8.3 (Berkeley) 4/16/94
36 * $FreeBSD$
37 */
38
39#ifndef _FS_EXT2FS_EXT2_EXTERN_H_
40#define _FS_EXT2FS_EXT2_EXTERN_H_
41
42struct ext2fs_dinode;
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

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

35 * @(#)ffs_extern.h 8.3 (Berkeley) 4/16/94
36 * $FreeBSD$
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;
43struct indir;
44struct inode;
45struct mount;
46struct vfsconf;
47struct vnode;
48
45struct indir;
46struct inode;
47struct mount;
48struct vfsconf;
49struct vnode;
50
51int ext2_add_entry(struct vnode *, struct ext2fs_direct_2 *);
49int ext2_alloc(struct inode *,
50 int32_t, int32_t, int, struct ucred *, int32_t *);
51int ext2_balloc(struct inode *,
52 e2fs_lbn_t, int, struct ucred *, struct buf **, int);
53int ext2_blkatoff(struct vnode *, off_t, char **, struct buf **);
54void ext2_blkfree(struct inode *, int32_t, long);
55int32_t ext2_blkpref(struct inode *, e2fs_lbn_t, int, int32_t *, int32_t);
56int ext2_bmap(struct vop_bmap_args *);

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

76 struct vnode *, struct componentname *);
77int ext2_dirremove(struct vnode *, struct componentname *);
78int ext2_dirrewrite(struct inode *,
79 struct inode *, struct componentname *);
80int ext2_dirempty(struct inode *, ino_t, struct ucred *);
81int ext2_checkpath(struct inode *, struct inode *, struct ucred *);
82int cg_has_sb(int i);
83int ext2_inactive(struct vop_inactive_args *);
52int ext2_alloc(struct inode *,
53 int32_t, int32_t, int, struct ucred *, int32_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 *, int32_t, long);
58int32_t ext2_blkpref(struct inode *, e2fs_lbn_t, int, int32_t *, int32_t);
59int ext2_bmap(struct vop_bmap_args *);

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

79 struct vnode *, struct componentname *);
80int ext2_dirremove(struct vnode *, struct componentname *);
81int ext2_dirrewrite(struct inode *,
82 struct inode *, struct componentname *);
83int ext2_dirempty(struct inode *, ino_t, struct ucred *);
84int ext2_checkpath(struct inode *, struct inode *, struct ucred *);
85int cg_has_sb(int i);
86int ext2_inactive(struct vop_inactive_args *);
87int ext2_htree_add_entry(struct vnode *, struct ext2fs_direct_2 *,
88 struct componentname *);
89int ext2_htree_create_index(struct vnode *, struct componentname *,
90 struct ext2fs_direct_2 *);
91int ext2_htree_has_idx(struct inode *);
92int ext2_htree_hash(const char *, int, uint32_t *, int, uint32_t *,
93 uint32_t *);
94int ext2_htree_lookup(struct inode *, const char *, int, struct buf **,
95 int *, doff_t *, doff_t *, doff_t *, struct ext2fs_searchslot *);
96int ext2_search_dirblock(struct inode *, void *, int *, const char *, int,
97 int *, doff_t *, doff_t *, doff_t *, struct ext2fs_searchslot *);
84
98
99
85/* Flags to low-level allocation routines.
86 * The low 16-bits are reserved for IO_ flags from vnode.h.
87 */
88#define BA_CLRBUF 0x00010000 /* Clear invalid areas of buffer. */
89#define BA_SEQMASK 0x7F000000 /* Bits holding seq heuristic. */
90#define BA_SEQSHIFT 24
91#define BA_SEQMAX 0x7F
92
93extern struct vop_vector ext2_vnodeops;
94extern struct vop_vector ext2_fifoops;
95
96#endif /* !_FS_EXT2FS_EXT2_EXTERN_H_ */
100/* Flags to low-level allocation routines.
101 * The low 16-bits are reserved for IO_ flags from vnode.h.
102 */
103#define BA_CLRBUF 0x00010000 /* Clear invalid areas of buffer. */
104#define BA_SEQMASK 0x7F000000 /* Bits holding seq heuristic. */
105#define BA_SEQSHIFT 24
106#define BA_SEQMAX 0x7F
107
108extern struct vop_vector ext2_vnodeops;
109extern struct vop_vector ext2_fifoops;
110
111#endif /* !_FS_EXT2FS_EXT2_EXTERN_H_ */