Home
last modified time | relevance | path

Searched refs:nsegs (Results 1 – 4 of 4) sorted by relevance

/original-bsd/libexec/lfs_cleanerd/
H A Dcleanerd.c218 clean_loop(fsp, nsegs, options) in clean_loop() argument
220 int nsegs;
253 clean_fs(fsp, cost_benefit, nsegs, options);
279 clean_fs(fsp, cost_func, nsegs, options) in clean_fs() argument
282 int nsegs;
304 to_clean = nsegs <<
318 for (i = MIN(i, nsegs), sp = segs; i-- ; ++sp) {
358 int i, nsegs; local
382 nsegs = sp - seglist;
385 (void)printf("Returning %d segments\n", nsegs);
[all …]
H A Dlibrary.c241 int i, nelem, nblocks, nsegs, sumsize; local
258 for (nsegs = 0, timestamp = 0; nsegs < sup->su_nsums; nsegs++) {
/original-bsd/lib/libc/db/hash/
H A Dhash.c143 hashp->nsegs = 0;
144 if (alloc_segs(hashp, nsegs))
324 register int nbuckets, nsegs; local
352 nsegs = 1 << __log2(nsegs);
354 if (nsegs > hashp->DSIZE)
355 hashp->DSIZE = nsegs;
356 return (alloc_segs(hashp, nsegs));
812 hashp->nsegs++;
875 alloc_segs(hashp, nsegs) in alloc_segs() argument
877 int nsegs;
[all …]
H A Dhash.h64 int nsegs; /* Number of allocated segments */ member