Searched refs:partdef (Results 1 – 3 of 3) sorted by relevance
42 static int parse_subpart(struct cmdline_subpart **subpart, char *partdef) in parse_subpart() argument53 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()74 char *next = strchr(++partdef, ')'); in parse_subpart()82 length = min_t(int, next - partdef, in parse_subpart()[all …]
16 <blkdev-def> := <blkdev-id>:<partdef>[,<partdef>]17 <partdef> := <size>[@<offset>](part-name)
49 <mtddef> := <mtd-id>:<partdef>[,<partdef>]50 <partdef> := <size>[@offset][<name>][ro]