Lines Matching refs:str
63 static int __init md_setup(char *str) in md_setup() argument
70 if (*str == 'd') { in md_setup()
72 str++; in md_setup()
74 if (get_option(&str, &minor) != 2) { /* MD Number */ in md_setup()
78 str1 = str; in md_setup()
92 switch (get_option(&str, &level)) { /* RAID level */ in md_setup()
95 if (get_option(&str, &factor) != 2 || /* Chunk Size */ in md_setup()
96 get_option(&str, &fault) != 2) { in md_setup()
110 str = str1; in md_setup()
118 minor, pername, str); in md_setup()
119 md_setup_args[ent].device_names = str; in md_setup()
253 static int __init raid_setup(char *str) in raid_setup() argument
257 len = strlen(str) + 1; in raid_setup()
261 char *comma = strchr(str+pos, ','); in raid_setup()
264 wlen = (comma-str)-pos; in raid_setup()
267 if (!strncmp(str, "noautodetect", wlen)) in raid_setup()
269 if (!strncmp(str, "autodetect", wlen)) in raid_setup()
271 if (strncmp(str, "partitionable", wlen)==0) in raid_setup()
273 if (strncmp(str, "part", wlen)==0) in raid_setup()