Home
last modified time | relevance | path

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

/system/core/init/
Dutil.cpp198 static int mtd_part_count = -1; variable
228 if (mtd_part_count < MAX_MTD_PARTITIONS) { in find_mtd_partitions()
229 strcpy(mtd_part_map[mtd_part_count].name, mtdname + 1); in find_mtd_partitions()
230 mtd_part_map[mtd_part_count].number = mtdnum; in find_mtd_partitions()
231 mtd_part_count++; in find_mtd_partitions()
251 if (mtd_part_count < 0) { in mtd_name_to_number()
252 mtd_part_count = 0; in mtd_name_to_number()
255 for (n = 0; n < mtd_part_count; n++) { in mtd_name_to_number()