Lines Matching refs:parts
168 struct mtd_partition *parts; in parse_afs_partitions() local
208 parts = kzalloc(sz, GFP_KERNEL); in parse_afs_partitions()
209 if (!parts) in parse_afs_partitions()
212 str = (char *)(parts + idx); in parse_afs_partitions()
237 parts[idx].name = str; in parse_afs_partitions()
238 parts[idx].size = (iis.length + mtd->erasesize - 1) & ~(mtd->erasesize - 1); in parse_afs_partitions()
239 parts[idx].offset = img_ptr; in parse_afs_partitions()
240 parts[idx].mask_flags = 0; in parse_afs_partitions()
243 idx, img_ptr, parts[idx].size / 1024, in parse_afs_partitions()
251 kfree(parts); in parse_afs_partitions()
252 parts = NULL; in parse_afs_partitions()
255 *pparts = parts; in parse_afs_partitions()