Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\scatterlist.c Create Date:2022-07-28 06:20:44
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:__sg_page_iter_next

Proto:bool __sg_page_iter_next(struct sg_page_iter *piter)

Type:bool

Parameter:

TypeParameterName
struct sg_page_iter *piter
619  If Not maining sg entries || Not sg holding the page Then Return false
622  page offset within the sg += r pages to advance at the* next step
623  r pages to advance at the* next step = 1
625  When page offset within the sg >= sg_page_count(sg holding the page ) cycle
626  page offset within the sg -= sg_page_count(sg holding the page )
627  sg holding the page = sg_next - return the next scatterlist entry in a list*@sg: The current sg entry* Description:* Usually the next entry will be @sg@ + 1, but if this sg element is part* of a chained scatterlist, it could jump to the start of a new* scatterlist array.
628  If Not --maining sg entries || Not sg holding the page Then Return false
632  Return true
Caller
NameDescribe
sg_miter_get_next_page