Function report |
Source Code:include\linux\sunrpc\xdr.h |
Create Date:2022-07-28 09:06:51 |
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_opaque_inline - Decode variable length opaque xdr data*@xdr: pointer to xdr_stream*@ptr: location to store pointer to opaque data*@maxlen: maximum acceptable object size* Note: the pointer stored in @ptr cannot be assumed valid after the
Proto:static inline ssize_t xdr_stream_decode_opaque_inline(struct xdr_stream *xdr, void **ptr, size_t maxlen)
Type:ssize_t
Parameter:
Type | Parameter | Name |
---|---|---|
struct xdr_stream * | xdr | |
void ** | ptr | |
size_t | maxlen |
502 | * ptr = NULL |
505 | If len != 0 Then |
506 | p = xdr_inline_decode(xdr, len) |
507 | If Value for the false possibility is greater at compile time(!p) Then Return -EBADMSG |
509 | If Value for the false possibility is greater at compile time(len > maxlen) Then Return -EMSGSIZE |
513 | Return len |
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 |