Lines Matching defs:regions
214 * required afterwards, so that the regions are marked dirty
217 * that any writes to those regions are processed before the
312 * initial setting of "regions", then a default value will be computed based
320 u_int regions;
329 regions = params->regions != 0
330 ? params->regions : pm->params.regions;
342 if (regions == 0) {
343 regions = rf_paritymap_nreg(pm->raid);
344 } else if (regions > RF_PARITYMAP_NREG) {
346 pm->raid->raidid, regions, RF_PARITYMAP_NREG);
354 if (pm->params.regions == 0)
355 pm->params.regions = regions;
369 clabel->parity_map_regions = regions;
384 clabel->parity_map_regions = regions;
393 * The number of regions may not be as many as can fit into the map, because
394 * when regions are too small, the overhead of setting parity map bits
399 * Note that, if the number of regions is less than the maximum, then some of
400 * the regions will be "fictional", corresponding to no actual disk; some
431 pm->params.regions = 0;
441 safe.regions = 0;
447 rstripes = howmany(raid->Layout.numStripe, pm->params.regions);
472 * regions which were still in cooldown (but are not dirty on disk).
505 * Note that the fictional regions are "cleaned" in one shot, so that very
515 /* Process only the actual regions. */
516 for (i = 0; i < pm->params.regions; i++) {
542 /* Now, clear the fictional regions, if any. */
619 u_int flags, regions;
653 regions = clabel->parity_map_regions;
655 g_regions = regions;
656 else if (g_regions != regions) {
678 params.regions = g_regions;
693 g_regions = raidPtr->parity_map->params.regions;
740 * XXXjld: If the number of regions is changed on disk, and
745 clabel->parity_map_regions = pm->params.regions;