Function report |
Source Code:lib\scatterlist.c |
Create Date:2022-07-28 06:20:40 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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.
Proto:struct scatterlist *sg_next(struct scatterlist *sg)
Type:struct scatterlist
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct scatterlist * | sg |
| 25 | If sg_is_last(sg) Then Return NULL |
| 28 | sg++ |
| 32 | Return sg |
| Name | Describe |
|---|---|
| sg_nents | sg_nents - return total count of entries in scatterlist*@sg: The scatterlist* Description:* Allows to know how many entries are in sg, taking into acount* chaining as well |
| sg_nents_for_len | sg_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_sg | DMA map all entries in a scatterlist.* Merge chunks that have page aligned sizes into a continuous mapping. |
| blk_rq_map_sg | map 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_sg | lk_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 |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |