Searched refs:behind_bio (Results 1 – 1 of 1) sorted by relevance
1093 struct bio *behind_bio = NULL; in alloc_behind_master_bio() local1095 behind_bio = bio_alloc_mddev(GFP_NOIO, vcnt, r1_bio->mddev); in alloc_behind_master_bio()1096 if (!behind_bio) in alloc_behind_master_bio()1101 behind_bio->bi_iter.bi_size = size; in alloc_behind_master_bio()1105 behind_bio->bi_write_hint = bio->bi_write_hint; in alloc_behind_master_bio()1115 bio_add_page(behind_bio, page, len, 0); in alloc_behind_master_bio()1121 bio_copy_data(behind_bio, bio); in alloc_behind_master_bio()1123 r1_bio->behind_master_bio = behind_bio; in alloc_behind_master_bio()1131 bio_free_pages(behind_bio); in alloc_behind_master_bio()1132 bio_put(behind_bio); in alloc_behind_master_bio()