Lines Matching refs:region
40 u_int32_t bucket, nbuckets, new_bucket, new_nbuckets, region;
54 * Once we work out which region we are looking in, we have to
55 * check that we have that region mapped, and that the version
56 * we have matches the ID in the main mpool region. Otherwise
60 region = NREGION(mp, bucket);
64 infop = *infopp = &dbmp->reginfo[region];
67 /* If we have the correct region mapped, we're done. */
68 if (c_mp != NULL && regids[region] == infop->id)
77 hp = &hp[bucket - region * mp->htab_buckets];
82 * Check that we still have the correct region mapped.
84 if (regids[region] != infop->id) {
319 /* We should always be adding buckets to the last region. */
325 * With fixed-sized regions, the new region is always smaller than the
327 * we implement variable region sizes, it's possible that we will be
328 * splitting a hash bucket in the new region. Catch that here.
387 /* We should always be removing buckets from the last region. */
419 /* Detach from the region then destroy it. */