Searched refs:dst (Results 1 – 6 of 6) sorted by relevance
/block/ |
D | blk-stat.c | 29 void blk_rq_stat_sum(struct blk_rq_stat *dst, struct blk_rq_stat *src) in blk_rq_stat_sum() argument 34 dst->min = min(dst->min, src->min); in blk_rq_stat_sum() 35 dst->max = max(dst->max, src->max); in blk_rq_stat_sum() 37 dst->mean = div_u64(src->batch + dst->mean * dst->nr_samples, in blk_rq_stat_sum() 38 dst->nr_samples + src->nr_samples); in blk_rq_stat_sum() 40 dst->nr_samples += src->nr_samples; in blk_rq_stat_sum()
|
D | bio-crypt-ctx.c | 60 void bio_crypt_clone(struct bio *dst, struct bio *src, gfp_t gfp_mask) in bio_crypt_clone() argument 64 bio_clone_skip_dm_default_key(dst, src); in bio_crypt_clone() 74 dst->bi_crypt_context = bio_crypt_alloc_ctx(gfp_mask); in bio_crypt_clone() 75 *dst->bi_crypt_context = *src_bc; in bio_crypt_clone()
|
D | bio.c | 1054 void bio_copy_data_iter(struct bio *dst, struct bvec_iter *dst_iter, in bio_copy_data_iter() argument 1063 dst_bv = bio_iter_iovec(dst, *dst_iter); in bio_copy_data_iter() 1080 bio_advance_iter(dst, dst_iter, bytes); in bio_copy_data_iter() 1093 void bio_copy_data(struct bio *dst, struct bio *src) in bio_copy_data() argument 1096 struct bvec_iter dst_iter = dst->bi_iter; in bio_copy_data() 1098 bio_copy_data_iter(dst, &dst_iter, src, &src_iter); in bio_copy_data() 1112 void bio_list_copy_data(struct bio *dst, struct bio *src) in bio_list_copy_data() argument 1115 struct bvec_iter dst_iter = dst->bi_iter; in bio_list_copy_data() 1127 dst = dst->bi_next; in bio_list_copy_data() 1128 if (!dst) in bio_list_copy_data() [all …]
|
D | blk-crypto-fallback.c | 279 struct scatterlist src, dst; in blk_crypto_encrypt_bio() local 319 sg_init_table(&dst, 1); in blk_crypto_encrypt_bio() 321 skcipher_request_set_crypt(ciph_req, &src, &dst, data_unit_size, in blk_crypto_encrypt_bio() 341 sg_set_page(&dst, ciphertext_page, data_unit_size, in blk_crypto_encrypt_bio() 356 dst.offset += data_unit_size; in blk_crypto_encrypt_bio()
|
D | blk-core.c | 1593 static void __blk_rq_prep_clone(struct request *dst, struct request *src) in __blk_rq_prep_clone() argument 1595 dst->__sector = blk_rq_pos(src); in __blk_rq_prep_clone() 1596 dst->__data_len = blk_rq_bytes(src); in __blk_rq_prep_clone() 1598 dst->rq_flags |= RQF_SPECIAL_PAYLOAD; in __blk_rq_prep_clone() 1599 dst->special_vec = src->special_vec; in __blk_rq_prep_clone() 1601 dst->nr_phys_segments = src->nr_phys_segments; in __blk_rq_prep_clone() 1602 dst->ioprio = src->ioprio; in __blk_rq_prep_clone() 1603 dst->extra_len = src->extra_len; in __blk_rq_prep_clone()
|
D | sed-opal.c | 1587 u8 *dst; in write_shadow_mbr() local 1629 dst = add_bytestring_header(&err, dev, len); in write_shadow_mbr() 1630 if (!dst) in write_shadow_mbr() 1632 if (copy_from_user(dst, src + off, len)) in write_shadow_mbr()
|