Lines Matching defs:enough
73 static int enough(struct r10conf *conf, int ignore);
1279 && enough(conf, devnum))
1939 /* check if there are enough drives for
1978 static int enough(struct r10conf *conf, int ignore)
1980 /* when calling 'enough', both 'prev' and 'geo' must
2011 if (test_bit(In_sync, &rdev->flags) && !enough(conf, rdev->raid_disk)) {
2207 enough(conf, -1)) {
4038 if (!enough(conf, -1)) {
4039 pr_err("md/raid10:%s: not enough operational mirrors.\n",
4113 pr_warn("md/raid10: offset difference not enough to continue reshape\n");
4287 if (!enough(conf, -1))
4362 * This also checks if there are enough spares and adds them
4364 * We currently require enough spares to make the final
4367 * enough that we never risk over-writing.