diff options
Diffstat (limited to 'sys/gnu/ext2fs/ext2_extern.h')
-rw-r--r-- | sys/gnu/ext2fs/ext2_extern.h | 84 |
1 files changed, 42 insertions, 42 deletions
diff --git a/sys/gnu/ext2fs/ext2_extern.h b/sys/gnu/ext2fs/ext2_extern.h index 580683b..65fbad4 100644 --- a/sys/gnu/ext2fs/ext2_extern.h +++ b/sys/gnu/ext2fs/ext2_extern.h @@ -50,49 +50,49 @@ struct mount; struct vfsconf; struct vnode; -int ext2_alloc __P((struct inode *, - daddr_t, daddr_t, int, struct ucred *, daddr_t *)); -int ext2_balloc __P((struct inode *, - daddr_t, int, struct ucred *, struct buf **, int)); -int ext2_blkatoff __P((struct vnode *, off_t, char **, struct buf **)); -void ext2_blkfree __P((struct inode *, daddr_t, long)); -daddr_t ext2_blkpref __P((struct inode *, daddr_t, int, daddr_t *, daddr_t)); -int ext2_bmap __P((struct vop_bmap_args *)); -int ext2_init __P((struct vfsconf *)); -int ext2_reallocblks __P((struct vop_reallocblks_args *)); -int ext2_reclaim __P((struct vop_reclaim_args *)); -void ext2_setblock __P((struct ext2_sb_info *, u_char *, daddr_t)); -int ext2_truncate __P((struct vnode *, off_t, int, struct ucred *, struct thread *)); -int ext2_update __P((struct vnode *, int)); -int ext2_valloc __P((struct vnode *, int, struct ucred *, struct vnode **)); -int ext2_vfree __P((struct vnode *, ino_t, int)); -int ext2_lookup __P((struct vop_cachedlookup_args *)); -int ext2_readdir __P((struct vop_readdir_args *)); -void ext2_print_dinode __P((struct dinode *)); -void ext2_print_inode __P((struct inode *)); -int ext2_direnter __P((struct inode *, - struct vnode *, struct componentname *)); -int ext2_dirremove __P((struct vnode *, struct componentname *)); -int ext2_dirrewrite __P((struct inode *, - struct inode *, struct componentname *)); -int ext2_dirempty __P((struct inode *, ino_t, struct ucred *)); -int ext2_checkpath __P((struct inode *, struct inode *, struct ucred *)); -struct ext2_group_desc * get_group_desc __P((struct mount * , - unsigned int , struct buf ** )); -int ext2_group_sparse __P((int group)); -void ext2_discard_prealloc __P((struct inode *)); -int ext2_inactive __P((struct vop_inactive_args *)); -int ext2_new_block __P ((struct mount * mp, unsigned long goal, +int ext2_alloc(struct inode *, + daddr_t, daddr_t, int, struct ucred *, daddr_t *); +int ext2_balloc(struct inode *, + daddr_t, int, struct ucred *, struct buf **, int); +int ext2_blkatoff(struct vnode *, off_t, char **, struct buf **); +void ext2_blkfree(struct inode *, daddr_t, long); +daddr_t ext2_blkpref(struct inode *, daddr_t, int, daddr_t *, daddr_t); +int ext2_bmap(struct vop_bmap_args *); +int ext2_init(struct vfsconf *); +int ext2_reallocblks(struct vop_reallocblks_args *); +int ext2_reclaim(struct vop_reclaim_args *); +void ext2_setblock(struct ext2_sb_info *, u_char *, daddr_t); +int ext2_truncate(struct vnode *, off_t, int, struct ucred *, struct thread *); +int ext2_update(struct vnode *, int); +int ext2_valloc(struct vnode *, int, struct ucred *, struct vnode **); +int ext2_vfree(struct vnode *, ino_t, int); +int ext2_lookup(struct vop_cachedlookup_args *); +int ext2_readdir(struct vop_readdir_args *); +void ext2_print_dinode(struct dinode *); +void ext2_print_inode(struct inode *); +int ext2_direnter(struct inode *, + struct vnode *, struct componentname *); +int ext2_dirremove(struct vnode *, struct componentname *); +int ext2_dirrewrite(struct inode *, + struct inode *, struct componentname *); +int ext2_dirempty(struct inode *, ino_t, struct ucred *); +int ext2_checkpath(struct inode *, struct inode *, struct ucred *); +struct ext2_group_desc * get_group_desc(struct mount * , + unsigned int , struct buf ** ); +int ext2_group_sparse(int group); +void ext2_discard_prealloc(struct inode *); +int ext2_inactive(struct vop_inactive_args *); +int ext2_new_block(struct mount * mp, unsigned long goal, u_int32_t * prealloc_count, - u_int32_t * prealloc_block)); -ino_t ext2_new_inode __P ((const struct inode * dir, int mode)); -unsigned long ext2_count_free __P((struct buf *map, unsigned int numchars)); -void ext2_free_blocks __P((struct mount * mp, unsigned long block, - unsigned long count)); -void ext2_free_inode __P((struct inode * inode)); -void ext2_ei2di __P((struct ext2_inode *ei, struct dinode *di)); -void ext2_di2ei __P((struct dinode *di, struct ext2_inode *ei)); -void mark_buffer_dirty __P((struct buf *bh)); + u_int32_t * prealloc_block); +ino_t ext2_new_inode(const struct inode * dir, int mode); +unsigned long ext2_count_free(struct buf *map, unsigned int numchars); +void ext2_free_blocks(struct mount * mp, unsigned long block, + unsigned long count); +void ext2_free_inode(struct inode * inode); +void ext2_ei2di(struct ext2_inode *ei, struct dinode *di); +void ext2_di2ei(struct dinode *di, struct ext2_inode *ei); +void mark_buffer_dirty(struct buf *bh); /* * This macro allows the ufs code to distinguish between an EXT2 and a |