Function report |
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 activity | Download SCCT | Chinese |
Name:sg_miter_skip - reposition mapping iterator*@miter: sg mapping iter to be skipped*@offset: number of bytes to plus the current location* Description:* Sets the offset of @miter to its current location plus @offset bytes
Proto:bool sg_miter_skip(struct sg_mapping_iter *miter, off_t offset)
Type:bool
Parameter:
Type | Parameter | Name |
---|---|---|
struct sg_mapping_iter * | miter | |
off_t | offset |
733 | If Not sg_miter_get_next_page(miter) Then Return false |
736 | consumed = min_t - return minimum of two values, using the specified type*@type: data type to use*@x: first value*@y: second value(off_t, offset, remaining bytes on page ) |
737 | offset within page += consumed |
738 | remaining bytes on page -= consumed |
742 | Return true |
Name | Describe |
---|---|
sg_copy_buffer | 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 |
sg_zero_buffer | sg_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. |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |