Searched refs:cmd_match (Results 1 – 1 of 1) sorted by relevance
/linux-6.1.9/drivers/md/ |
D | md.c | 2868 static int cmd_match(const char *cmd, const char *str) in cmd_match() function 2955 if (cmd_match(buf, "faulty") && rdev->mddev->pers) { in state_store() 2962 } else if (cmd_match(buf, "remove")) { in state_store() 2983 } else if (cmd_match(buf, "writemostly")) { in state_store() 2988 } else if (cmd_match(buf, "-writemostly")) { in state_store() 2993 } else if (cmd_match(buf, "blocked")) { in state_store() 2996 } else if (cmd_match(buf, "-blocked")) { in state_store() 3012 } else if (cmd_match(buf, "insync") && rdev->raid_disk == -1) { in state_store() 3015 } else if (cmd_match(buf, "failfast")) { in state_store() 3019 } else if (cmd_match(buf, "-failfast")) { in state_store() [all …]
|