函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\bitmap.h Create Date:2022-07-27 06:38:43
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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,

函数原型:static inline void bitmap_from_u64(unsigned long *dst, u64 mask)

返回类型:void

参数:

类型参数名称
unsigned long *dst
u64mask
504  dst[0]等于mask按位与ULONG_MAX
506  如果mask的长度大于sizeof(unsignedlong)则dst[1]等于mask右移32位
调用者
名称描述
__mark_chain_precision
perf_output_sample_regs