函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\sunrpc\xdr.h Create Date:2022-07-27 10:06:44
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:xdr_stream_decode_u32 - Decode a 32-bit integer*@xdr: pointer to xdr_stream*@ptr: location to store integer* Return values:* %0 on success* %-EBADMSG on XDR buffer overflow

函数原型:static inline ssize_t xdr_stream_decode_u32(struct xdr_stream *xdr, __u32 *ptr)

返回类型:ssize_t

参数:

类型参数名称
struct xdr_stream *xdr
__u32 *ptr
450  count等于ptr的长度
451  p等于xdr_inline_decode(xdr, count)
453  如果此条件成立可能性小(为编译器优化)(!p)则返回:负EBADMSG
455  ptr等于be32_to_cpup(p)
456  返回:0
调用者
名称描述
xdr_stream_decode_opaque_inlinexdr_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
xdr_stream_decode_uint32_arrayxdr_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