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()
363 if (r10_bio->devs[slot].repl_bio == bio) { in find_bio_disk()
544 r10_bio->devs[slot].repl_bio = IO_MADE_GOOD; in raid10_end_write_request()
1297 r10_bio->devs[n_copy].repl_bio = mbio; in raid10_write_one_disk()
1486 r10_bio->devs[i].repl_bio = NULL; in raid10_write_request()
1529 r10_bio->devs[i].repl_bio = bio; in raid10_write_request()
1557 if (r10_bio->devs[i].repl_bio) in raid10_write_request()
1790 r10_bio->devs[disk].repl_bio = NULL; in raid10_handle_discard()
1804 r10_bio->devs[disk].repl_bio = bio; in raid10_handle_discard()
1861 if (r10_bio->devs[disk].repl_bio) { in raid10_handle_discard()
1867 r10_bio->devs[disk].repl_bio = rbio; in raid10_handle_discard()
2495 tbio = r10_bio->devs[i].repl_bio; in sync_request_write()
2626 wbio2 = r10_bio->devs[1].repl_bio; in recovery_request_write()
3018 if (r10_bio->devs[m].repl_bio == NULL || in handle_write_completed()
3019 r10_bio->devs[m].repl_bio->bi_end_io == NULL) in handle_write_completed()
3022 if (!r10_bio->devs[m].repl_bio->bi_status) { in handle_write_completed()
3057 bio = r10_bio->devs[m].repl_bio; in handle_write_completed()
3198 bio = r10bio->devs[i].repl_bio; in raid10_alloc_init_r10buf()
3579 bio = r10_bio->devs[1].repl_bio; in raid10_sync_request()
3716 if (r10_bio->devs[i].repl_bio) in raid10_sync_request()
3717 r10_bio->devs[i].repl_bio->bi_end_io = NULL; in raid10_sync_request()
3760 bio = r10_bio->devs[i].repl_bio; in raid10_sync_request()
3782 if (r10_bio->devs[i].repl_bio && in raid10_sync_request()
3783 r10_bio->devs[i].repl_bio->bi_end_io) in raid10_sync_request()
4961 b = r10_bio->devs[s/2].repl_bio; in reshape_request()
5053 b = r10_bio->devs[s/2].repl_bio; in reshape_request_write()