Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:map_from_u64 - Check and swap words within u64.*@mask: source bitmap*@dst: destination bitmap* In 32-bit Big Endian kernel, when using ``(u32 *)(&val)[*]``* to read u64 mask, we will get the wrong word.* That is ``(u32 *)(&val)[0]`` gets the upper 32 bits,

Proto:static inline void bitmap_from_u64(unsigned long *dst, u64 mask)

Type:void

Parameter:

TypeParameterName
unsigned long *dst
u64mask
504  dst[0] = mask & ULONG_MAX
506  If size of mask > sizeof(unsignedlong) Then dst[1] = mask >> 32
Caller
NameDescribe
__mark_chain_precision
perf_output_sample_regs