Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:sg_copy_to_buffer - Copy from an SG list to a linear buffer*@sgl: The SG list*@nents: Number of SG entries*@buf: Where to copy to*@buflen: The number of bytes to copy* Returns the number of copied bytes.

Proto:size_t sg_copy_to_buffer(struct scatterlist *sgl, unsigned int nents, void *buf, size_t buflen)

Type:size_t

Parameter:

TypeParameterName
struct scatterlist *sgl
unsigned intnents
void *buf
size_tbuflen
906  Return sg_copy_buffer - Copy data between a linear buffer and an SG list*@sgl: The SG list*@nents: Number of SG entries*@buf: Where to copy from*@buflen: The number of bytes to copy*@skip: Number of bytes to skip before copying*@to_buffer: transfer direction