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