diff options
Diffstat (limited to 'sys/ufs/ffs/ffs_extern.h')
-rw-r--r-- | sys/ufs/ffs/ffs_extern.h | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/sys/ufs/ffs/ffs_extern.h b/sys/ufs/ffs/ffs_extern.h index 8261377d334..47888bc0215 100644 --- a/sys/ufs/ffs/ffs_extern.h +++ b/sys/ufs/ffs/ffs_extern.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ffs_extern.h,v 1.32 2007/06/01 20:23:25 pedro Exp $ */ +/* $OpenBSD: ffs_extern.h,v 1.33 2008/01/05 19:49:26 otto Exp $ */ /* $NetBSD: ffs_extern.h,v 1.4 1996/02/09 22:22:22 christos Exp $ */ /* @@ -97,21 +97,21 @@ struct vop_vfree_args; __BEGIN_DECLS /* ffs_alloc.c */ -int ffs_alloc(struct inode *, daddr_t, daddr_t , int, struct ucred *, - daddr_t *); -int ffs_realloccg(struct inode *, daddr_t, daddr_t, int, int , - struct ucred *, struct buf **, daddr_t *); +int ffs_alloc(struct inode *, daddr64_t, daddr64_t , int, struct ucred *, + daddr64_t *); +int ffs_realloccg(struct inode *, daddr64_t, daddr64_t, int, int , + struct ucred *, struct buf **, daddr64_t *); int ffs_reallocblks(void *); int ffs_inode_alloc(struct inode *, mode_t, struct ucred *, struct vnode **); int ffs_inode_free(struct inode *, ino_t, mode_t); int ffs_freefile(struct inode *, ino_t, mode_t); -int32_t ffs1_blkpref(struct inode *, daddr_t, int, int32_t *); +int32_t ffs1_blkpref(struct inode *, daddr64_t, int, int32_t *); #ifdef FFS2 -int64_t ffs2_blkpref(struct inode *, daddr_t, int, int64_t *); +int64_t ffs2_blkpref(struct inode *, daddr64_t, int, int64_t *); #endif void ffs_blkfree(struct inode *, daddr64_t, long); -void ffs_clusteracct(struct fs *, struct cg *, daddr_t, int); +void ffs_clusteracct(struct fs *, struct cg *, daddr64_t, int); /* ffs_balloc.c */ int ffs_balloc(struct inode *, off_t, int, struct ucred *, int, struct buf **); @@ -127,10 +127,10 @@ void ffs_fragacct(struct fs *, int, int32_t[], int); #ifdef DIAGNOSTIC void ffs_checkoverlap(struct buf *, struct inode *); #endif -int ffs_isfreeblock(struct fs *, unsigned char *, daddr_t); -int ffs_isblock(struct fs *, unsigned char *, daddr_t); -void ffs_clrblock(struct fs *, u_char *, daddr_t); -void ffs_setblock(struct fs *, unsigned char *, daddr_t); +int ffs_isfreeblock(struct fs *, unsigned char *, daddr64_t); +int ffs_isblock(struct fs *, unsigned char *, daddr64_t); +void ffs_clrblock(struct fs *, u_char *, daddr64_t); +void ffs_setblock(struct fs *, unsigned char *, daddr64_t); /* ffs_vfsops.c */ int ffs_mountroot(void); @@ -176,13 +176,13 @@ void softdep_load_inodeblock(struct inode *); void softdep_freefile(struct vnode *, ino_t, mode_t); void softdep_setup_freeblocks(struct inode *, off_t); void softdep_setup_inomapdep(struct buf *, struct inode *, ino_t); -void softdep_setup_blkmapdep(struct buf *, struct fs *, daddr_t); -void softdep_setup_allocdirect(struct inode *, daddr64_t, daddr_t, - daddr_t, long, long, struct buf *); +void softdep_setup_blkmapdep(struct buf *, struct fs *, daddr64_t); +void softdep_setup_allocdirect(struct inode *, daddr64_t, daddr64_t, + daddr64_t, long, long, struct buf *); void softdep_setup_allocindir_meta(struct buf *, struct inode *, - struct buf *, int, daddr_t); + struct buf *, int, daddr64_t); void softdep_setup_allocindir_page(struct inode *, daddr64_t, - struct buf *, int, daddr_t, daddr_t, struct buf *); + struct buf *, int, daddr64_t, daddr64_t, struct buf *); void softdep_fsync_mountdev(struct vnode *, int); int softdep_sync_metadata(struct vop_fsync_args *); int softdep_fsync(struct vnode *); |