Home
last modified time | relevance | path

Searched refs:HV_VCPUS_PER_SPARSE_BANK (Results 1 – 3 of 3) sorted by relevance

/linux/include/asm-generic/
H A Dmshyperv.h241 int max_vcpu_bank = hv_max_vp_index / HV_VCPUS_PER_SPARSE_BANK; in __cpumask_to_vpset()
264 vcpu_bank = vcpu / HV_VCPUS_PER_SPARSE_BANK; in __cpumask_to_vpset()
265 vcpu_offset = vcpu % HV_VCPUS_PER_SPARSE_BANK; in __cpumask_to_vpset()
H A Dhyperv-tlfs.h422 #define HV_VCPUS_PER_SPARSE_BANK (64) macro
/linux/arch/x86/kvm/
H A Dhyperv.c45 #define KVM_HV_MAX_SPARSE_VCPU_SET_BITS DIV_ROUND_UP(KVM_MAX_VCPUS, HV_VCPUS_PER_SPARSE_BANK)
1838 int valid_bit_nr = vp_id / HV_VCPUS_PER_SPARSE_BANK; in hv_is_vp_in_sparse_set()
1854 return test_bit(vp_id % HV_VCPUS_PER_SPARSE_BANK, in hv_is_vp_in_sparse_set()