mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-30 16:51:41 +00:00
Made idempotent
Reviewed by: Submitted by:
This commit is contained in:
parent
eb9fb78c34
commit
3301cc3c0a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=2177
@ -31,9 +31,12 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)ufsmount.h 8.2 (Berkeley) 1/12/94
|
||||
* $Id$
|
||||
* $Id: ufsmount.h,v 1.2 1994/08/02 07:55:04 davidg Exp $
|
||||
*/
|
||||
|
||||
#ifndef _UFS_UFS_UFSMOUNT_H_
|
||||
#define _UFS_UFS_UFSMOUNT_H_
|
||||
|
||||
struct buf;
|
||||
struct inode;
|
||||
struct nameidata;
|
||||
@ -81,4 +84,4 @@ struct ufsmount {
|
||||
#define is_sequential(ump, a, b) ((b) == (a) + ump->um_seqinc)
|
||||
#define MNINDIR(ump) ((ump)->um_nindir)
|
||||
|
||||
|
||||
#endif
|
||||
|
@ -36,9 +36,12 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)inode.h 8.4 (Berkeley) 1/21/94
|
||||
* $Id$
|
||||
* $Id: inode.h,v 1.2 1994/08/02 07:54:49 davidg Exp $
|
||||
*/
|
||||
|
||||
#ifndef _UFS_UFS_INODE_H_
|
||||
#define _UFS_UFS_INODE_H_
|
||||
|
||||
#include <ufs/ufs/dinode.h>
|
||||
|
||||
/*
|
||||
@ -160,4 +163,6 @@ struct ufid {
|
||||
ino_t ufid_ino; /* File number (ino). */
|
||||
long ufid_gen; /* Generation number. */
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif /* KERNEL */
|
||||
|
@ -31,9 +31,12 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)ufsmount.h 8.2 (Berkeley) 1/12/94
|
||||
* $Id$
|
||||
* $Id: ufsmount.h,v 1.2 1994/08/02 07:55:04 davidg Exp $
|
||||
*/
|
||||
|
||||
#ifndef _UFS_UFS_UFSMOUNT_H_
|
||||
#define _UFS_UFS_UFSMOUNT_H_
|
||||
|
||||
struct buf;
|
||||
struct inode;
|
||||
struct nameidata;
|
||||
@ -81,4 +84,4 @@ struct ufsmount {
|
||||
#define is_sequential(ump, a, b) ((b) == (a) + ump->um_seqinc)
|
||||
#define MNINDIR(ump) ((ump)->um_nindir)
|
||||
|
||||
|
||||
#endif
|
||||
|
@ -36,9 +36,12 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)inode.h 8.4 (Berkeley) 1/21/94
|
||||
* $Id$
|
||||
* $Id: inode.h,v 1.2 1994/08/02 07:54:49 davidg Exp $
|
||||
*/
|
||||
|
||||
#ifndef _UFS_UFS_INODE_H_
|
||||
#define _UFS_UFS_INODE_H_
|
||||
|
||||
#include <ufs/ufs/dinode.h>
|
||||
|
||||
/*
|
||||
@ -160,4 +163,6 @@ struct ufid {
|
||||
ino_t ufid_ino; /* File number (ino). */
|
||||
long ufid_gen; /* Generation number. */
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif /* KERNEL */
|
||||
|
@ -31,9 +31,12 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)lfs.h 8.3 (Berkeley) 9/23/93
|
||||
* $Id$
|
||||
* $Id: lfs.h,v 1.2 1994/08/02 07:54:28 davidg Exp $
|
||||
*/
|
||||
|
||||
#ifndef _UFS_LFS_LFS_H_
|
||||
#define _UFS_LFS_LFS_H_
|
||||
|
||||
#define LFS_LABELPAD 8192 /* LFS label size */
|
||||
#define LFS_SBPAD 8192 /* LFS superblock size */
|
||||
|
||||
@ -352,3 +355,5 @@ struct lfs_stats {
|
||||
};
|
||||
extern struct lfs_stats lfs_stats;
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
@ -31,9 +31,12 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)lfs_extern.h 8.2 (Berkeley) 4/16/94
|
||||
* $Id$
|
||||
* $Id: lfs_extern.h,v 1.2 1994/08/02 07:54:34 davidg Exp $
|
||||
*/
|
||||
|
||||
#ifndef _UFS_LFS_LFS_EXTERN_H_
|
||||
#define _UFS_LFS_LFS_EXTERN_H_
|
||||
|
||||
struct fid;
|
||||
struct mount;
|
||||
struct nameidata;
|
||||
@ -105,3 +108,5 @@ extern int (**lfs_fifoop_p)();
|
||||
#else
|
||||
#define LFS_FIFOOPS NULL
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
@ -31,9 +31,12 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)mfs_extern.h 8.1 (Berkeley) 6/11/93
|
||||
* $Id$
|
||||
* $Id: mfs_extern.h,v 1.2 1994/08/02 07:54:42 davidg Exp $
|
||||
*/
|
||||
|
||||
#ifndef _UFS_MFS_MFS_EXTERN_H_
|
||||
#define _UFS_MFS_MFS_EXTERN_H_
|
||||
|
||||
struct buf;
|
||||
struct mount;
|
||||
struct nameidata;
|
||||
@ -59,3 +62,5 @@ int mfs_start __P((struct mount *mp, int flags, struct proc *p));
|
||||
int mfs_statfs __P((struct mount *mp, struct statfs *sbp, struct proc *p));
|
||||
int mfs_strategy __P((struct vop_strategy_args *)); /* XXX */
|
||||
__END_DECLS
|
||||
|
||||
#endif
|
||||
|
@ -31,8 +31,13 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)mfsiom.h 8.1 (Berkeley) 6/11/93
|
||||
* $Id$
|
||||
* $Id: mfsiom.h,v 1.2 1994/08/02 07:54:45 davidg Exp $
|
||||
*/
|
||||
|
||||
#ifndef _UFS_MFS_MFSIOM_H_
|
||||
#define _UFS_MFS_MFSIOM_H_
|
||||
|
||||
#define MFS_MAPREG (MAXPHYS/NBPG + 2) /* Kernel mapping pte's */
|
||||
#define MFS_MAPSIZE 10 /* Size of alloc map for pte's */
|
||||
|
||||
#endif
|
||||
|
@ -31,9 +31,12 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)mfsnode.h 8.2 (Berkeley) 8/11/93
|
||||
* $Id$
|
||||
* $Id: mfsnode.h,v 1.2 1994/08/02 07:54:46 davidg Exp $
|
||||
*/
|
||||
|
||||
#ifndef _UFS_MFS_MFSNODE_H_
|
||||
#define _UFS_MFS_MFSNODE_H_
|
||||
|
||||
/*
|
||||
* This structure defines the control data for the memory based file system.
|
||||
*/
|
||||
@ -85,3 +88,5 @@ struct mfsnode {
|
||||
#define mfs_truncate ((int (*) __P((struct vop_truncate_args *)))mfs_badop)
|
||||
#define mfs_update ((int (*) __P((struct vop_update_args *)))mfs_badop)
|
||||
#define mfs_bwrite ((int (*) __P((struct vop_bwrite_args *)))vn_bwrite)
|
||||
|
||||
#endif
|
||||
|
@ -36,9 +36,12 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)dinode.h 8.3 (Berkeley) 1/21/94
|
||||
* $Id$
|
||||
* $Id: dinode.h,v 1.2 1994/08/02 07:54:47 davidg Exp $
|
||||
*/
|
||||
|
||||
#ifndef _UFS_UFS_DINODE_H_
|
||||
#define _UFS_UFS_DINODE_H_
|
||||
|
||||
/*
|
||||
* The root inode is the root of the file system. Inode 0 can't be used for
|
||||
* normal purposes and historically bad blocks were linked to inode 1, thus
|
||||
@ -107,3 +110,5 @@ struct dinode {
|
||||
#define IFREG 0100000 /* Regular file. */
|
||||
#define IFLNK 0120000 /* Symbolic link. */
|
||||
#define IFSOCK 0140000 /* UNIX domain socket. */
|
||||
|
||||
#endif
|
||||
|
@ -36,11 +36,11 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)dir.h 8.2 (Berkeley) 1/21/94
|
||||
* $Id$
|
||||
* $Id: dir.h,v 1.2 1994/08/02 07:54:48 davidg Exp $
|
||||
*/
|
||||
|
||||
#ifndef _DIR_H_
|
||||
#define _DIR_H_
|
||||
#ifndef _UFS_UFS_DIR_H_
|
||||
#define _UFS_UFS_DIR_H_
|
||||
|
||||
/*
|
||||
* A directory consists of some number of blocks of DIRBLKSIZ
|
||||
|
@ -36,9 +36,12 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)inode.h 8.4 (Berkeley) 1/21/94
|
||||
* $Id$
|
||||
* $Id: inode.h,v 1.2 1994/08/02 07:54:49 davidg Exp $
|
||||
*/
|
||||
|
||||
#ifndef _UFS_UFS_INODE_H_
|
||||
#define _UFS_UFS_INODE_H_
|
||||
|
||||
#include <ufs/ufs/dinode.h>
|
||||
|
||||
/*
|
||||
@ -160,4 +163,6 @@ struct ufid {
|
||||
ino_t ufid_ino; /* File number (ino). */
|
||||
long ufid_gen; /* Generation number. */
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif /* KERNEL */
|
||||
|
@ -34,11 +34,11 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)quota.h 8.1 (Berkeley) 6/11/93
|
||||
* $Id$
|
||||
* $Id: quota.h,v 1.2 1994/08/02 07:54:51 davidg Exp $
|
||||
*/
|
||||
|
||||
#ifndef _QUOTA_
|
||||
#define _QUOTA_
|
||||
#ifndef _UFS_UFS_QUOTA_
|
||||
#define _UFS_UFS_QUOTA_
|
||||
|
||||
/*
|
||||
* Definitions for disk quotas imposed on the average user
|
||||
|
@ -31,9 +31,12 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)ufs_extern.h 8.3 (Berkeley) 4/16/94
|
||||
* $Id$
|
||||
* $Id: ufs_extern.h,v 1.2 1994/08/02 07:54:54 davidg Exp $
|
||||
*/
|
||||
|
||||
#ifndef _UFS_UFS_UFS_EXTERN_H_
|
||||
#define _UFS_UFS_UFS_EXTERN_H_
|
||||
|
||||
struct buf;
|
||||
struct direct;
|
||||
struct disklabel;
|
||||
@ -124,3 +127,5 @@ int ufsfifo_write __P((struct vop_write_args *));
|
||||
int ufsfifo_close __P((struct vop_close_args *));
|
||||
#endif
|
||||
__END_DECLS
|
||||
|
||||
#endif
|
||||
|
@ -31,9 +31,12 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)ufsmount.h 8.2 (Berkeley) 1/12/94
|
||||
* $Id$
|
||||
* $Id: ufsmount.h,v 1.2 1994/08/02 07:55:04 davidg Exp $
|
||||
*/
|
||||
|
||||
#ifndef _UFS_UFS_UFSMOUNT_H_
|
||||
#define _UFS_UFS_UFSMOUNT_H_
|
||||
|
||||
struct buf;
|
||||
struct inode;
|
||||
struct nameidata;
|
||||
@ -81,4 +84,4 @@ struct ufsmount {
|
||||
#define is_sequential(ump, a, b) ((b) == (a) + ump->um_seqinc)
|
||||
#define MNINDIR(ump) ((ump)->um_nindir)
|
||||
|
||||
|
||||
#endif
|
||||
|
@ -31,9 +31,12 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)vm_extern.h 8.2 (Berkeley) 1/12/94
|
||||
* $Id$
|
||||
* $Id: vm_extern.h,v 1.3 1994/08/02 07:55:17 davidg Exp $
|
||||
*/
|
||||
|
||||
#ifndef _VM_VM_EXTERN_H_
|
||||
#define _VM_VM_EXTERN_H_
|
||||
|
||||
struct buf;
|
||||
struct loadavg;
|
||||
struct proc;
|
||||
@ -134,3 +137,5 @@ boolean_t vnode_pager_uncache __P((struct vnode *));
|
||||
void vslock __P((caddr_t, u_int));
|
||||
void vsunlock __P((caddr_t, u_int, int));
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
@ -61,9 +61,12 @@
|
||||
* any improvements or extensions that they make and grant Carnegie the
|
||||
* rights to redistribute these changes.
|
||||
*
|
||||
* $Id: vm_pageout.h,v 1.3 1994/08/02 07:55:34 davidg Exp $
|
||||
* $Id: vm_pageout.h,v 1.4 1994/08/18 22:36:08 wollman Exp $
|
||||
*/
|
||||
|
||||
#ifndef _VM_VM_PAGEOUT_H_
|
||||
#define _VM_VM_PAGEOUT_H_
|
||||
|
||||
/*
|
||||
* Header file for pageout daemon.
|
||||
*/
|
||||
@ -110,3 +113,5 @@ int vm_pageout_scan __P((void));
|
||||
void vm_pageout_page __P((vm_page_t, vm_object_t));
|
||||
void vm_pageout_cluster __P((vm_page_t, vm_object_t));
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user