Lines Matching defs:first
546 * first chunk, followed by near_copies copies of the next chunk and
577 /* now calculate first sector/dev */
732 * the resync window. We take the first readable disk when
757 * Read replacement first to prevent reading both rdev
1340 /* first select target devices under rcu_lock and
1363 * Read replacement first to prevent reading both rdev and
1589 int first = 0;
1604 int this = first;
1615 first = (first + ncopies) % disks;
1616 } while (first != 0);
1759 int first = 0;
1774 first = last = rdev->raid_disk;
1776 if (rdev->saved_raid_disk >= first &&
1781 mirror = first;
2014 int i, first;
2021 /* find the first device with a block */
2029 first = i;
2046 if (i == first)
2054 * both 'first' and 'i', so we just compare them.
2140 * Only the first two slots are in use. The first for reading,
2251 * share the pages with the first bio
2283 /* first time we've seen a read error */
2412 * as bad on the first device to discourage future
3272 * read from. 'j' is currently the first
3751 int first = 1;
3816 if (first || diff < min_offset_diff)
3827 first = 0;
4129 /* 'prev' section first */
4180 int first = 1;
4209 if (first || diff < min_offset_diff)
4211 first = 0;
4370 /* Calculate the first device-address that could contain