Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:u64_encode_bits

Proto:static inline __attribute__((__always_inline__)) __u64 u64_encode_bits(u64 v, u64 field)

Type:__u64

Parameter:

TypeParameterName
u64v
u64field
141  If __builtin_constant_p(v) && v & ~field_mask(field) Then __field_overflow()
141  Return (v & field_mask(field)) * field_multiplier(field)