Searched refs:behind_bio (Results 1 – 1 of 1) sorted by relevance
1117 struct bio *behind_bio = NULL; in alloc_behind_master_bio() local1119 behind_bio = bio_alloc_mddev(GFP_NOIO, vcnt, r1_bio->mddev); in alloc_behind_master_bio()1120 if (!behind_bio) in alloc_behind_master_bio()1125 behind_bio->bi_iter.bi_size = size; in alloc_behind_master_bio()1129 behind_bio->bi_write_hint = bio->bi_write_hint; in alloc_behind_master_bio()1139 bio_add_page(behind_bio, page, len, 0); in alloc_behind_master_bio()1145 bio_copy_data(behind_bio, bio); in alloc_behind_master_bio()1147 r1_bio->behind_master_bio = behind_bio; in alloc_behind_master_bio()1155 bio_free_pages(behind_bio); in alloc_behind_master_bio()1156 bio_put(behind_bio); in alloc_behind_master_bio()