函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称: 初始化散列表

函数原型:void sg_init_table(struct scatterlist *sgl, unsigned int nents)

返回类型:void

参数:

类型参数名称
struct scatterlist *sgl
unsigned intnents
126  memset(sgl, 0, sgl的长度 * nents)
127  sg_init_marker - Initialize markers in sg table*@sgl: The SG table*@nents: Number of entries in table
调用者
名称描述
sg_init_one 初始化散列表项目
__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
bsg_map_buffer
big_key_alloc_bufferAllocate a buffer consisting of a set of pages with a virtual mapping* applied over them.