Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:sg_miter_next - proceed mapping iterator to the next mapping*@miter: sg mapping iter to proceed* Description:* Proceeds @miter to the next mapping. @miter should have been started* using sg_miter_start(). On successful return, @miter->page,

Proto:bool sg_miter_next(struct sg_mapping_iter *miter)

Type:bool

Parameter:

TypeParameterName
struct sg_mapping_iter *miter
765  sg_miter_stop - stop mapping iteration*@miter: sg mapping iter to be stopped* Description:* Stops mapping iterator @miter. @miter should have been started* using sg_miter_start(). A stopped iteration can be resumed by* calling sg_miter_next() on it
771  If Not sg_miter_get_next_page(miter) Then Return false
774  currently mapped page = sg_page_iter_page - get the current page held by the page iterator*@piter: page iterator holding the page
775  number of consumed bytes = length of the mapped area = remaining bytes on page
777  If __flags & use kmap_atomic Then pointer to the mapped area = kmap_atomic( currently mapped page ) + offset within page
779  Else pointer to the mapped area = kmap( currently mapped page ) + offset within page
782  Return true
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