Lines Matching defs:enough
72 static int enough(struct r10conf *conf, int ignore);
1268 && enough(conf, devnum))
1894 /* check if there are enough drives for
1933 static int enough(struct r10conf *conf, int ignore)
1935 /* when calling 'enough', both 'prev' and 'geo' must
1966 if (test_bit(In_sync, &rdev->flags) && !enough(conf, rdev->raid_disk)) {
2169 enough(conf, -1)) {
4067 if (!enough(conf, -1)) {
4068 pr_err("md/raid10:%s: not enough operational mirrors.\n",
4144 pr_warn("md/raid10: offset difference not enough to continue reshape\n");
4315 if (!enough(conf, -1))
4391 * This also checks if there are enough spares and adds them
4393 * We currently require enough spares to make the final
4396 * enough that we never risk over-writing.