Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/md/
Dmd.c2520 static int cmd_match(const char *cmd, const char *str) in cmd_match() function
2604 if (cmd_match(buf, "faulty") && rdev->mddev->pers) { in state_store()
2610 } else if (cmd_match(buf, "remove")) { in state_store()
2621 } else if (cmd_match(buf, "writemostly")) { in state_store()
2624 } else if (cmd_match(buf, "-writemostly")) { in state_store()
2627 } else if (cmd_match(buf, "blocked")) { in state_store()
2630 } else if (cmd_match(buf, "-blocked")) { in state_store()
2645 } else if (cmd_match(buf, "insync") && rdev->raid_disk == -1) { in state_store()
2648 } else if (cmd_match(buf, "write_error")) { in state_store()
2651 } else if (cmd_match(buf, "-write_error")) { in state_store()
[all …]