函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\bitfield.h Create Date:2022-07-27 07:30:35
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:be16p_replace_bits

函数原型:static inline __attribute__((__always_inline__)) void be16p_replace_bits(__be16 *p, u16 val, u16 field)

返回类型:void

参数:

类型参数名称
__be16 *p
u16val
u16field
139  p等于p按位与如果__builtin_constant_p((__u16)((field)))则field按位与0x00ffU的值左移8位按位或field按位与0xff00U的值右移8位否则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)