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()572 ftl->zone_count = 1; in sm_get_media_info()619 ftl->zone_count = size_in_megs / 16; in sm_get_media_info()885 BUG_ON(zone_num >= ftl->zone_count); in sm_get_zone()1160 ftl->zones = kcalloc(ftl->zone_count, sizeof(struct ftl_zone), in sm_add_mtd()1185 trans->size = (ftl->block_size * ftl->max_lba * ftl->zone_count) >> 9; in sm_add_mtd()1203 ftl->zone_count, ftl->max_lba, in sm_add_mtd()1238 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()1341 msb->zone_count = msb->block_count / MS_BLOCKS_IN_ZONE; in msb_ftl_initialize()1342 msb->logical_block_count = msb->zone_count * 496 - 2; in msb_ftl_initialize()1358 for (i = 0; i < msb->zone_count; i++) in msb_ftl_initialize()1365 msb->zone_count, msb->logical_block_count); in msb_ftl_initialize()
Completed in 11 milliseconds