Lines Matching refs:parts
94 struct mtd_partition *parts; in bcm47xxpart_parse() local
113 parts = kcalloc(BCM47XXPART_MAX_PARTS, sizeof(struct mtd_partition), in bcm47xxpart_parse()
115 if (!parts) in bcm47xxpart_parse()
120 kfree(parts); in bcm47xxpart_parse()
148 bcm47xxpart_add_part(&parts[curr_part++], "boot", in bcm47xxpart_parse()
158 bcm47xxpart_add_part(&parts[curr_part++], "board_data", in bcm47xxpart_parse()
165 bcm47xxpart_add_part(&parts[curr_part++], "factory", in bcm47xxpart_parse()
173 bcm47xxpart_add_part(&parts[curr_part++], "POT", offset, in bcm47xxpart_parse()
181 bcm47xxpart_add_part(&parts[curr_part++], "ML", offset, in bcm47xxpart_parse()
197 bcm47xxpart_add_part(&parts[curr_part++], "firmware", in bcm47xxpart_parse()
223 bcm47xxpart_add_part(&parts[curr_part++], "rootfs", in bcm47xxpart_parse()
234 bcm47xxpart_add_part(&parts[curr_part++], "nvram", in bcm47xxpart_parse()
250 bcm47xxpart_add_part(&parts[curr_part++], "board_data", in bcm47xxpart_parse()
274 bcm47xxpart_add_part(&parts[curr_part++], "nvram", in bcm47xxpart_parse()
288 parts[i + 1].offset : master->size; in bcm47xxpart_parse()
290 parts[i].size = next_part_offset - parts[i].offset; in bcm47xxpart_parse()
295 struct mtd_partition *trx = &parts[trx_parts[i]]; in bcm47xxpart_parse()
303 *pparts = parts; in bcm47xxpart_parse()