Lines Matching defs:region
49 struct ftl_layout_region *region)
51 assert(region);
52 region->type = reg_type;
53 region->mirror_type = FTL_LAYOUT_REGION_TYPE_INVALID;
54 region->name = ftl_md_region_name(reg_type);
56 region->bdev_desc = dev->base_bdev_desc;
57 region->ioch = dev->base_ioch;
58 region->vss_blksz = 0;
90 size_t entry_size, size_t entry_count, struct ftl_layout_region *region)
109 if (!region) {
113 md_region_setup(dev, reg_type, region);
115 region->entry_size = entry_size / FTL_BLOCK_SIZE;
116 region->num_entries = entry_count;
118 region->current.version = reg_version;
119 region->current.offset = reg_search_ctx->blk_offs;
120 region->current.blocks = reg_search_ctx->blk_sz;