Searched refs:nparts (Results 1 – 4 of 4) sorted by relevance
257 int nparts, ret; in mtd_probe_devices() local327 ret = mtd_parse_partitions(mtd, &mtdparts, &parts, &nparts); in mtd_probe_devices()334 if (!nparts) in mtd_probe_devices()338 add_mtd_partitions(mtd, parts, nparts); in mtd_probe_devices()341 mtd_free_parsed_partitions(parts, nparts); in mtd_probe_devices()
211 int nparts = 0; in mtd_parse_partitions() local222 nparts++; in mtd_parse_partitions()226 parts = malloc(sizeof(*parts) * nparts); in mtd_parse_partitions()233 for (idx = 0; idx < nparts; idx++) { in mtd_parse_partitions()261 *_nparts = nparts; in mtd_parse_partitions()277 unsigned int nparts) in mtd_free_parsed_partitions() argument281 for (i = 0; i < nparts; i++) in mtd_free_parsed_partitions()
93 unsigned int nparts);104 mtd_free_parsed_partitions(struct mtd_partition *parts, unsigned int nparts) in mtd_free_parsed_partitions() argument
573 int nparts) in add_mtd_partitions() argument
Completed in 8 milliseconds