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

NAME

6       bio_add_pc_page - attempt to add page to bio
7

SYNOPSIS

9       int bio_add_pc_page(struct request_queue * q, struct bio * bio,
10                           struct page * page, unsigned int len,
11                           unsigned int offset);
12

ARGUMENTS

14       q
15           the target queue
16
17       bio
18           destination bio
19
20       page
21           page to add
22
23       len
24           vec entry length
25
26       offset
27           vec entry offset
28

DESCRIPTION

30       Attempt to add a page to the bio_vec maplist. This can fail for a
31       number of reasons, such as the bio being full or target block device
32       limitations. The target block device must allow bio's up to PAGE_SIZE,
33       so it is always possible to add a single page to an empty bio.
34
35       This should only be used by REQ_PC bios.
36
38Kernel Hackers Manual 3.10         June 2019                BIO_ADD_PC_PAGE(9)
Impressum