函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\scatterlist.c Create Date:2022-07-27 07:17:45
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:sg_miter_get_next_page

函数原型:static bool sg_miter_get_next_page(struct sg_mapping_iter *miter)

返回类型:bool

参数:

类型参数名称
struct sg_mapping_iter *miter
687  如果非 remaining bytes on page
690  如果非__sg_page_iter_next( & page iterator )则返回:false
693  sg等于sg holding the page
695  offset within page 等于如果page offset within the sg 则0否则offset
696  page offset within the sg 加等于 offset within page 右移PAGE_SHIFT determines the page size
697  offset within page 与等于PAGE_SIZE减1
698  remaining bytes on page 等于offsetlengthpage offset within the sg 左移PAGE_SHIFT determines the page size 位的值减 offset within page
701  remaining bytes on page 等于min_t - return minimum of two values, using the specified type*@type: data type to use*@x: first value*@y: second value(unsignedlong, remaining bytes on page , PAGE_SIZE - offset within page )
705  返回:true
调用者
名称描述
sg_miter_skipsg_miter_skip - reposition mapping iterator*@miter: sg mapping iter to be skipped*@offset: number of bytes to plus the current location* Description:* Sets the offset of @miter to its current location plus @offset bytes
sg_miter_nextsg_miter_next - proceed mapping iterator to the next mapping*@miter: sg mapping iter to proceed* Description:* Proceeds @miter to the next mapping. @miter should have been started* using sg_miter_start(). On successful return, @miter->page,