Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\scatterlist.c Create Date:2022-07-28 06:20:41
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:sg_init_table - Initialize SG table*@sgl: The SG table*@nents: Number of entries in table* Notes:* If this is part of a chained sg table, sg_mark_end() should be* used only on the last table part.

Proto:void sg_init_table(struct scatterlist *sgl, unsigned int nents)

Type:void

Parameter:

TypeParameterName
struct scatterlist *sgl
unsigned intnents
126  memset(sgl, 0, size of sgl * nents)
127  sg_init_marker - Initialize markers in sg table*@sgl: The SG table*@nents: Number of entries in table
Caller
NameDescribe
sg_init_onesg_init_one - Initialize a single entry sg list*@sg: SG entry*@buf: Virtual address for IO*@buflen: IO length
__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_alloc_table_chainedsg_alloc_table_chained - Allocate and chain SGLs in an sg table*@table: The sg table header to use*@nents: Number of entries in sg list*@first_chunk: first SGL*@nents_first_chunk: number of the SGL of @first_chunk* Description:
derived_key_encryptBefore returning data to userspace, encrypt decrypted data.
derived_key_decrypt
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