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

struct bio * bio

destination bio

struct page * page

page to add

unsigned int len

vec entry length

unsigned int 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.