Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:u8_encode_bits

Proto:static inline __attribute__((__always_inline__)) __u8 u8_encode_bits(u8 v, u8 field)

Type:__u8

Parameter:

TypeParameterName
u8v
u8field
138  If __builtin_constant_p(v) && v & ~field_mask(field) Then __field_overflow()
138  Return (v & field_mask(field)) * field_multiplier(field)