Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:get_count_order

Proto:static inline int get_count_order(unsigned int count)

Type:int

Parameter:

TypeParameterName
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  If count & count - 1 Then order++
193  Return order
Caller
NameDescribe
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