Function report |
Source Code:include\linux\bitfield.h |
Create Date:2022-07-28 06:33:03 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:be16_encode_bits
Proto:static inline __attribute__((__always_inline__)) __be16 be16_encode_bits(u16 v, u16 field)
Type:__be16
Parameter:
Type | Parameter | Name |
---|---|---|
u16 | v | |
u16 | field |
139 | If __builtin_constant_p(v) && v & ~field_mask(field) Then __field_overflow() |
139 | Return If __builtin_constant_p((__u16)(((v & field_mask(field)) * field_multiplier(field)))) Then ( (v & field_mask(field)) * field_multiplier(field) & 0x00ffU) << 8 | ( (v & field_mask(field)) * field_multiplier(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 |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |