Lines Matching refs:enough
70 static int enough(struct r10conf *conf, int ignore);
1304 && enough(conf, devnum))
1965 /* check if there are enough drives for
2006 static int enough(struct r10conf *conf, int ignore)
2008 /* when calling 'enough', both 'prev' and 'geo' must
2039 if (test_bit(In_sync, &rdev->flags) && !enough(conf, rdev->raid_disk)) {
2245 enough(conf, -1)) {
4228 if (!enough(conf, -1)) {
4229 pr_err("md/raid10:%s: not enough operational mirrors.\n",
4305 pr_warn("md/raid10: offset difference not enough to continue reshape\n");
4480 if (!enough(conf, -1))
4558 * This also checks if there are enough spares and adds them
4560 * We currently require enough spares to make the final
4563 * enough that we never risk over-writing.