Home
last modified time | relevance | path

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

/Linux-v5.10/block/
Dcmdline-parser.c90 static int parse_parts(struct cmdline_parts **parts, const char *bdevdef) in parse_parts() argument
105 next = strchr(bdevdef, ':'); in parse_parts()
111 length = min_t(int, next - bdevdef, sizeof(newparts->name) - 1); in parse_parts()
112 strncpy(newparts->name, bdevdef, length); in parse_parts()
119 bdevdef = next; in parse_parts()
120 next = strchr(bdevdef, ','); in parse_parts()
123 min_t(int, next - bdevdef, sizeof(buf) - 1); in parse_parts()
125 strncpy(buf, bdevdef, length); in parse_parts()