Searched refs:mtd_part (Results 1 – 2 of 2) sorted by relevance
211 struct mtd_part { struct392 struct mtd_part part;
6334 + mtd_partition *mtd_part = GetSpinorPartitionHead();6394 + LOS_DL_LIST_FOR_EACH_ENTRY(mtd_part,part_head, mtd_partition, node_info) {6395 + if (mtd_part->patitionnum == part_no)6407 + jffs2_dev_list[part_no].blockEnd = mtd_part->end_block;6409 + jffs2_dev_list[part_no].blockStart = mtd_part->start_block;6413 + sb->jffs2_sb.mtd = mtd_part->mtd_info;6417 + c->flash_size = (mtd_part->end_block - mtd_part->start_block + 1) * spinor_mtd->eraseSize;