Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/md/
Dmd.c2897 static int cmd_match(const char *cmd, const char *str) in cmd_match() function
2980 if (cmd_match(buf, "faulty") && rdev->mddev->pers) { in state_store()
2986 } else if (cmd_match(buf, "remove")) { in state_store()
3008 } else if (cmd_match(buf, "writemostly")) { in state_store()
3012 } else if (cmd_match(buf, "-writemostly")) { in state_store()
3016 } else if (cmd_match(buf, "blocked")) { in state_store()
3019 } else if (cmd_match(buf, "-blocked")) { in state_store()
3035 } else if (cmd_match(buf, "insync") && rdev->raid_disk == -1) { in state_store()
3038 } else if (cmd_match(buf, "failfast")) { in state_store()
3041 } else if (cmd_match(buf, "-failfast")) { in state_store()
[all …]