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 smaller than
29       PAGE_SIZE, so it is always possible to add a single page to an empty
30       bio.
31
33Kernel Hackers Manual 2.6.         June 2019                   BIO_ADD_PAGE(9)
Impressum