Lines Matching refs:str
60 static int __init md_setup(char *str) in md_setup() argument
67 if (*str == 'd') { in md_setup()
69 str++; in md_setup()
71 if (get_option(&str, &minor) != 2) { /* MD Number */ in md_setup()
75 str1 = str; in md_setup()
89 switch (get_option(&str, &level)) { /* RAID level */ in md_setup()
92 if (get_option(&str, &factor) != 2 || /* Chunk Size */ in md_setup()
93 get_option(&str, &fault) != 2) { in md_setup()
107 str = str1; in md_setup()
115 minor, pername, str); in md_setup()
116 md_setup_args[ent].device_names = str; in md_setup()
228 static int __init raid_setup(char *str) in raid_setup() argument
232 len = strlen(str) + 1; in raid_setup()
236 char *comma = strchr(str+pos, ','); in raid_setup()
239 wlen = (comma-str)-pos; in raid_setup()
242 if (!strncmp(str, "noautodetect", wlen)) in raid_setup()
244 if (!strncmp(str, "autodetect", wlen)) in raid_setup()
246 if (strncmp(str, "partitionable", wlen)==0) in raid_setup()
248 if (strncmp(str, "part", wlen)==0) in raid_setup()