Lines Matching defs:fcnt
47 static int fcnt;
69 for (fcnt = 0; (env = prom_getenv(flash_name)); fcnt++)
70 flash_name[5] = '0' + fcnt + 1;
72 if (fcnt < 1)
75 printk(KERN_NOTICE "Found %d PMC flash devices\n", fcnt);
77 fcnt * sizeof(struct map_info *), GFP_KERNEL);
79 fcnt * sizeof(struct mtd_partition *), GFP_KERNEL);
81 fcnt * sizeof(struct mtd_info), GFP_KERNEL);
82 memset(msp_maps, 0, fcnt * sizeof(struct mtd_info));
85 for (i = 0; i < fcnt; i++) {