Searched refs:cmd_match (Results 1 – 2 of 2) sorted by relevance
/linux-2.6.39/drivers/md/ |
D | md.c | 2307 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/ |
D | flash.c | 1022 int cmd_match = 0; 1025 cmd_match = 1;
|