Home
last modified time | relevance | path

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

/Linux-v6.6/block/partitions/
Dcmdline.c120 static int parse_parts(struct cmdline_parts **parts, const char *bdevdef) in parse_parts() argument
135 next = strchr(bdevdef, ':'); in parse_parts()
141 length = min_t(int, next - bdevdef, sizeof(newparts->name) - 1); in parse_parts()
142 strscpy(newparts->name, bdevdef, length); in parse_parts()
148 bdevdef = next; in parse_parts()
149 next = strchr(bdevdef, ','); in parse_parts()
152 min_t(int, next - bdevdef, sizeof(buf) - 1); in parse_parts()
154 strscpy(buf, bdevdef, length); in parse_parts()