Function report |
Source Code:lib\scatterlist.c |
Create Date:2022-07-28 06:20:48 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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.
Proto:size_t sg_zero_buffer(struct scatterlist *sgl, unsigned int nents, size_t buflen, off_t skip)
Type:size_t
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct scatterlist * | sgl | |
| unsigned int | nents | |
| size_t | buflen | |
| off_t | skip |
| 958 | offset = 0 |
| 970 | len = min - return minimum of two values of the same or compatible types*@x: first value*@y: second value( length of the mapped area , buflen - offset) |
| 971 | memset( pointer to the mapped area , 0, len) |
| 977 | Return offset |
| 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 |