Lines Matching defs:str
53 static int __init md_setup(char *str)
60 if (*str == 'd') {
62 str++;
64 if (get_option(&str, &minor) != 2) { /* MD Number */
68 str1 = str;
82 switch (get_option(&str, &level)) { /* RAID level */
85 if (get_option(&str, &factor) != 2 || /* Chunk Size */
86 get_option(&str, &fault) != 2) {
100 str = str1;
108 minor, pername, str);
109 md_setup_args[ent].device_names = str;
243 static int __init raid_setup(char *str)
247 len = strlen(str) + 1;
251 char *comma = strchr(str+pos, ',');
254 wlen = (comma-str)-pos;
257 if (!strncmp(str, "noautodetect", wlen))
259 if (!strncmp(str, "autodetect", wlen))
261 if (strncmp(str, "partitionable", wlen)==0)
263 if (strncmp(str, "part", wlen)==0)