Home
last modified time | relevance | path

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

/block/
Dcmdline-parser.c14 struct cmdline_subpart *new_subpart; in parse_subpart() local
18 new_subpart = kzalloc(sizeof(struct cmdline_subpart), GFP_KERNEL); in parse_subpart()
19 if (!new_subpart) in parse_subpart()
23 new_subpart->size = (sector_t)(~0ULL); in parse_subpart()
26 new_subpart->size = (sector_t)memparse(partdef, &partdef); in parse_subpart()
27 if (new_subpart->size < (sector_t)PAGE_SIZE) { in parse_subpart()
36 new_subpart->from = (sector_t)memparse(partdef, &partdef); in parse_subpart()
38 new_subpart->from = (sector_t)(~0ULL); in parse_subpart()
52 sizeof(new_subpart->name) - 1); in parse_subpart()
53 strncpy(new_subpart->name, partdef, length); in parse_subpart()
[all …]