Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:be32_get_bits

Proto:static inline __attribute__((__always_inline__)) u32 be32_get_bits(__be32 v, u32 field)

Type:u32

Parameter:

TypeParameterName
__be32v
u32field
140  Return (If __builtin_constant_p((__u32)((__u32)(__be32)(v))) Then (v & 0x000000ffUL) << 24 | (v & 0x0000ff00UL) << 8 | (v & 0x00ff0000UL) >> 8 | (v & 0xff000000UL) >> 24 Else __fswab32((__u32)(__be32)(v)) & field) / field_multiplier(field)