Home
last modified time | relevance | path

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

/linux-4.1.27/block/
Dcmdline-parser.c13 struct cmdline_subpart *new_subpart; in parse_subpart() local
17 new_subpart = kzalloc(sizeof(struct cmdline_subpart), GFP_KERNEL); in parse_subpart()
18 if (!new_subpart) in parse_subpart()
22 new_subpart->size = (sector_t)(~0ULL); in parse_subpart()
25 new_subpart->size = (sector_t)memparse(partdef, &partdef); in parse_subpart()
26 if (new_subpart->size < (sector_t)PAGE_SIZE) { in parse_subpart()
35 new_subpart->from = (sector_t)memparse(partdef, &partdef); in parse_subpart()
37 new_subpart->from = (sector_t)(~0ULL); in parse_subpart()
51 sizeof(new_subpart->name) - 1); in parse_subpart()
52 strncpy(new_subpart->name, partdef, length); in parse_subpart()
[all …]