1BIO_ADD_PAGE(9)                  The Linux VFS                 BIO_ADD_PAGE(9)
2
3
4

NAME

6       bio_add_page - attempt to add page to bio
7

SYNOPSIS

9       int bio_add_page(struct bio * bio, struct page * page,
10                        unsigned int len, unsigned int offset);
11

ARGUMENTS

13       bio
14           destination bio
15
16       page
17           page to add
18
19       len
20           vec entry length
21
22       offset
23           vec entry offset
24

DESCRIPTION

26       Attempt to add a page to the bio_vec maplist. This can fail for a
27       number of reasons, such as the bio being full or target block device
28       limitations. The target block device must allow bio's up to PAGE_SIZE,
29       so it is always possible to add a single page to an empty bio.
30
32Kernel Hackers Manual 3.10         June 2019                   BIO_ADD_PAGE(9)
Impressum