bio_copy_data(9)

bio_copy_data9

Copy contents of data buffers from one chain of bios to another

Usage

void bio_copy_data(struct bio * dst, struct bio * src);

Arguments

dst

destination bio list

src

source bio list

Overview

If src and dst are single bios, bi_next must be NULL - otherwise, treats src and dst as linked lists of bios.

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).

Releases

2 releases since Debian 8 (Jessie); the text changed 1 time.

  1. 8
  2. 9

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.