Lines Matching refs:repl_bio

174 		r10_bio->devs[j].repl_bio = bio;  in r10buf_pool_alloc()
181 struct bio *rbio = r10_bio->devs[j].repl_bio; in r10buf_pool_alloc()
219 if (r10_bio->devs[j].repl_bio) in r10buf_pool_alloc()
220 bio_uninit(r10_bio->devs[j].repl_bio); in r10buf_pool_alloc()
221 kfree(r10_bio->devs[j].repl_bio); in r10buf_pool_alloc()
246 bio = r10bio->devs[j].repl_bio; in r10buf_pool_free()
268 bio = &r10_bio->devs[i].repl_bio; in put_all_bios()
361 if (r10_bio->devs[slot].repl_bio == bio) { in find_bio_disk()
542 r10_bio->devs[slot].repl_bio = IO_MADE_GOOD; in raid10_end_write_request()
1294 r10_bio->devs[n_copy].repl_bio = mbio; in raid10_write_one_disk()
1491 r10_bio->devs[i].repl_bio = NULL; in raid10_write_request()
1534 r10_bio->devs[i].repl_bio = bio; in raid10_write_request()
1562 if (r10_bio->devs[i].repl_bio) in raid10_write_request()
1794 r10_bio->devs[disk].repl_bio = NULL; in raid10_handle_discard()
1808 r10_bio->devs[disk].repl_bio = bio; in raid10_handle_discard()
1865 if (r10_bio->devs[disk].repl_bio) { in raid10_handle_discard()
1871 r10_bio->devs[disk].repl_bio = rbio; in raid10_handle_discard()
2504 tbio = r10_bio->devs[i].repl_bio; in sync_request_write()
2622 struct bio *wbio2 = r10_bio->devs[1].repl_bio; in recovery_request_write()
3034 if (r10_bio->devs[m].repl_bio == NULL || in handle_write_completed()
3035 r10_bio->devs[m].repl_bio->bi_end_io == NULL) in handle_write_completed()
3038 if (!r10_bio->devs[m].repl_bio->bi_status) { in handle_write_completed()
3073 bio = r10_bio->devs[m].repl_bio; in handle_write_completed()
3214 bio = r10bio->devs[i].repl_bio; in raid10_alloc_init_r10buf()
3604 bio = r10_bio->devs[1].repl_bio; in raid10_sync_request()
3745 if (r10_bio->devs[i].repl_bio) in raid10_sync_request()
3746 r10_bio->devs[i].repl_bio->bi_end_io = NULL; in raid10_sync_request()
3789 bio = r10_bio->devs[i].repl_bio; in raid10_sync_request()
3811 if (r10_bio->devs[i].repl_bio && in raid10_sync_request()
3812 r10_bio->devs[i].repl_bio->bi_end_io) in raid10_sync_request()
4987 b = r10_bio->devs[s/2].repl_bio; in reshape_request()
5079 b = r10_bio->devs[s/2].repl_bio; in reshape_request_write()