Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/md/
Dmd.c2307 static int cmd_match(const char *cmd, const char *str) in cmd_match() function
2373 if (cmd_match(buf, "faulty") && rdev->mddev->pers) { in state_store()
2376 } else if (cmd_match(buf, "remove")) { in state_store()
2387 } else if (cmd_match(buf, "writemostly")) { in state_store()
2390 } else if (cmd_match(buf, "-writemostly")) { in state_store()
2393 } else if (cmd_match(buf, "blocked")) { in state_store()
2396 } else if (cmd_match(buf, "-blocked")) { in state_store()
2403 } else if (cmd_match(buf, "insync") && rdev->raid_disk == -1) { in state_store()
2681 if (cmd_match(buf, "none")) in recovery_start_store()
3329 if (cmd_match(buf, "none")) in resync_start_store()
[all …]
/linux-2.6.39/drivers/staging/spectra/
Dflash.c1022 int cmd_match = 0;
1025 cmd_match = 1;