Lines Matching refs:parts
55 struct mtd_partition *parts;
68 parts = kcalloc(TRX_PARSER_MAX_PARTS, sizeof(struct mtd_partition),
70 if (!parts)
76 kfree(parts);
81 kfree(parts);
87 part = &parts[curr_part++];
94 part = &parts[curr_part++];
101 part = &parts[curr_part++];
113 parts[i + 1].offset : mtd->size;
115 parts[i].size = next_part_offset - parts[i].offset;
118 *pparts = parts;