Searched refs:bio_src (Results 1 – 5 of 5) sorted by relevance
/block/ |
D | bounce.c | 217 static struct bio *bounce_clone_bio(struct bio *bio_src, gfp_t gfp_mask, in bounce_clone_bio() argument 246 bio = bio_alloc_bioset(gfp_mask, bio_segments(bio_src), bs); in bounce_clone_bio() 249 bio->bi_disk = bio_src->bi_disk; in bounce_clone_bio() 250 bio->bi_opf = bio_src->bi_opf; in bounce_clone_bio() 251 bio->bi_ioprio = bio_src->bi_ioprio; in bounce_clone_bio() 252 bio->bi_write_hint = bio_src->bi_write_hint; in bounce_clone_bio() 253 bio->bi_iter.bi_sector = bio_src->bi_iter.bi_sector; in bounce_clone_bio() 254 bio->bi_iter.bi_size = bio_src->bi_iter.bi_size; in bounce_clone_bio() 262 bio->bi_io_vec[bio->bi_vcnt++] = bio_src->bi_io_vec[0]; in bounce_clone_bio() 265 bio_for_each_segment(bv, bio_src, iter) in bounce_clone_bio() [all …]
|
D | blk-crypto-fallback.c | 161 static struct bio *blk_crypto_clone_bio(struct bio *bio_src) in blk_crypto_clone_bio() argument 167 bio = bio_alloc_bioset(GFP_NOIO, bio_segments(bio_src), NULL); in blk_crypto_clone_bio() 170 bio->bi_disk = bio_src->bi_disk; in blk_crypto_clone_bio() 171 bio->bi_opf = bio_src->bi_opf; in blk_crypto_clone_bio() 172 bio->bi_ioprio = bio_src->bi_ioprio; in blk_crypto_clone_bio() 173 bio->bi_write_hint = bio_src->bi_write_hint; in blk_crypto_clone_bio() 174 bio->bi_iter.bi_sector = bio_src->bi_iter.bi_sector; in blk_crypto_clone_bio() 175 bio->bi_iter.bi_size = bio_src->bi_iter.bi_size; in blk_crypto_clone_bio() 177 bio_for_each_segment(bv, bio_src, iter) in blk_crypto_clone_bio() 180 bio_clone_blkg_association(bio, bio_src); in blk_crypto_clone_bio() [all …]
|
D | bio.c | 677 void __bio_clone_fast(struct bio *bio, struct bio *bio_src) in __bio_clone_fast() argument 685 bio->bi_disk = bio_src->bi_disk; in __bio_clone_fast() 686 bio->bi_partno = bio_src->bi_partno; in __bio_clone_fast() 688 if (bio_flagged(bio_src, BIO_THROTTLED)) in __bio_clone_fast() 690 bio->bi_opf = bio_src->bi_opf; in __bio_clone_fast() 691 bio->bi_ioprio = bio_src->bi_ioprio; in __bio_clone_fast() 692 bio->bi_write_hint = bio_src->bi_write_hint; in __bio_clone_fast() 693 bio->bi_iter = bio_src->bi_iter; in __bio_clone_fast() 694 bio->bi_io_vec = bio_src->bi_io_vec; in __bio_clone_fast() 696 bio_clone_blkg_association(bio, bio_src); in __bio_clone_fast()
|
D | bio-integrity.c | 414 int bio_integrity_clone(struct bio *bio, struct bio *bio_src, in bio_integrity_clone() argument 417 struct bio_integrity_payload *bip_src = bio_integrity(bio_src); in bio_integrity_clone()
|
D | blk-core.c | 1622 struct bio *bio, *bio_src; in blk_rq_prep_clone() local 1627 __rq_for_each_bio(bio_src, rq_src) { in blk_rq_prep_clone() 1628 bio = bio_clone_fast(bio_src, gfp_mask, bs); in blk_rq_prep_clone() 1632 if (bio_ctr && bio_ctr(bio, bio_src, data)) in blk_rq_prep_clone()
|