1BIO_COPY_DATA(9) The Linux VFS BIO_COPY_DATA(9)
2
3
4
6 bio_copy_data - copy contents of data buffers from one chain of bios to
7 another
8
10 void bio_copy_data(struct bio * dst, struct bio * src);
11
13 dst
14 destination bio list
15
16 src
17 source bio list
18
20 If src and dst are single bios, bi_next must be NULL - otherwise,
21 treats src and dst as linked lists of bios.
22
23 Stops when it reaches the end of either src or dst - that is, copies
24 min(src->bi_size, dst->bi_size) bytes (or the equivalent for lists of
25 bios).
26
28Kernel Hackers Manual 3.10 June 2019 BIO_COPY_DATA(9)