Lines Matching defs:region

106 	/* Store the region props */
293 /* Load the region props */
315 /* Version 0 indicates a placeholder for creation of a new region */
328 /* Get region properties */
333 /* Delete the region */
337 /* Insert the same region with new version */
342 /* Verify the oldest region version stored in the SB is the new_version */
362 * Found a new MD region allocated for upgrade to the next version.
373 * Upgraded the MD region in place.
382 /* Audit the only region version stored in the SB */
453 FTL_ERRLOG(dev, "Unknown region found in layout blob: type 0x%"PRIx32"\n", reg_search_ctx->type);
457 reg = &dev->layout.region[reg_search_ctx->type];
459 /* First region of a given type found */
468 /* Update to the oldest region version found */
476 /* Skip newer region versions */
481 /* Current region version already found */
502 FTL_ERRLOG(dev, "Unknown region version found in layout blob: reg type 0x%"PRIx32"\n",
514 struct ftl_layout_region *reg = &dev->layout.region[FTL_LAYOUT_REGION_TYPE_DATA_BASE];
519 FTL_NOTICELOG(dev, "Adding a region\n");
521 /* Add the region */
554 struct ftl_layout_region *region;
561 region = &dev->layout.region[reg_descr->type];
562 region->type = reg_descr->type;
563 region->mirror_type = FTL_LAYOUT_REGION_TYPE_INVALID;
564 region->name = ftl_md_region_name(reg_descr->type);
566 region->bdev_desc = dev->base_bdev_desc;
567 region->ioch = dev->base_ioch;
568 region->vss_blksz = 0;
606 struct ftl_layout_region *region;
621 dev->layout.region[reg_descr->type].current.version);
628 region = &dev->layout.region[reg_descr->type];
629 region->type = reg_descr->type;
630 region->mirror_type = (reg_descr->mirror_type) ? reg_descr->mirror_type :
632 region->name = ftl_md_region_name(reg_descr->type);
634 region->bdev_desc = dev->nv_cache.bdev_desc;
635 region->ioch = dev->nv_cache.cache_ioch;
636 region->vss_blksz = dev->nv_cache.md_size;