Lines Matching refs:parts
90 struct mtd_partition *parts; in bcm47xxpart_parse() local
109 parts = kcalloc(BCM47XXPART_MAX_PARTS, sizeof(struct mtd_partition), in bcm47xxpart_parse()
111 if (!parts) in bcm47xxpart_parse()
116 kfree(parts); in bcm47xxpart_parse()
144 bcm47xxpart_add_part(&parts[curr_part++], "boot", in bcm47xxpart_parse()
154 bcm47xxpart_add_part(&parts[curr_part++], "board_data", in bcm47xxpart_parse()
161 bcm47xxpart_add_part(&parts[curr_part++], "factory", in bcm47xxpart_parse()
169 bcm47xxpart_add_part(&parts[curr_part++], "POT", offset, in bcm47xxpart_parse()
177 bcm47xxpart_add_part(&parts[curr_part++], "ML", offset, in bcm47xxpart_parse()
193 bcm47xxpart_add_part(&parts[curr_part++], "firmware", in bcm47xxpart_parse()
219 bcm47xxpart_add_part(&parts[curr_part++], "rootfs", in bcm47xxpart_parse()
230 bcm47xxpart_add_part(&parts[curr_part++], "nvram", in bcm47xxpart_parse()
246 bcm47xxpart_add_part(&parts[curr_part++], "board_data", in bcm47xxpart_parse()
270 bcm47xxpart_add_part(&parts[curr_part++], "nvram", in bcm47xxpart_parse()
284 parts[i + 1].offset : master->size; in bcm47xxpart_parse()
286 parts[i].size = next_part_offset - parts[i].offset; in bcm47xxpart_parse()
291 struct mtd_partition *trx = &parts[trx_parts[i]]; in bcm47xxpart_parse()
299 *pparts = parts; in bcm47xxpart_parse()