be consistent with whitespace

This commit is contained in:
lukem 2001-03-19 01:10:51 +00:00
parent c40daf0aed
commit 211a59bbed
1 changed files with 22 additions and 22 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: param.h,v 1.123 2001/03/19 00:29:04 chs Exp $ */ /* $NetBSD: param.h,v 1.124 2001/03/19 01:10:51 lukem Exp $ */
/*- /*-
* Copyright (c) 1982, 1986, 1989, 1993 * Copyright (c) 1982, 1986, 1989, 1993
@ -41,14 +41,14 @@
*/ */
#ifndef _SYS_PARAM_H_ #ifndef _SYS_PARAM_H_
#define _SYS_PARAM_H_ #define _SYS_PARAM_H_
/* /*
* Historic BSD #defines -- probably will remain untouched for all time. * Historic BSD #defines -- probably will remain untouched for all time.
*/ */
#define BSD 199506 /* System version (year & month). */ #define BSD 199506 /* System version (year & month). */
#define BSD4_3 1 #define BSD4_3 1
#define BSD4_4 1 #define BSD4_4 1
/* /*
* #define __NetBSD_Version__ MMmmrrpp00 * #define __NetBSD_Version__ MMmmrrpp00
@ -67,7 +67,7 @@
* Don't forget to change conf/osrelease.sh too. * Don't forget to change conf/osrelease.sh too.
*/ */
#define __NetBSD_Version__ 105190000 /* NetBSD 1.5S */ #define __NetBSD_Version__ 105190000 /* NetBSD 1.5S */
/* /*
* Historical NetBSD #define * Historical NetBSD #define
@ -81,7 +81,7 @@
* *
*/ */
#define NetBSD 199905 /* NetBSD version (year & month). */ #define NetBSD 199905 /* NetBSD version (year & month). */
#include <sys/null.h> #include <sys/null.h>
@ -107,10 +107,10 @@
#define NGROUPS NGROUPS_MAX /* max number groups */ #define NGROUPS NGROUPS_MAX /* max number groups */
#define NOFILE OPEN_MAX /* max open files per process */ #define NOFILE OPEN_MAX /* max open files per process */
#define NOGROUP 65535 /* marker for empty group set member */ #define NOGROUP 65535 /* marker for empty group set member */
#define MAXHOSTNAMELEN 256 /* max hostname size */ #define MAXHOSTNAMELEN 256 /* max hostname size */
#ifndef MAXUPRC /* max simultaneous processes */ #ifndef MAXUPRC /* max simultaneous processes */
#define MAXUPRC CHILD_MAX /* POSIX 1003.1-compliant default */ #define MAXUPRC CHILD_MAX /* POSIX 1003.1-compliant default */
#else #else
#if (MAXUPRC - 0) < CHILD_MAX #if (MAXUPRC - 0) < CHILD_MAX
#error MAXUPRC less than CHILD_MAX. See options(4) for details. #error MAXUPRC less than CHILD_MAX. See options(4) for details.
@ -126,13 +126,13 @@
#include <sys/ucred.h> #include <sys/ucred.h>
#include <sys/uio.h> #include <sys/uio.h>
#ifndef NPROC #ifndef NPROC
#define NPROC (20 + 16 * MAXUSERS) #define NPROC (20 + 16 * MAXUSERS)
#endif #endif
#ifndef NTEXT #ifndef NTEXT
#define NTEXT (80 + NPROC / 8) /* actually the object cache */ #define NTEXT (80 + NPROC / 8) /* actually the object cache */
#endif #endif
#ifndef NVNODE #ifndef NVNODE
#define NVNODE (NPROC + NTEXT + 100) #define NVNODE (NPROC + NTEXT + 100)
#define NVNODE_IMPLICIT #define NVNODE_IMPLICIT
#endif #endif
#endif /* _KERNEL */ #endif /* _KERNEL */
@ -172,7 +172,7 @@
#define NODEV (dev_t)(-1) /* non-existent device */ #define NODEV (dev_t)(-1) /* non-existent device */
#define CBLOCK 64 /* Clist block size, must be a power of 2. */ #define CBLOCK 64 /* Clist block size, must be a power of 2. */
#define CBQSIZE (CBLOCK/NBBY) /* Quote bytes/cblock - can do better. */ #define CBQSIZE (CBLOCK/NBBY) /* Quote bytes/cblock - can do better. */
/* Data chars/clist. */ /* Data chars/clist. */
#define CBSIZE (CBLOCK - sizeof(struct cblock *) - CBQSIZE) #define CBSIZE (CBLOCK - sizeof(struct cblock *) - CBQSIZE)
#define CROUND (CBLOCK - 1) /* Clist rounding. */ #define CROUND (CBLOCK - 1) /* Clist rounding. */
@ -189,7 +189,7 @@
#ifndef MAXBSIZE /* XXX */ #ifndef MAXBSIZE /* XXX */
#define MAXBSIZE MAXPHYS #define MAXBSIZE MAXPHYS
#endif #endif
#define MAXFRAG 8 #define MAXFRAG 8
/* /*
* MAXPATHLEN defines the longest permissible path length after expanding * MAXPATHLEN defines the longest permissible path length after expanding
@ -201,7 +201,7 @@
* infinite loops reasonably quickly. * infinite loops reasonably quickly.
*/ */
#define MAXPATHLEN PATH_MAX #define MAXPATHLEN PATH_MAX
#define MAXSYMLINKS 32 #define MAXSYMLINKS 32
/* Bit map related macros. */ /* Bit map related macros. */
#define setbit(a,i) ((a)[(i)/NBBY] |= 1<<((i)%NBBY)) #define setbit(a,i) ((a)[(i)/NBBY] |= 1<<((i)%NBBY))
@ -214,11 +214,11 @@
#define howmany(x, y) (((x)+((y)-1))/(y)) #define howmany(x, y) (((x)+((y)-1))/(y))
#endif #endif
#define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) #define roundup(x, y) ((((x)+((y)-1))/(y))*(y))
#define powerof2(x) ((((x)-1)&(x))==0) #define powerof2(x) ((((x)-1)&(x))==0)
/* Macros for min/max. */ /* Macros for min/max. */
#define MIN(a,b) (((a)<(b))?(a):(b)) #define MIN(a,b) (((a)<(b))?(a):(b))
#define MAX(a,b) (((a)>(b))?(a):(b)) #define MAX(a,b) (((a)>(b))?(a):(b))
/* /*
* Constants for setting the parameters of the kernel memory allocator. * Constants for setting the parameters of the kernel memory allocator.
@ -235,8 +235,8 @@
* Constraints: NBPG <= MAXALLOCSAVE <= 2 ** (MINBUCKET + 14), and * Constraints: NBPG <= MAXALLOCSAVE <= 2 ** (MINBUCKET + 14), and
* MAXALLOCSIZE must be a power of two. * MAXALLOCSIZE must be a power of two.
*/ */
#define MINBUCKET 4 /* 4 => min allocation of 16 bytes */ #define MINBUCKET 4 /* 4 => min allocation of 16 bytes */
#define MAXALLOCSAVE (2 * NBPG) #define MAXALLOCSAVE (2 * NBPG)
/* /*
* Scale factor for scaled integers used to count %cpu time and load avgs. * Scale factor for scaled integers used to count %cpu time and load avgs.
@ -250,17 +250,17 @@
* FSHIFT must be at least 11; this gives us a maximum load avg of ~1024. * FSHIFT must be at least 11; this gives us a maximum load avg of ~1024.
*/ */
#define FSHIFT 11 /* bits to right of fixed binary point */ #define FSHIFT 11 /* bits to right of fixed binary point */
#define FSCALE (1<<FSHIFT) #define FSCALE (1<<FSHIFT)
/* /*
* Defaults for Unified Buffer Cache parameters. * Defaults for Unified Buffer Cache parameters.
*/ */
#ifndef UBC_WINSHIFT #ifndef UBC_WINSHIFT
#define UBC_WINSHIFT 13 #define UBC_WINSHIFT 13
#endif #endif
#ifndef UBC_NWINS #ifndef UBC_NWINS
#define UBC_NWINS 1024 #define UBC_NWINS 1024
#endif #endif
#endif /* !_SYS_PARAM_H_ */ #endif /* !_SYS_PARAM_H_ */