1BIO_ADD_PC_PAGE(9) The Linux VFS BIO_ADD_PC_PAGE(9)
2
3
4
6 bio_add_pc_page - attempt to add page to bio
7
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
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
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 smaller than
33 PAGE_SIZE, so it is always possible to add a single page to an empty
34 bio. This should only be used by REQ_PC bios.
35
37Kernel Hackers Manual 2.6. June 2019 BIO_ADD_PC_PAGE(9)