Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:sg_set_page - Set sg entry to point at given page*@sg: SG entry*@page: The page*@len: Length of data*@offset: Offset into page* Description:* Use this function to set an sg entry pointing at a page, never assign* the page directly

Proto:static inline void sg_set_page(struct scatterlist *sg, struct page *page, unsigned int len, unsigned int offset)

Type:void

Parameter:

TypeParameterName
struct scatterlist *sg
struct page *page
unsigned intlen
unsigned intoffset
119  sg_assign_page - Assign a given page to an SG entry*@sg: SG entry*@page: The page* Description:* Assign page to sg entry. Also see sg_set_page(), the most commonly used* variant.
120  offset = offset
121  length = len
Caller
NameDescribe
__sg_alloc_table_from_pages__sg_alloc_table_from_pages - Allocate and initialize an sg table from* an array of pages*@sgt: The sg table header to use*@pages: Pointer to an array of page pointers*@n_pages: Number of pages in the pages array*@offset: Offset from start of the first
setup_sgl_buf
dma_common_get_sgtableCreate scatter-list for the already allocated DMA buffer.
dma_direct_get_sgtable
blk_bvec_map_sg
__blk_bvec_map_sg
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
big_key_alloc_bufferAllocate a buffer consisting of a set of pages with a virtual mapping* applied over them.
derived_key_encryptBefore returning data to userspace, encrypt decrypted data.
fscrypt_crypt_blockEncrypt or decrypt a single filesystem block of file contents
fsverity_hash_pagesverity_hash_page() - hash a single data or hash page*@params: the Merkle tree's parameters*@inode: inode for which the hashing is being done*@req: preallocated hash request*@page: the page to hash*@out: output digest, size 'params->digest_size' bytes