函数逻辑报告 |
Source Code:lib\scatterlist.c |
Create Date:2022-07-27 07:17:45 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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
函数原型:bool sg_miter_skip(struct sg_mapping_iter *miter, off_t offset)
返回类型:bool
参数:
类型 | 参数 | 名称 |
---|---|---|
struct sg_mapping_iter * | miter | |
off_t | offset |
733 | 如果非sg_miter_get_next_page(miter)则返回: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 | 返回:true |
名称 | 描述 |
---|---|
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. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |