Function report |
Source Code:block\bio.c |
Create Date:2022-07-28 16:55:35 |
Last Modify:2020-03-17 23:13:58 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:bio_copy_data_iter
Proto:void bio_copy_data_iter(struct bio *dst, struct bvec_iter *dst_iter, struct bio *src, struct bvec_iter *src_iter)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct bio * | dst | |
struct bvec_iter * | dst_iter | |
struct bio * | src | |
struct bvec_iter * | src_iter |
1060 | When residual I/O count && residual I/O count cycle |
1061 | src_bv = bio_iter_iovec(src, * src_iter) |
1062 | dst_bv = bio_iter_iovec(dst, * dst_iter) |
1064 | bytes = min - return minimum of two values of the same or compatible types*@x: first value*@y: second value(bv_len, bv_len) |
1066 | src_p = kmap_atomic(bv_page) |
1067 | dst_p = kmap_atomic(bv_page) |
1073 | Prevent people trying to call kunmap_atomic() as if it were kunmap()* kunmap_atomic() should get the return value of kmap_atomic, not the page.(dst_p) |
1074 | Prevent people trying to call kunmap_atomic() as if it were kunmap()* kunmap_atomic() should get the return value of kmap_atomic, not the page.(src_p) |
1076 | flush_dcache_page(bv_page) |
1078 | bio_advance_iter(src, src_iter, bytes) |
1079 | bio_advance_iter(dst, dst_iter, bytes) |
Name | Describe |
---|---|
bio_copy_data | _copy_data - copy contents of data buffers from one bio to another*@src: source bio*@dst: destination bio* Stops when it reaches the end of either @src or @dst - that is, copies* min(src->bi_size, dst->bi_size) bytes (or the equivalent for lists of bios). |
bio_list_copy_data | _list_copy_data - copy contents of data buffers from one chain of bios to* another*@src: source bio list*@dst: destination bio list* Stops when it reaches the end of either the @src list or @dst list - that is,* copies min(src->bi_size, dst->bi_size) |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |