Home
last modified time | relevance | path

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

/linux-6.1.9/block/partitions/ !
Dcmdline.c45 struct cmdline_subpart *new_subpart; in parse_subpart() local
49 new_subpart = kzalloc(sizeof(struct cmdline_subpart), GFP_KERNEL); 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()
83 sizeof(new_subpart->name) - 1); in parse_subpart()
84 strncpy(new_subpart->name, partdef, length); in parse_subpart()
[all …]