Lines Matching refs:num_parts
66 int num_parts; member
87 int *num_parts, in newpart() argument
178 parts = newpart(s + 1, &s, num_parts, this_part + 1, in newpart()
187 *num_parts = this_part + 1; in newpart()
188 alloc_size = *num_parts * sizeof(struct mtd_partition) + in newpart()
193 extra_mem = (unsigned char *)(parts + *num_parts); in newpart()
240 int num_parts; in mtdpart_setup_real() local
260 &num_parts, /* out: number of parts */ in mtdpart_setup_real()
282 this_mtd->num_parts = num_parts; in mtdpart_setup_real()
291 this_mtd->mtd_id, this_mtd->num_parts)); in mtdpart_setup_real()
333 for(i = 0, offset = 0; i < part->num_parts; i++) in parse_cmdline_partitions()
347 part->num_parts = i; in parse_cmdline_partitions()
352 sizeof(*part->parts) * part->num_parts, in parse_cmdline_partitions()
356 return part->num_parts; in parse_cmdline_partitions()