ffs_extern.h (99206) | ffs_extern.h (100344) |
---|---|
1/*- 2 * Copyright (c) 1991, 1993, 1994 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 17 unchanged lines hidden (view full) --- 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * 33 * @(#)ffs_extern.h 8.6 (Berkeley) 3/30/95 | 1/*- 2 * Copyright (c) 1991, 1993, 1994 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 17 unchanged lines hidden (view full) --- 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * 33 * @(#)ffs_extern.h 8.6 (Berkeley) 3/30/95 |
34 * $FreeBSD: head/sys/ufs/ffs/ffs_extern.h 99206 2002-07-01 11:00:47Z iedowse $ | 34 * $FreeBSD: head/sys/ufs/ffs/ffs_extern.h 100344 2002-07-19 07:29:39Z mckusick $ |
35 */ 36 37#ifndef _UFS_FFS_EXTERN_H 38#define _UFS_FFS_EXTERN_H 39 40struct buf; 41struct cg; 42struct fid; --- 31 unchanged lines hidden (view full) --- 74void ffs_load_inode(struct buf *, struct inode *, struct malloc_type *, 75 struct fs *, ino_t); 76int ffs_mountfs(struct vnode *, struct mount *, struct thread *, 77 struct malloc_type *); 78int ffs_mountroot(void); 79int ffs_mount(struct mount *, char *, caddr_t, struct nameidata *, 80 struct thread *); 81int ffs_reallocblks(struct vop_reallocblks_args *); | 35 */ 36 37#ifndef _UFS_FFS_EXTERN_H 38#define _UFS_FFS_EXTERN_H 39 40struct buf; 41struct cg; 42struct fid; --- 31 unchanged lines hidden (view full) --- 74void ffs_load_inode(struct buf *, struct inode *, struct malloc_type *, 75 struct fs *, ino_t); 76int ffs_mountfs(struct vnode *, struct mount *, struct thread *, 77 struct malloc_type *); 78int ffs_mountroot(void); 79int ffs_mount(struct mount *, char *, caddr_t, struct nameidata *, 80 struct thread *); 81int ffs_reallocblks(struct vop_reallocblks_args *); |
82int ffs_realloccg(struct inode *, 83 ufs2_daddr_t, ufs2_daddr_t, int, int, struct ucred *, struct buf **); | 82int ffs_realloccg(struct inode *, ufs2_daddr_t, ufs2_daddr_t, 83 ufs2_daddr_t, int, int, struct ucred *, struct buf **); |
84void ffs_setblock(struct fs *, u_char *, ufs1_daddr_t); 85int ffs_snapblkfree(struct fs *, struct vnode *, ufs2_daddr_t, long, ino_t); 86void ffs_snapremove(struct vnode *vp); 87int ffs_snapshot(struct mount *mp, char *snapfile); 88void ffs_snapshot_mount(struct mount *mp); 89void ffs_snapshot_unmount(struct mount *mp); 90int ffs_statfs(struct mount *, struct statfs *, struct thread *); 91int ffs_sync(struct mount *, int, struct ucred *, struct thread *); --- 18 unchanged lines hidden (view full) --- 110int softdep_mount(struct vnode *, struct mount *, struct fs *, 111 struct ucred *); 112int softdep_flushworklist(struct mount *, int *, struct thread *); 113int softdep_flushfiles(struct mount *, int, struct thread *); 114void softdep_update_inodeblock(struct inode *, struct buf *, int); 115void softdep_load_inodeblock(struct inode *); 116void softdep_freefile(struct vnode *, ino_t, int); 117int softdep_request_cleanup(struct fs *, struct vnode *); | 84void ffs_setblock(struct fs *, u_char *, ufs1_daddr_t); 85int ffs_snapblkfree(struct fs *, struct vnode *, ufs2_daddr_t, long, ino_t); 86void ffs_snapremove(struct vnode *vp); 87int ffs_snapshot(struct mount *mp, char *snapfile); 88void ffs_snapshot_mount(struct mount *mp); 89void ffs_snapshot_unmount(struct mount *mp); 90int ffs_statfs(struct mount *, struct statfs *, struct thread *); 91int ffs_sync(struct mount *, int, struct ucred *, struct thread *); --- 18 unchanged lines hidden (view full) --- 110int softdep_mount(struct vnode *, struct mount *, struct fs *, 111 struct ucred *); 112int softdep_flushworklist(struct mount *, int *, struct thread *); 113int softdep_flushfiles(struct mount *, int, struct thread *); 114void softdep_update_inodeblock(struct inode *, struct buf *, int); 115void softdep_load_inodeblock(struct inode *); 116void softdep_freefile(struct vnode *, ino_t, int); 117int softdep_request_cleanup(struct fs *, struct vnode *); |
118void softdep_setup_freeblocks(struct inode *, off_t); | 118void softdep_setup_freeblocks(struct inode *, off_t, int); |
119void softdep_setup_inomapdep(struct buf *, struct inode *, ino_t); 120void softdep_setup_blkmapdep(struct buf *, struct fs *, ufs2_daddr_t); 121void softdep_setup_allocdirect(struct inode *, ufs_lbn_t, ufs2_daddr_t, 122 ufs2_daddr_t, long, long, struct buf *); | 119void softdep_setup_inomapdep(struct buf *, struct inode *, ino_t); 120void softdep_setup_blkmapdep(struct buf *, struct fs *, ufs2_daddr_t); 121void softdep_setup_allocdirect(struct inode *, ufs_lbn_t, ufs2_daddr_t, 122 ufs2_daddr_t, long, long, struct buf *); |
123void softdep_setup_allocext(struct inode *, ufs_lbn_t, ufs2_daddr_t, 124 ufs2_daddr_t, long, long, struct buf *); |
|
123void softdep_setup_allocindir_meta(struct buf *, struct inode *, 124 struct buf *, int, ufs2_daddr_t); 125void softdep_setup_allocindir_page(struct inode *, ufs_lbn_t, 126 struct buf *, int, ufs2_daddr_t, ufs2_daddr_t, struct buf *); 127void softdep_fsync_mountdev(struct vnode *); 128int softdep_sync_metadata(struct vop_fsync_args *); 129/* XXX incorrectly moved to mount.h - should be indirect function */ 130#if 0 131int softdep_fsync(struct vnode *vp); 132#endif 133 134#endif /* !_UFS_FFS_EXTERN_H */ | 125void softdep_setup_allocindir_meta(struct buf *, struct inode *, 126 struct buf *, int, ufs2_daddr_t); 127void softdep_setup_allocindir_page(struct inode *, ufs_lbn_t, 128 struct buf *, int, ufs2_daddr_t, ufs2_daddr_t, struct buf *); 129void softdep_fsync_mountdev(struct vnode *); 130int softdep_sync_metadata(struct vop_fsync_args *); 131/* XXX incorrectly moved to mount.h - should be indirect function */ 132#if 0 133int softdep_fsync(struct vnode *vp); 134#endif 135 136#endif /* !_UFS_FFS_EXTERN_H */ |