Home
last modified time | relevance | path

Searched refs:maxproc (Results 1 – 16 of 16) sorted by relevance

/original-bsd/sys/miscfs/procfs/
H A Dprocfs_vfsops.c122 sbp->f_files = maxproc; /* approx */
123 sbp->f_ffree = maxproc - nprocs; /* approx */
/original-bsd/sys/conf/
H A Dparam.c51 int maxproc = NPROC; variable
/original-bsd/sys/kern/
H A Dkern_proc.c57 pidhashtbl = hashinit(maxproc / 4, M_PROC, &pidhash); in procinit()
58 pgrphashtbl = hashinit(maxproc / 4, M_PROC, &pgrphash); in procinit()
59 uihashtbl = hashinit(maxproc / 16, M_PROC, &uihash); in procinit()
H A Dkern_fork.c70 if ((nprocs >= maxproc - 1 && uid != 0) || nprocs >= maxproc) {
H A Dkern_resource.c315 if (limp->rlim_cur > maxproc)
316 limp->rlim_cur = maxproc;
317 if (limp->rlim_max > maxproc)
318 limp->rlim_max = maxproc;
H A Dkern_sysctl.c187 return (sysctl_int(oldp, oldlenp, newp, newlen, &maxproc));
/original-bsd/sys/sys/
H A Dproc.h223 extern int nprocs, maxproc; /* Current and max number of procs. */
/original-bsd/usr.bin/make/
H A Djob.c2074 Job_Init (maxproc, maxlocal) in Job_Init() argument
2075 int maxproc; /* the greatest number of jobs which may be in Job_Init()
2086 maxJobs = maxproc;
/original-bsd/sys/hp300/hp300/
H A Dpmap.c385 npg = min(atop(HP_MAX_KPTSIZE), maxproc+16);
426 s = maxproc * HP_STSIZE;
434 s = min(HP_PTMAXSIZE, maxproc*HP_MAX_PTSIZE);
H A Dmachdep.c203 valloc(swapmap, struct map, nswapmap = maxproc * 2); in cpu_startup()
/original-bsd/sys/sparc/sparc/
H A Dmachdep.c223 valloc(swapmap, struct map, nswapmap = maxproc * 2);
/original-bsd/sys/news3400/news3400/
H A Dmachdep.c212 valloc(swapmap, struct map, nswapmap = maxproc * 2);
/original-bsd/sys/luna68k/luna68k/
H A Dpmap.c381 npg = min(atop(LUNA_MAX_KPTSIZE), maxproc+16);
424 s = min(LUNA_PTMAXSIZE, maxproc*LUNA_MAX_PTSIZE);
H A Dmachdep.c173 valloc(swapmap, struct map, nswapmap = maxproc * 2); in cpu_startup()
/original-bsd/sys/i386/i386/
H A Dmachdep.c137 valloc(swapmap, struct map, nswapmap = maxproc * 2);
/original-bsd/sys/pmax/pmax/
H A Dmachdep.c582 valloc(swapmap, struct map, nswapmap = maxproc * 2);