Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:be16p_replace_bits

Proto:static inline __attribute__((__always_inline__)) void be16p_replace_bits(__be16 *p, u16 val, u16 field)

Type:void

Parameter:

TypeParameterName
__be16 *p
u16val
u16field
139  p = p & ~If __builtin_constant_p((__u16)((field))) Then (field & 0x00ffU) << 8 | (field & 0xff00U) >> 8 Else Implement the following as inlines, but define the interface using* macros to allow constant folding when possible:* ___swab16, ___swab32, ___swab64, ___swahw32, ___swahb32 | be16_encode_bits(val, field)