Home
last modified time | relevance | path

Searched refs:src (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
31 if (!src->nr_samples) in blk_rq_stat_sum()
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()
Dbio.c1269 struct bio *src, struct bvec_iter *src_iter) in bio_copy_data_iter() argument
1272 struct bio_vec src_bv = bio_iter_iovec(src, *src_iter); in bio_copy_data_iter()
1283 bio_advance_iter_single(src, src_iter, bytes); in bio_copy_data_iter()
1297 void bio_copy_data(struct bio *dst, struct bio *src) in bio_copy_data() argument
1299 struct bvec_iter src_iter = src->bi_iter; in bio_copy_data()
1302 bio_copy_data_iter(dst, &dst_iter, src, &src_iter); in bio_copy_data()
1658 int bioset_init_from_src(struct bio_set *bs, struct bio_set *src) in bioset_init_from_src() argument
1663 if (src->bvec_pool.min_nr) in bioset_init_from_src()
1665 if (src->rescue_workqueue) in bioset_init_from_src()
1668 return bioset_init(bs, src->bio_pool.min_nr, src->front_pad, flags); in bioset_init_from_src()
Dblk-crypto-profile.c609 const struct blk_crypto_profile *src) in blk_crypto_update_capabilities() argument
611 memcpy(dst->modes_supported, src->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-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 …]
Dblk-crypto-fallback.c271 struct scatterlist src, dst; in blk_crypto_fallback_encrypt_bio() local
310 sg_init_table(&src, 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()
330 sg_set_page(&src, plaintext_page, data_unit_size, in blk_crypto_fallback_encrypt_bio()
345 src.offset += data_unit_size; in blk_crypto_fallback_encrypt_bio()
Dblk-crypto.c127 int __bio_crypt_clone(struct bio *dst, struct bio *src, gfp_t gfp_mask) in __bio_crypt_clone() argument
132 *dst->bi_crypt_context = *src->bi_crypt_context; in __bio_crypt_clone()
Dsed-opal.c1229 const u8 __user *src = (u8 __user *)(uintptr_t)data; in generic_table_write_data() local
1274 if (copy_from_user(dst, src + off, len)) { in generic_table_write_data()