Lines Matching refs:first

572  * first chunk, followed by near_copies copies of the next chunk and
603 /* now calculate first sector/dev */
758 * the resync window. We take the first readable disk when
783 * Read replacement first to prevent reading both rdev
1331 * Read replacement first to prevent reading both rdev and
1462 /* first select target devices under rcu_lock and
1634 * rdev first without barrier protect even replacement is NULL
1770 * Inspired by raid10_sync_request, we can use the first r10bio->master_bio
1771 * to record the discard bio. Other r10bio->master_bio record the first
1772 * r10bio. The first r10bio only release after all other r10bios finish.
1773 * The discard bio returns only first r10bio finishes
1784 * first select target devices under rcu_lock and
1828 * same stripe of first disk
1829 * 3st, the first disk itself, we can use start_disk_offset directly
1849 * add rdev->nr_pending in the first loop.
1972 int first = 0;
1987 int this = first;
1998 first = (first + ncopies) % disks;
1999 } while (first != 0);
2148 int first = 0;
2164 first = last = rdev->raid_disk;
2166 if (rdev->saved_raid_disk >= first &&
2171 mirror = first;
2406 int i, first;
2413 /* find the first device with a block */
2421 first = i;
2438 if (i == first)
2446 * both 'first' and 'i', so we just compare them.
2530 * Only the first two slots are in use. The first for reading,
2641 * share the pages with the first bio
2673 /* first time we've seen a read error */
2799 * as bad on the first device to discourage future
3675 * read from. 'j' is currently the first
4155 int first = 1;
4216 if (first || diff < min_offset_diff)
4224 first = 0;
4517 /* 'prev' section first */
4568 int first = 1;
4597 if (first || diff < min_offset_diff)
4599 first = 0;
4758 /* Calculate the first device-address that could contain