Searched refs:g_mtd_state (Results 1 – 1 of 1) sorted by relevance
62 static MtdState g_mtd_state = { variable79 if (g_mtd_state.partitions == NULL) { in mtd_scan_partitions()86 g_mtd_state.partitions = partitions; in mtd_scan_partitions()87 g_mtd_state.partitions_allocd = nump; in mtd_scan_partitions()90 g_mtd_state.partition_count = 0; in mtd_scan_partitions()96 for (i = 0; i < g_mtd_state.partitions_allocd; i++) { in mtd_scan_partitions()97 MtdPartition *p = &g_mtd_state.partitions[i]; in mtd_scan_partitions()143 MtdPartition *p = &g_mtd_state.partitions[mtdnum]; in mtd_scan_partitions()152 g_mtd_state.partition_count++; in mtd_scan_partitions()167 return g_mtd_state.partition_count; in mtd_scan_partitions()[all …]