函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:hweight_long

函数原型:static __always_inline unsigned long hweight_long(unsigned long w)

返回类型:unsigned long

参数:

类型参数名称
unsigned longw
72  返回:如果w的长度恒等于4则hweight32(w)否则hweight64(w)
调用者
名称描述
__bitmap_weight
bitmap_weight