• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/md/

Lines Matching refs:test_bit

110 	if (test_bit(MD_RECOVERY_REQUESTED, &pi->mddev->recovery))
125 if (!test_bit(MD_RECOVERY_REQUESTED, &pi->mddev->recovery)) {
242 test_bit(R1BIO_Uptodate, &r1_bio->state) ? 0 : -EIO);
260 int uptodate = test_bit(BIO_UPTODATE, &bio->bi_flags);
285 !test_bit(Faulty, &conf->mirrors[mirror].rdev->flags)))
309 int uptodate = test_bit(BIO_UPTODATE, &bio->bi_flags);
311 int mirror, behind = test_bit(R1BIO_BehindIO, &r1_bio->state);
322 if (error == -EOPNOTSUPP && test_bit(R1BIO_Barrier, &r1_bio->state)) {
352 if (test_bit(WriteMostly, &conf->mirrors[mirror].rdev->flags))
361 test_bit(R1BIO_Uptodate, &r1_bio->state)) {
381 if (test_bit(R1BIO_BarrierRetry, &r1_bio->state))
385 if (test_bit(R1BIO_BehindIO, &r1_bio->state)) {
394 !test_bit(R1BIO_Degraded, &r1_bio->state),
445 !rdev || !test_bit(In_sync, &rdev->flags)
446 || test_bit(WriteMostly, &rdev->flags);
449 if (rdev && test_bit(In_sync, &rdev->flags) &&
465 !rdev || !test_bit(In_sync, &rdev->flags) ||
466 test_bit(WriteMostly, &rdev->flags);
469 if (rdev && test_bit(In_sync, &rdev->flags) &&
508 !test_bit(In_sync, &rdev->flags) ||
509 test_bit(WriteMostly, &rdev->flags))
531 if (!test_bit(In_sync, &rdev->flags)) {
554 if (rdev && !test_bit(Faulty, &rdev->flags) && atomic_read(&rdev->nr_pending)) {
588 if (rdev && !test_bit(Faulty, &rdev->flags)) {
617 if (rdev && !test_bit(Faulty, &rdev->flags)) {
861 !test_bit(Faulty, &rdev->flags)) {
863 if (test_bit(Faulty, &rdev->flags)) {
923 if (test_bit(WriteMostly, &conf->mirrors[i].rdev->flags))
934 test_bit(R1BIO_BehindIO, &r1_bio->state));
959 rdev && test_bit(In_sync, &rdev->flags) ? "U" : "_");
977 if (test_bit(In_sync, &rdev->flags)
1020 i, !test_bit(In_sync, &rdev->flags),
1021 !test_bit(Faulty, &rdev->flags),
1049 && !test_bit(Faulty, &rdev->flags)
1109 if (test_bit(In_sync, &rdev->flags) ||
1147 if (test_bit(BIO_UPTODATE, &bio->bi_flags))
1157 int uptodate = test_bit(BIO_UPTODATE, &bio->bi_flags);
1205 if (test_bit(MD_RECOVERY_REQUESTED, &mddev->recovery)) {
1214 if (!test_bit(R1BIO_Uptodate, &r1_bio->state)) {
1225 test_bit(BIO_UPTODATE, &r1_bio->bios[primary]->bi_flags)) {
1238 if (test_bit(BIO_UPTODATE, &sbio->bi_flags)) {
1252 if (j < 0 || test_bit(MD_RECOVERY_CHECK, &mddev->recovery)) {
1278 if (!test_bit(R1BIO_Uptodate, &r1_bio->state)) {
1382 !test_bit(MD_RECOVERY_SYNC, &mddev->recovery))))
1430 test_bit(In_sync, &rdev->flags) &&
1456 test_bit(In_sync, &rdev->flags)) {
1473 test_bit(In_sync, &rdev->flags)) {
1541 if (test_bit(R1BIO_IsSync, &r1_bio->state)) {
1544 } else if (test_bit(R1BIO_BarrierRetry, &r1_bio->state)) {
1701 !test_bit(MD_RECOVERY_REQUESTED, &mddev->recovery) &&
1710 !conf->fullsync && !test_bit(MD_RECOVERY_REQUESTED, &mddev->recovery)) {
1761 test_bit(Faulty, &rdev->flags)) {
1764 } else if (!test_bit(In_sync, &rdev->flags)) {
1772 if (test_bit(WriteMostly, &rdev->flags)) {
1791 if (test_bit(MD_RECOVERY_SYNC, &mddev->recovery) && read_targets > 0)
1818 !test_bit(MD_RECOVERY_REQUESTED, &mddev->recovery))
1856 if (test_bit(MD_RECOVERY_REQUESTED, &mddev->recovery)) {
1962 !test_bit(In_sync, &disk->rdev->flags)) {
1982 !test_bit(In_sync, &conf->mirrors[j].rdev->flags)) ; j++)