Lines Matching defs:layout
139 g_dev.layout.nvc.total_blocks = TEST_NVC_BLKS;
140 g_dev.layout.base.total_blocks = TEST_BASE_BLKS;
149 struct ftl_layout_region *reg = &g_dev.layout.region[regno];
308 struct ftl_layout *layout = &dev->layout;
309 struct ftl_layout_region *reg = &layout->region[reg_type];
333 struct ftl_layout *layout = &dev->layout;
340 * For now SB MD layout must be empty - otherwise md free regions may be lost */
350 /* For VSS emulation the last layout type is a fixed region, we need to move back the list and end the list on previous entry */
376 FTL_LAYOUT_REGION_TYPE_FREE_NVC, layout->nvc.total_blocks);
379 FTL_LAYOUT_REGION_TYPE_FREE_BASE, layout->base.total_blocks);
391 g_dev.layout.region[reg_type].type = reg_type;
447 /* create md layout: */
470 /* looping md layout list: */
501 reg_head = &g_dev.layout.region[md_type_head];
509 reg = &g_dev.layout.region[FTL_LAYOUT_REGION_TYPE_BAND_MD];
596 /* create md layout: */
598 struct ftl_layout_region *reg = &g_dev.layout.region[regno];
634 reg = &g_dev.layout.region[FTL_LAYOUT_REGION_TYPE_BAND_MD];
705 /* load failed, invalid type in layout properties: */
714 /* load succeeded, restore layout properties: */