Home
last modified time | relevance | path

Searched refs:new_subpart (Results 1 – 1 of 1) sorted by relevance

/linux/block/partitions/
H A Dcmdline.c45 struct cmdline_subpart *new_subpart; in parse_subpart() local
49 new_subpart = kzalloc_obj(struct cmdline_subpart); in parse_subpart()
50 if (!new_subpart) in parse_subpart()
54 new_subpart->size = (sector_t)(~0ULL); in parse_subpart()
57 new_subpart->size = (sector_t)memparse(partdef, &partdef); in parse_subpart()
58 if (new_subpart->size < (sector_t)PAGE_SIZE) { in parse_subpart()
67 new_subpart->from = (sector_t)memparse(partdef, &partdef); in parse_subpart()
69 new_subpart->from = (sector_t)(~0ULL); in parse_subpart()
82 strscpy(new_subpart->name, next, sizeof(new_subpart->name)); in parse_subpart()
84 new_subpart->name[0] = '\0'; in parse_subpart()
[all …]