Searched refs:lg_curcells (Results 1 – 2 of 2) sorted by relevance
252 unsigned lg_prevbuckets, lg_curcells; in ckh_grow() local264 lg_curcells = ckh->lg_curbuckets + LG_CKH_BUCKET_CELLS; in ckh_grow()268 lg_curcells++; in ckh_grow()269 usize = sa2u(sizeof(ckhc_t) << lg_curcells, CACHELINE); in ckh_grow()284 ckh->lg_curbuckets = lg_curcells - LG_CKH_BUCKET_CELLS; in ckh_grow()307 unsigned lg_prevbuckets, lg_curcells; in ckh_shrink() local314 lg_curcells = ckh->lg_curbuckets + LG_CKH_BUCKET_CELLS - 1; in ckh_shrink()315 usize = sa2u(sizeof(ckhc_t) << lg_curcells, CACHELINE); in ckh_shrink()331 ckh->lg_curbuckets = lg_curcells - LG_CKH_BUCKET_CELLS; in ckh_shrink()
260 unsigned lg_prevbuckets, lg_curcells; in ckh_grow() local272 lg_curcells = ckh->lg_curbuckets + LG_CKH_BUCKET_CELLS; in ckh_grow()276 lg_curcells++; in ckh_grow()277 usize = sz_sa2u(sizeof(ckhc_t) << lg_curcells, CACHELINE); in ckh_grow()292 ckh->lg_curbuckets = lg_curcells - LG_CKH_BUCKET_CELLS; in ckh_grow()314 unsigned lg_prevbuckets, lg_curcells; in ckh_shrink() local321 lg_curcells = ckh->lg_curbuckets + LG_CKH_BUCKET_CELLS - 1; in ckh_shrink()322 usize = sz_sa2u(sizeof(ckhc_t) << lg_curcells, CACHELINE); in ckh_shrink()339 ckh->lg_curbuckets = lg_curcells - LG_CKH_BUCKET_CELLS; in ckh_shrink()