Home
last modified time | relevance | path

Searched refs:cmd_match (Results 1 – 1 of 1) sorted by relevance

/linux-6.6.21/drivers/md/
Dmd.c2871 static int cmd_match(const char *cmd, const char *str) in cmd_match() function
2958 if (cmd_match(buf, "faulty") && rdev->mddev->pers) { in state_store()
2965 } else if (cmd_match(buf, "remove")) { in state_store()
2986 } else if (cmd_match(buf, "writemostly")) { in state_store()
2991 } else if (cmd_match(buf, "-writemostly")) { in state_store()
2996 } else if (cmd_match(buf, "blocked")) { in state_store()
2999 } else if (cmd_match(buf, "-blocked")) { in state_store()
3015 } else if (cmd_match(buf, "insync") && rdev->raid_disk == -1) { in state_store()
3018 } else if (cmd_match(buf, "failfast")) { in state_store()
3022 } else if (cmd_match(buf, "-failfast")) { in state_store()
[all …]