Lines Matching refs:best
438 int disk, copy, best;
462 best = g_raid_tr_raid1e_select_read_disk(vol, disk,
464 if (best < 0) {
468 } else if (best != copy) {
481 ((disk + best >= vol->v_disks_count) ? vol->v_strip_size : 0);
486 bp->bio_caller1 = &vol->v_subdisks[(disk + best) % vol->v_disks_count];
645 int i, best, prio, bestprio;
647 best = -1;
686 best = i;
689 return (best);
702 int best;
715 best = g_raid_tr_raid1e_select_read_disk(vol,
717 KASSERT(best >= 0, ("No readable disk in volume %s!",
719 no += best;
739 no += N - best;
898 int error, do_write, copy, disk, best;
1034 best = g_raid_tr_raid1e_select_read_disk(vol,
1036 if (best >= 0 && (cbp = g_clone_bio(pbp)) != NULL) {
1037 disk += best;
1084 /* Find best disk to write. */
1085 best = g_raid_tr_raid1e_select_read_disk(vol,
1087 if (best >= 0 && (cbp = g_clone_bio(pbp)) != NULL) {
1088 disk += best;