Searched refs:zone_count (Results 1 – 4 of 4) sorted by relevance
195 WARN_ON(zone < 0 || zone >= ftl->zone_count); in sm_mkoffset()212 *zone = offset >= ftl->zone_count ? -1 : offset; in sm_break_offset()565 ftl->zone_count = 1; in sm_get_media_info()611 ftl->zone_count = size_in_megs / 16; in sm_get_media_info()872 BUG_ON(zone_num >= ftl->zone_count); in sm_get_zone()1146 ftl->zones = kcalloc(ftl->zone_count, sizeof(struct ftl_zone), in sm_add_mtd()1171 trans->size = (ftl->block_size * ftl->max_lba * ftl->zone_count) >> 9; in sm_add_mtd()1189 ftl->zone_count, ftl->max_lba, in sm_add_mtd()1224 for (i = 0 ; i < ftl->zone_count; i++) { in sm_remove_dev()
34 int zone_count; /* number of zones */ member
173 int zone_count; member
155 for (i = 0; i < msb->zone_count; i++) in msb_validate_used_block_bitmap()1335 msb->zone_count = msb->block_count / MS_BLOCKS_IN_ZONE; in msb_ftl_initialize()1336 msb->logical_block_count = msb->zone_count * 496 - 2; in msb_ftl_initialize()1352 for (i = 0; i < msb->zone_count; i++) in msb_ftl_initialize()1359 msb->zone_count, msb->logical_block_count); in msb_ftl_initialize()