ext2_extern.h (202283) | ext2_extern.h (221166) |
---|---|
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 | 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 202283 2010-01-14 14:30:54Z lulf $ | 36 * $FreeBSD: head/sys/fs/ext2fs/ext2_extern.h 221166 2011-04-28 14:27:17Z jhb $ |
37 */ 38 39#ifndef _FS_EXT2FS_EXT2_EXTERN_H_ 40#define _FS_EXT2FS_EXT2_EXTERN_H_ 41 42struct ext2fs_dinode; 43struct indir; 44struct inode; --- 31 unchanged lines hidden (view full) --- 76int ext2_dirremove(struct vnode *, struct componentname *); 77int ext2_dirrewrite(struct inode *, 78 struct inode *, struct componentname *); 79int ext2_dirempty(struct inode *, ino_t, struct ucred *); 80int ext2_checkpath(struct inode *, struct inode *, struct ucred *); 81int cg_has_sb(int i); 82int ext2_inactive(struct vop_inactive_args *); 83 | 37 */ 38 39#ifndef _FS_EXT2FS_EXT2_EXTERN_H_ 40#define _FS_EXT2FS_EXT2_EXTERN_H_ 41 42struct ext2fs_dinode; 43struct indir; 44struct inode; --- 31 unchanged lines hidden (view full) --- 76int ext2_dirremove(struct vnode *, struct componentname *); 77int ext2_dirrewrite(struct inode *, 78 struct inode *, struct componentname *); 79int ext2_dirempty(struct inode *, ino_t, struct ucred *); 80int ext2_checkpath(struct inode *, struct inode *, struct ucred *); 81int cg_has_sb(int i); 82int ext2_inactive(struct vop_inactive_args *); 83 |
84/* Flags to low-level allocation routines. */ 85#define B_CLRBUF 0x01 /* Request allocated buffer be cleared. */ 86#define B_SYNC 0x02 /* Do all allocations synchronously. */ 87#define B_METAONLY 0x04 /* Return indirect block buffer. */ 88#define B_NOWAIT 0x08 /* do not sleep to await lock */ | 84/* Flags to low-level allocation routines. 85 * The low 16-bits are reserved for IO_ flags from vnode.h. 86 */ 87#define BA_CLRBUF 0x00010000 /* Clear invalid areas of buffer. */ 88#define BA_SEQMASK 0x7F000000 /* Bits holding seq heuristic. */ 89#define BA_SEQSHIFT 24 90#define BA_SEQMAX 0x7F |
89 90extern struct vop_vector ext2_vnodeops; 91extern struct vop_vector ext2_fifoops; 92 93#endif /* !_FS_EXT2FS_EXT2_EXTERN_H_ */ | 91 92extern struct vop_vector ext2_vnodeops; 93extern struct vop_vector ext2_fifoops; 94 95#endif /* !_FS_EXT2FS_EXT2_EXTERN_H_ */ |