Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\scatterlist.h Create Date:2022-07-28 05:46:18
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:sg_mark_end - Mark the end of the scatterlist*@sg: SG entryScatterlist* Description:* Marks the passed in sg entry as the termination point for the sg* table. A call to sg_next() on this entry will return NULL.

Proto:static inline void sg_mark_end(struct scatterlist *sg)

Type:void

Parameter:

TypeParameterName
struct scatterlist *sg
195  page_link |= SG_END
196  page_link &= ~Notes on SG table design
Caller
NameDescribe
__sg_alloc_table__sg_alloc_table - Allocate and initialize an sg table with given allocator*@table: The sg table header to use*@nents: Number of entries in sg list*@max_ents: The maximum number of entries the allocator returns per call*@nents_first_chunk: Number of
sg_split_phys
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