Home
last modified time | relevance | path

Searched refs:dst (Results 1 – 6 of 6) 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()
Dbio.c1201 void bio_copy_data_iter(struct bio *dst, struct bvec_iter *dst_iter, in bio_copy_data_iter() argument
1210 dst_bv = bio_iter_iovec(dst, *dst_iter); in bio_copy_data_iter()
1227 bio_advance_iter(dst, dst_iter, bytes); in bio_copy_data_iter()
1240 void bio_copy_data(struct bio *dst, struct bio *src) in bio_copy_data() argument
1243 struct bvec_iter dst_iter = dst->bi_iter; in bio_copy_data()
1245 bio_copy_data_iter(dst, &dst_iter, src, &src_iter); in bio_copy_data()
1259 void bio_list_copy_data(struct bio *dst, struct bio *src) in bio_list_copy_data() argument
1262 struct bvec_iter dst_iter = dst->bi_iter; in bio_list_copy_data()
1274 dst = dst->bi_next; in bio_list_copy_data()
1275 if (!dst) in bio_list_copy_data()
[all …]
Dblk-crypto.c108 int __bio_crypt_clone(struct bio *dst, struct bio *src, gfp_t gfp_mask) in __bio_crypt_clone() argument
110 dst->bi_crypt_context = mempool_alloc(bio_crypt_ctx_pool, gfp_mask); in __bio_crypt_clone()
111 if (!dst->bi_crypt_context) in __bio_crypt_clone()
113 *dst->bi_crypt_context = *src->bi_crypt_context; in __bio_crypt_clone()
Dblk-crypto-fallback.c270 struct scatterlist src, dst; in blk_crypto_fallback_encrypt_bio() local
309 sg_init_table(&dst, 1); in blk_crypto_fallback_encrypt_bio()
311 skcipher_request_set_crypt(ciph_req, &src, &dst, data_unit_size, in blk_crypto_fallback_encrypt_bio()
330 sg_set_page(&dst, ciphertext_page, data_unit_size, in blk_crypto_fallback_encrypt_bio()
344 dst.offset += data_unit_size; in blk_crypto_fallback_encrypt_bio()
Dblk-cgroup.c735 static void blkg_iostat_set(struct blkg_iostat *dst, struct blkg_iostat *src) in blkg_iostat_set() argument
740 dst->bytes[i] = src->bytes[i]; in blkg_iostat_set()
741 dst->ios[i] = src->ios[i]; in blkg_iostat_set()
745 static void blkg_iostat_add(struct blkg_iostat *dst, struct blkg_iostat *src) in blkg_iostat_add() argument
750 dst->bytes[i] += src->bytes[i]; in blkg_iostat_add()
751 dst->ios[i] += src->ios[i]; in blkg_iostat_add()
755 static void blkg_iostat_sub(struct blkg_iostat *dst, struct blkg_iostat *src) in blkg_iostat_sub() argument
760 dst->bytes[i] -= src->bytes[i]; in blkg_iostat_sub()
761 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 …]
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()