Lines Matching refs:i
277 int i; in mtd_free_parsed_partitions() local
279 for (i = 0; i < nparts; i++) in mtd_free_parsed_partitions()
280 free((char *)parts[i].name); in mtd_free_parsed_partitions()
719 int i, max = master->numeraseregions; in allocate_partition() local
725 for (i = 0; i < max && regions[i].offset <= slave->offset; i++) in allocate_partition()
728 if (i > 0) in allocate_partition()
729 i--; in allocate_partition()
732 for (; i < max && regions[i].offset < end; i++) { in allocate_partition()
733 if (slave->erasesize < regions[i].erasesize) in allocate_partition()
734 slave->erasesize = regions[i].erasesize; in allocate_partition()
872 int i; in add_mtd_partitions() local
876 for (i = 0; i < nbparts; i++) { in add_mtd_partitions()
877 slave = allocate_partition(master, parts + i, i, cur_offset); in add_mtd_partitions()