函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:get_count_order

函数原型:static inline int get_count_order(unsigned int count)

返回类型:int

参数:

类型参数名称
unsigned intcount
190  order等于ls - find last set bit in word*@x: the word to search* This is defined in a similar way as the libc and compiler builtin* ffs, but returns the position of the most significant set bit.* fls(value) returns 0 if value is 0 or the position of the last减1
191  如果count按位与count减1则order自加
193  返回:order
调用者
名称描述
sg_pool_index
cacheinfo_amd_init_llc_id
init_intel_cacheinfo
__cache_cpumap_setup
get_cache_idThe max shared threads number comes from CPUID.4:EAX[25-14] with input* ECX as cache index. Then right shift apicid by the number's order to get* cache id for this cache node.
early_init_intel
amd_get_topologyFixup core topology information for* (1) AMD multi-node processors* Assumption: Number of cores in each internal node is the same.* (2) AMD processors supporting compute units
hygon_get_topologyFixup core topology information for* (1) Hygon multi-node processors* Assumption: Number of cores in each internal node is the same.* (2) Hygon processors supporting compute units
early_init_zhaoxin