Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:be32p_replace_bits

Proto:static inline __attribute__((__always_inline__)) void be32p_replace_bits(__be32 *p, u32 val, u32 field)

Type:void

Parameter:

TypeParameterName
__be32 *p
u32val
u32field
140  p = p & ~If __builtin_constant_p((__u32)((field))) Then (field & 0x000000ffUL) << 24 | (field & 0x0000ff00UL) << 8 | (field & 0x00ff0000UL) >> 8 | (field & 0xff000000UL) >> 24 Else __fswab32((field)) | be32_encode_bits(val, field)