Home
last modified time | relevance | path

Searched refs:mtd_part_count (Results 1 – 1 of 1) sorted by relevance

/system/core/init/
Dutil.c200 static int mtd_part_count = -1; variable
230 if (mtd_part_count < MAX_MTD_PARTITIONS) { in find_mtd_partitions()
231 strcpy(mtd_part_map[mtd_part_count].name, mtdname + 1); in find_mtd_partitions()
232 mtd_part_map[mtd_part_count].number = mtdnum; in find_mtd_partitions()
233 mtd_part_count++; in find_mtd_partitions()
253 if (mtd_part_count < 0) { in mtd_name_to_number()
254 mtd_part_count = 0; in mtd_name_to_number()
257 for (n = 0; n < mtd_part_count; n++) { in mtd_name_to_number()