Searched refs:newparts (Results 1 – 1 of 1) sorted by relevance
127 struct cmdline_parts *newparts; in parse_parts() local132 newparts = kzalloc(sizeof(struct cmdline_parts), GFP_KERNEL); in parse_parts()133 if (!newparts) in parse_parts()142 length = min_t(int, next - bdevdef, sizeof(newparts->name) - 1); in parse_parts()143 strncpy(newparts->name, bdevdef, length); in parse_parts()144 newparts->name[length] = '\0'; in parse_parts()145 newparts->nr_subparts = 0; in parse_parts()147 next_subpart = &newparts->subpart; in parse_parts()163 newparts->nr_subparts++; in parse_parts()167 if (!newparts->subpart) { in parse_parts()[all …]