Lines Matching refs:devnum

319 	conf->mirrors[r10_bio->devs[slot].devnum].head_position =  in update_head_pos()
347 return r10_bio->devs[slot].devnum; in find_bio_disk()
595 r10bio->devs[slot].devnum = d; in __raid10_find_phys()
613 r10bio->devs[slot].devnum = d; in __raid10_find_phys()
752 disk = r10_bio->devs[slot].devnum; in read_balance()
1148 disk = r10_bio->devs[slot].devnum; in raid10_read_request()
1225 int devnum = r10_bio->devs[n_copy].devnum; in raid10_write_one_disk() local
1229 rdev = conf->mirrors[devnum].replacement; in raid10_write_one_disk()
1233 rdev = conf->mirrors[devnum].rdev; in raid10_write_one_disk()
1236 rdev = conf->mirrors[devnum].rdev; in raid10_write_one_disk()
1250 &conf->mirrors[devnum].rdev->flags) in raid10_write_one_disk()
1251 && enough(conf, devnum)) in raid10_write_one_disk()
1415 int d = r10_bio->devs[i].devnum; in raid10_write_request()
1790 r10_bio->devs[disk].devnum = disk; in raid10_handle_discard()
1803 r10_bio->devs[disk].devnum = disk; in raid10_handle_discard()
2361 d = r10_bio->devs[i].devnum; in sync_request_write()
2431 d = r10_bio->devs[i].devnum; in sync_request_write()
2470 int dr = r10_bio->devs[0].devnum; in fix_recovery_read_error()
2471 int dw = r10_bio->devs[1].devnum; in fix_recovery_read_error()
2554 d = r10_bio->devs[1].devnum; in recovery_request_write()
2650 int d = r10_bio->devs[r10_bio->read_slot].devnum; in fix_read_error()
2692 d = r10_bio->devs[sl].devnum; in fix_read_error()
2723 int dn = r10_bio->devs[r10_bio->read_slot].devnum; in fix_read_error()
2747 d = r10_bio->devs[sl].devnum; in fix_read_error()
2783 d = r10_bio->devs[sl].devnum; in fix_read_error()
2834 struct md_rdev *rdev = conf->mirrors[r10_bio->devs[i].devnum].rdev; in narrow_write_error()
2938 int dev = r10_bio->devs[m].devnum; in handle_write_completed()
2977 int dev = r10_bio->devs[m].devnum; in handle_write_completed()
3454 int d = r10_bio->devs[j].devnum; in raid10_sync_request()
3494 if (r10_bio->devs[k].devnum == i) in raid10_sync_request()
3498 r10_bio->devs[0].devnum = d; in raid10_sync_request()
3500 r10_bio->devs[1].devnum = i; in raid10_sync_request()
3546 if (r10_bio->devs[k].devnum == i) in raid10_sync_request()
3589 int d = r10_bio->devs[j].devnum; in raid10_sync_request()
3649 int d = r10_bio->devs[i].devnum; in raid10_sync_request()
3716 int d = r10_bio->devs[i].devnum; in raid10_sync_request()
4875 r10_bio->read_slot = r10_bio->devs[r10_bio->read_slot].devnum; in reshape_request()
4912 int d = r10_bio->devs[s/2].devnum; in reshape_request()
5003 int d = r10_bio->devs[s/2].devnum; in reshape_request_write()
5091 int d = r10b->devs[slot].devnum; in handle_reshape_read_error()