Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\asm-generic\mshyperv.h Create Date:2022-07-28 08:15:15
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:hv_cpu_number_to_vp_number() - Map CPU to VP

Proto:static inline int hv_cpu_number_to_vp_number(int cpu_number)

Type:int

Parameter:

TypeParameterName
intcpu_number
128  Return Hypervisor's notion of virtual processor ID is different from* Linux' notion of CPU ID. This information can only be retrieved* in the context of the calling CPU. Setup a map for easy access* to this information.[cpu_number]