Lines Matching refs:parts
54 struct mtd_partition *parts;
61 parts = kcalloc(TRX_PARSER_MAX_PARTS, sizeof(struct mtd_partition),
63 if (!parts)
69 kfree(parts);
74 kfree(parts);
80 part = &parts[curr_part++];
87 part = &parts[curr_part++];
94 part = &parts[curr_part++];
106 parts[i + 1].offset : mtd->size;
108 parts[i].size = next_part_offset - parts[i].offset;
111 *pparts = parts;