Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\bio.c Create Date:2022-07-28 16:55:18
Last Modify:2020-03-17 23:13:58 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:__bio_add_page - add page(s) to a bio in a new segment*@bio: destination bio*@page: start page to add*@len: length of the data to add, may cross pages*@off: offset of the data relative to @page, may cross pages

Proto:void __bio_add_page(struct bio *bio, struct page *page, unsigned int len, unsigned int off)

Type:void

Parameter:

TypeParameterName
struct bio *bio
struct page *page
unsigned intlen
unsigned intoff
834  bv = the actual vec list [ how many bio_vec's ]
836  WARN_ON_ONCE(bio_flagged(bio, BIO_CLONED))
837  WARN_ON_ONCE(_full - check if the bio is full*@bio: bio to check*@len: length of one segment to be added* Return true if @bio is full and one segment with @len bytes can't be* added to the bio, otherwise return false)
839  bv_page = page
840  bv_offset = off
841  bv_len = len
843  residual I/O count += len
844  how many bio_vec's ++
846  If Not bio_flagged(bio, BIO_WORKINGSET) && Value for the false possibility is greater at compile time(PageWorkingset(page)) Then bio_set_flag(bio, BIO_WORKINGSET)
Caller
NameDescribe
bio_add_page_add_page - attempt to add page(s) to bio*@bio: destination bio*@page: start page to add*@len: vec entry length, may cross pages*@offset: vec entry offset relative to @page, may cross pages* Attempt to add page(s) to the bio_vec maplist
__bio_iov_iter_get_pages__bio_iov_iter_get_pages - pin user or kernel pages and add them to a bio*@bio: bio to add pages to*@iter: iov iterator describing the region to be mapped* Pins pages from *iter and appends them to @bio's bvec array. The
iomap_dio_zero