Searched refs:partdef (Results 1 – 4 of 4) sorted by relevance
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()88 if (!strncmp(partdef, "ro", 2)) { in parse_subpart()90 partdef += 2; 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]
601 static int part_parse(const char *const partdef, const char **ret, struct part_info **retpart) in part_parse() argument611 p = partdef; in part_parse()