Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:scsi_sg_copy_from_buffer

Proto:static inline int scsi_sg_copy_from_buffer(struct scsi_cmnd *cmd, void *buf, int buflen)

Type:int

Parameter:

TypeParameterName
struct scsi_cmnd *cmd
void *buf
intbuflen
210  Return sg_copy_from_buffer - Copy from a linear buffer to an SG list*@sgl: The SG list*@nents: Number of SG entries*@buf: Where to copy from*@buflen: The number of bytes to copy* Returns the number of copied bytes.