Searched refs:nsegs (Results 1 - 3 of 3) sorted by relevance
/barrelfish-2018-10-04/lib/libc/db/hash/ |
H A D | hash.c | 104 int bpages, hdrsize, new_table, nsegs, save_errno; local 163 nsegs = howmany(hashp->MAX_BUCKET + 1, hashp->SGSIZE); 164 if (alloc_segs(hashp, nsegs)) 220 "NSEGS ", hashp->nsegs, 339 int nbuckets, nsegs, l2; local 365 nsegs = (nbuckets - 1) / hashp->SGSIZE + 1; 366 nsegs = 1 << __log2(nsegs); 368 if (nsegs > hashp->DSIZE) 369 hashp->DSIZE = nsegs; 876 alloc_segs(HTAB *hashp, int nsegs) argument [all...] |
H A D | hash.h | 91 int nsegs; /* Number of allocated segments */ member in struct:htab
|
/barrelfish-2018-10-04/lib/dmalloc/ |
H A D | dmalloc.c | 4310 int nsegs = 0; local 4317 ++nsegs; 4350 m->release_checks = (((size_t) nsegs > (size_t) MAX_RELEASE_CHECK_RATE)? 4351 (size_t) nsegs : (size_t) MAX_RELEASE_CHECK_RATE);
|
Completed in 58 milliseconds