Searched refs:mtd_part_count (Results 1 – 1 of 1) sorted by relevance
222 static int mtd_part_count = -1; variable252 if (mtd_part_count < MAX_MTD_PARTITIONS) { in find_mtd_partitions()253 strcpy(mtd_part_map[mtd_part_count].name, mtdname + 1); in find_mtd_partitions()254 mtd_part_map[mtd_part_count].number = mtdnum; in find_mtd_partitions()255 mtd_part_count++; in find_mtd_partitions()275 if (mtd_part_count < 0) { in mtd_name_to_number()276 mtd_part_count = 0; in mtd_name_to_number()279 for (n = 0; n < mtd_part_count; n++) { in mtd_name_to_number()