Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\uapi\linux\swab.h Create Date:2022-07-28 05:34:17
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Implement the following as inlines, but define the interface using* macros to allow constant folding when possible:* ___swab16, ___swab32, ___swab64, ___swahw32, ___swahb32

Proto:static inline __attribute_const__ __u16 __fswab16(__u16 val)

Type:__u16

Parameter:

TypeParameterName
__u16val
52  Return casts are necessary for constants, because we never know how for sure* how U/UL/ULL map to __u16, __u32, __u64. At least not in a portable way.(val)