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