Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\sunrpc\xdr.h Create Date:2022-07-28 09:06:49
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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

Proto:static inline ssize_t xdr_stream_decode_u32(struct xdr_stream *xdr, __u32 *ptr)

Type:ssize_t

Parameter:

TypeParameterName
struct xdr_stream *xdr
__u32 *ptr
450  count = size of ptr
451  p = xdr_inline_decode(xdr, count)
453  If Value for the false possibility is greater at compile time(!p) Then Return -EBADMSG
455  ptr = be32_to_cpup(p)
456  Return 0