Searched refs:behind_bio (Results 1 – 1 of 1) sorted by relevance
1105 struct bio *behind_bio = NULL; in alloc_behind_master_bio() local1107 behind_bio = bio_alloc_mddev(GFP_NOIO, vcnt, r1_bio->mddev); in alloc_behind_master_bio()1108 if (!behind_bio) in alloc_behind_master_bio()1113 behind_bio->bi_iter.bi_size = size; in alloc_behind_master_bio()1117 behind_bio->bi_write_hint = bio->bi_write_hint; in alloc_behind_master_bio()1127 bio_add_page(behind_bio, page, len, 0); in alloc_behind_master_bio()1133 bio_copy_data(behind_bio, bio); in alloc_behind_master_bio()1135 r1_bio->behind_master_bio = behind_bio; in alloc_behind_master_bio()1143 bio_free_pages(behind_bio); in alloc_behind_master_bio()1144 bio_put(behind_bio); in alloc_behind_master_bio()