Home
last modified time | relevance | path

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

/block/
Dcmdline-parser.c89 static int parse_parts(struct cmdline_parts **parts, const char *bdevdef) in parse_parts() argument
104 next = strchr(bdevdef, ':'); in parse_parts()
110 length = min_t(int, next - bdevdef, sizeof(newparts->name) - 1); in parse_parts()
111 strncpy(newparts->name, bdevdef, length); in parse_parts()
118 bdevdef = next; in parse_parts()
119 next = strchr(bdevdef, ','); in parse_parts()
122 min_t(int, next - bdevdef, sizeof(buf) - 1); in parse_parts()
124 strncpy(buf, bdevdef, length); in parse_parts()