Lines Matching refs:partdef
42 static int parse_subpart(struct cmdline_subpart **subpart, char *partdef) in parse_subpart() argument
53 if (*partdef == '-') { in parse_subpart()
55 partdef++; in parse_subpart()
57 new_subpart->size = (sector_t)memparse(partdef, &partdef); in parse_subpart()
65 if (*partdef == '@') { in parse_subpart()
66 partdef++; in parse_subpart()
67 new_subpart->from = (sector_t)memparse(partdef, &partdef); in parse_subpart()
72 if (*partdef == '(') { in parse_subpart()
73 partdef++; in parse_subpart()
74 char *next = strsep(&partdef, ")"); in parse_subpart()
88 if (!strncmp(partdef, "ro", 2)) { in parse_subpart()
90 partdef += 2; in parse_subpart()
93 if (!strncmp(partdef, "lk", 2)) { in parse_subpart()
95 partdef += 2; in parse_subpart()