Function report |
Source Code:include\linux\sunrpc\xdr.h |
Create Date:2022-07-28 09:06:52 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:xdr_stream_decode_uint32_array - Decode variable length array of integers*@xdr: pointer to xdr_stream*@array: location to store the integer array or NULL*@array_size: number of elements to store* Return values:* On success, returns number of elements
Proto:static inline ssize_t xdr_stream_decode_uint32_array(struct xdr_stream *xdr, __u32 *array, size_t array_size)
Type:ssize_t
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct xdr_stream * | xdr | |
| __u32 * | array | |
| size_t | array_size |
| 537 | p = xdr_inline_decode(xdr, len * size of p ) |
| 538 | If Value for the false possibility is greater at compile time(!p) Then Return -EBADMSG |
| 542 | If len <= array_size Then |
| 543 | If len < array_size Then memset(array + len, 0, (array_size - len) * size of array ) |
| 545 | array_size = len |
| 549 | When array_size > 0 cycle array = be32_to_cpup(p) |
| 551 | Return retval |
| 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 |