Function report |
Source Code:include\asm-generic\mshyperv.h |
Create Date:2022-07-28 08:15:16 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:cpumask_to_vpset
Proto:static inline int cpumask_to_vpset(struct hv_vpset *vpset, const struct cpumask *cpus)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct hv_vpset * | vpset | |
const struct cpumask * | cpus |
134 | nr_bank = 1 |
137 | If hv_max_vp_index / 64 >= 64 Then Return 0 |
145 | When vcpu_bank <= hv_max_vp_index / 64 cycle bank_contents[vcpu_bank] = 0 |
153 | If vcpu == Sentinel value for an uninitialized entry in hv_vp_index array Then Return -1 |
156 | vcpu_offset = vcpu % 64 |
162 | valid_bank_mask = GENMASK_ULL(nr_bank - 1, 0) |
163 | Return nr_bank |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |