Function report |
Source Code:include\linux\bitfield.h |
Create Date:2022-07-28 06:33:09 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:be32_encode_bits
Proto:static inline __attribute__((__always_inline__)) __be32 be32_encode_bits(u32 v, u32 field)
Type:__be32
Parameter:
Type | Parameter | Name |
---|---|---|
u32 | v | |
u32 | field |
140 | If __builtin_constant_p(v) && v & ~field_mask(field) Then __field_overflow() |
140 | Return If __builtin_constant_p((__u32)(((v & field_mask(field)) * field_multiplier(field)))) Then ( (v & field_mask(field)) * field_multiplier(field) & 0x000000ffUL) << 24 | ( (v & field_mask(field)) * field_multiplier(field) & 0x0000ff00UL) << 8 | ( (v & field_mask(field)) * field_multiplier(field) & 0x00ff0000UL) >> 8 | ( (v & field_mask(field)) * field_multiplier(field) & 0xff000000UL) >> 24 Else __fswab32(((v & field_mask(field)) * field_multiplier(field))) |
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 |