Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:be64_get_bits

Proto:static inline __attribute__((__always_inline__)) u64 be64_get_bits(__be64 v, u64 field)

Type:u64

Parameter:

TypeParameterName
__be64v
u64field
141  Return (If __builtin_constant_p((__u64)((__u64)(__be64)(v))) Then (v & 0x00000000000000ffULL) << 56 | (v & 0x000000000000ff00ULL) << 40 | (v & 0x0000000000ff0000ULL) << 24 | (v & 0x00000000ff000000ULL) << 8 | (v & 0x000000ff00000000ULL) >> 8 | (v & 0x0000ff0000000000ULL) >> 24 | (v & 0x00ff000000000000ULL) >> 40 | (v & 0xff00000000000000ULL) >> 56 Else __fswab64((__u64)(__be64)(v)) & field) / field_multiplier(field)