Lines Matching refs:idx
131 u_int mask, off, idx, sz; in parse_afs_partitions() local
146 for (idx = off = sz = 0; off < mtd->size; off += mtd->erasesize) { in parse_afs_partitions()
162 idx += 1; in parse_afs_partitions()
173 str = (char *)(parts + idx); in parse_afs_partitions()
178 for (idx = off = 0; off < mtd->size; off += mtd->erasesize) { in parse_afs_partitions()
208 parts[idx].name = str; in parse_afs_partitions()
209 parts[idx].size = size; in parse_afs_partitions()
210 parts[idx].offset = img_ptr; in parse_afs_partitions()
211 parts[idx].mask_flags = 0; in parse_afs_partitions()
214 idx, img_ptr, parts[idx].size / 1024, in parse_afs_partitions()
217 idx += 1; in parse_afs_partitions()
221 if (!idx) { in parse_afs_partitions()
227 return idx ? idx : ret; in parse_afs_partitions()