Searched refs:cmd_match (Results 1 – 1 of 1) sorted by relevance
/Linux-v6.1/drivers/md/ |
D | md.c | 2863 static int cmd_match(const char *cmd, const char *str) in cmd_match() function 2950 if (cmd_match(buf, "faulty") && rdev->mddev->pers) { in state_store() 2957 } else if (cmd_match(buf, "remove")) { in state_store() 2978 } else if (cmd_match(buf, "writemostly")) { in state_store() 2983 } else if (cmd_match(buf, "-writemostly")) { in state_store() 2988 } else if (cmd_match(buf, "blocked")) { in state_store() 2991 } else if (cmd_match(buf, "-blocked")) { in state_store() 3007 } else if (cmd_match(buf, "insync") && rdev->raid_disk == -1) { in state_store() 3010 } else if (cmd_match(buf, "failfast")) { in state_store() 3014 } else if (cmd_match(buf, "-failfast")) { in state_store() [all …]
|