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

/system/core/init/
H A Dinit.c496 static int mtd_part_count = -1; variable
526 if (mtd_part_count < MAX_MTD_PARTITIONS) {
527 strcpy(mtd_part_map[mtd_part_count].name, mtdname + 1);
528 mtd_part_map[mtd_part_count].number = mtdnum;
529 mtd_part_count++;
549 if (mtd_part_count < 0) {
550 mtd_part_count = 0;
553 for (n = 0; n < mtd_part_count; n++) {

Completed in 73 milliseconds