Lines Matching defs:subpart
11 static int parse_subpart(struct cmdline_subpart **subpart, char *partdef)
16 *subpart = NULL;
72 *subpart = new_subpart;
81 struct cmdline_subpart *subpart;
83 while (parts->subpart) {
84 subpart = parts->subpart;
85 parts->subpart = subpart->next_subpart;
86 kfree(subpart);
116 next_subpart = &newparts->subpart;
136 if (!newparts->subpart) {
232 struct cmdline_subpart *subpart;
234 for (subpart = parts->subpart; subpart;
235 subpart = subpart->next_subpart, slot++) {
236 if (subpart->from == (sector_t)(~0ULL))
237 subpart->from = from;
239 from = subpart->from;
244 if (subpart->size > (disk_size - from))
245 subpart->size = disk_size - from;
247 from += subpart->size;
249 if (add_part(slot, subpart, param))