Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:sg_miter_start - start mapping iteration over a sg list*@miter: sg mapping iter to be started*@sgl: sg list to iterate over*@nents: number of sg entries* Description:* Starts mapping iterator @miter.* Context:* Don't care.

Proto:void sg_miter_start(struct sg_mapping_iter *miter, struct scatterlist *sgl, unsigned int nents, unsigned int flags)

Type:void

Parameter:

TypeParameterName
struct sg_mapping_iter *miter
struct scatterlist *sgl
unsigned intnents
unsigned intflags
677  memset(miter, 0, sizeof(structsg_mapping_iter))
679  __sg_page_iter_start( & page iterator , sgl, nents, 0)
680  WARN_ON(!(flags & (lush back to phys on unmap | p )))
681  __flags = flags
Caller
NameDescribe
sg_copy_buffersg_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
sg_zero_buffersg_zero_buffer - Zero-out a part of a SG list*@sgl: The SG list*@nents: Number of SG entries*@buflen: The number of bytes to zero out*@skip: Number of bytes to skip before zeroing* Returns the number of bytes zeroed.
chacha20poly1305_crypt_sg_inplace
mpi_write_to_sglmpi_write_to_sgl() - Funnction exports MPI to an sgl (msb first)* This function works in the same way as the mpi_read_buffer, but it* takes an sgl instead of u8 * buf.*@a: a multi precision integer*@sgl: scatterlist to write to. Needs to be at least
mpi_read_raw_from_sglmpi_read_raw_from_sgl() - Function allocates an MPI and populates it with* data from the sgl* This function works in the same way as the mpi_read_raw_data, but it* takes an sgl instead of void * buffer. i.e. it allocates