函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称: 返回下一个散列表的条目

函数原型:struct scatterlist *sg_next(struct scatterlist *sg)

返回类型:struct scatterlist

参数:

类型参数名称
struct scatterlist *sg
25  如果sg_is_last(sg)则返回:NULL
28  sg自加
29  如果此条件成立可能性小(为编译器优化)(We overload the LSB of the page pointer to indicate whether it's* a valid sg entry, or whether it points to the start of a new scatterlist.* Those low bits are there for everyone! (thanks mason :-)(sg))则sg等于sg_chain_ptr(sg)
32  返回:sg
调用者
名称描述
sg_nents返回在散列表条目总数
sg_nents_for_lensg_nents_for_len - return total count of entries in scatterlist* needed to satisfy the supplied length*@sg: The scatterlist*@len: The total required length* Description:* Determines the number of entries in sg that are required to meet* the supplied
__sg_page_iter_next
__sg_page_iter_dma_next
setup_sgl_buf
sg_split_phys
sg_split_mapped
gart_map_sgDMA map all entries in a scatterlist.* Merge chunks that have page aligned sizes into a continuous mapping.
blk_rq_map_sgmap a request to scatterlist, return number of sg entries setup. Caller* must make sure sg can hold rq->nr_phys_segments entries
blk_rq_map_integrity_sglk_rq_map_integrity_sg - Map integrity metadata into a scatterlist*@q: request queue*@bio: bio with integrity metadata attached*@sglist: target scatterlist* Description: Map the integrity vectors in request into a* scatterlist
scatterwalk_pagedone
blk_next_sg