Home
last modified time | relevance | path

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

/Linux-v5.15/block/partitions/
Dcmdline.c121 static int parse_parts(struct cmdline_parts **parts, const char *bdevdef) in parse_parts() argument
136 next = strchr(bdevdef, ':'); 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()
150 bdevdef = next; in parse_parts()
151 next = strchr(bdevdef, ','); in parse_parts()
154 min_t(int, next - bdevdef, sizeof(buf) - 1); in parse_parts()
156 strncpy(buf, bdevdef, length); in parse_parts()