Lines Matching refs:fcnt
48 static int fcnt;
70 for (fcnt = 0; (env = prom_getenv(flash_name)); fcnt++)
71 flash_name[5] = '0' + fcnt + 1;
73 if (fcnt < 1)
76 printk(KERN_NOTICE "Found %d PMC flash devices\n", fcnt);
78 msp_flash = kmalloc(fcnt * sizeof(struct map_info *), GFP_KERNEL);
82 msp_parts = kmalloc(fcnt * sizeof(struct mtd_partition *), GFP_KERNEL);
86 msp_maps = kcalloc(fcnt, sizeof(struct mtd_info), GFP_KERNEL);
91 for (i = 0; i < fcnt; i++) {
209 for (i = 0; i < fcnt; i++) {