Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:be32_replace_bits

Proto:static inline __attribute__((__always_inline__)) __be32 be32_replace_bits(__be32 old, u32 val, u32 field)

Type:__be32

Parameter:

TypeParameterName
__be32old
u32val
u32field
140  Return old & ~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)