bio_add_page (9) - Linux Manuals

bio_add_page: attempt to add page to bio

NAME

bio_add_page - attempt to add page to bio

SYNOPSIS

int bio_add_page(struct bio bio, struct page page, unsigned int len, unsigned int offset);

ARGUMENTS

bio

destination bio

page

page to add

len

vec entry length

offset

vec entry offset

DESCRIPTION

Attempt to add a page to the bio_vec maplist. This will only fail if either bio->bi_vcnt == bio->bi_max_vecs or it's a cloned bio.

COPYRIGHT