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_set_buf - Set sg entry to point at given data*@sg: SG entry*@buf: Data*@buflen: Data length

Proto:static inline void sg_set_buf(struct scatterlist *sg, const void *buf, unsigned int buflen)

Type:void

Parameter:

TypeParameterName
struct scatterlist *sg
const void *buf
unsigned intbuflen
145  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
Caller
NameDescribe
sg_init_onesg_init_one - Initialize a single entry sg list*@sg: SG entry*@buf: Virtual address for IO*@buflen: IO length
derived_key_encryptBefore returning data to userspace, encrypt decrypted data.
derived_key_decrypt