Home
last modified time | relevance | path

Searched refs:dst (Results 1 – 7 of 7) sorted by relevance

/block/
Dblk-stat.c29 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()
Dblk-crypto-profile.c608 void blk_crypto_update_capabilities(struct blk_crypto_profile *dst, in blk_crypto_update_capabilities() argument
611 memcpy(dst->modes_supported, src->modes_supported, in blk_crypto_update_capabilities()
612 sizeof(dst->modes_supported)); in blk_crypto_update_capabilities()
614 dst->max_dun_bytes_supported = src->max_dun_bytes_supported; in blk_crypto_update_capabilities()
615 dst->key_types_supported = src->key_types_supported; in blk_crypto_update_capabilities()
Dblk-crypto.c127 int __bio_crypt_clone(struct bio *dst, struct bio *src, gfp_t gfp_mask) in __bio_crypt_clone() argument
129 dst->bi_crypt_context = mempool_alloc(bio_crypt_ctx_pool, gfp_mask); in __bio_crypt_clone()
130 if (!dst->bi_crypt_context) in __bio_crypt_clone()
132 *dst->bi_crypt_context = *src->bi_crypt_context; in __bio_crypt_clone()
Dblk-crypto-fallback.c271 struct scatterlist src, dst; in blk_crypto_fallback_encrypt_bio() local
311 sg_init_table(&dst, 1); in blk_crypto_fallback_encrypt_bio()
313 skcipher_request_set_crypt(ciph_req, &src, &dst, data_unit_size, in blk_crypto_fallback_encrypt_bio()
332 sg_set_page(&dst, ciphertext_page, data_unit_size, in blk_crypto_fallback_encrypt_bio()
346 dst.offset += data_unit_size; in blk_crypto_fallback_encrypt_bio()
Dblk-cgroup.c771 static void blkg_iostat_set(struct blkg_iostat *dst, struct blkg_iostat *src) in blkg_iostat_set() argument
776 dst->bytes[i] = src->bytes[i]; in blkg_iostat_set()
777 dst->ios[i] = src->ios[i]; in blkg_iostat_set()
781 static void blkg_iostat_add(struct blkg_iostat *dst, struct blkg_iostat *src) in blkg_iostat_add() argument
786 dst->bytes[i] += src->bytes[i]; in blkg_iostat_add()
787 dst->ios[i] += src->ios[i]; in blkg_iostat_add()
791 static void blkg_iostat_sub(struct blkg_iostat *dst, struct blkg_iostat *src) in blkg_iostat_sub() argument
796 dst->bytes[i] -= src->bytes[i]; in blkg_iostat_sub()
797 dst->ios[i] -= src->ios[i]; in blkg_iostat_sub()
1904 void bio_clone_blkg_association(struct bio *dst, struct bio *src) in bio_clone_blkg_association() argument
[all …]
Dbio.c1268 void bio_copy_data_iter(struct bio *dst, struct bvec_iter *dst_iter, in bio_copy_data_iter() argument
1273 struct bio_vec dst_bv = bio_iter_iovec(dst, *dst_iter); in bio_copy_data_iter()
1284 bio_advance_iter_single(dst, dst_iter, bytes); in bio_copy_data_iter()
1297 void bio_copy_data(struct bio *dst, struct bio *src) in bio_copy_data() argument
1300 struct bvec_iter dst_iter = dst->bi_iter; in bio_copy_data()
1302 bio_copy_data_iter(dst, &dst_iter, src, &src_iter); in bio_copy_data()
Dsed-opal.c1230 u8 *dst; in generic_table_write_data() local
1270 dst = add_bytestring_header(&err, dev, len); in generic_table_write_data()
1271 if (!dst) in generic_table_write_data()
1274 if (copy_from_user(dst, src + off, len)) { in generic_table_write_data()
2011 u8 __user *dst; in read_table_data() local
2061 dst = (u8 __user *)(uintptr_t)read_tbl->data; in read_table_data()
2062 if (copy_to_user(dst + off, dev->prev_data, dev->prev_d_len)) { in read_table_data()