Home
last modified time | relevance | path

Searched refs:VM_MAXCPU (Results 1 – 11 of 11) sorted by relevance

/freebsd-13.1/sys/amd64/vmm/intel/
H A Dvmx.h127 struct vmcs vmcs[VM_MAXCPU]; /* one vmcs per virtual cpu */
128 struct apic_page apic_page[VM_MAXCPU]; /* one apic page per vcpu */
130 struct pir_desc pir_desc[VM_MAXCPU];
131 uint64_t guest_msrs[VM_MAXCPU][GUEST_MSR_NUM];
132 struct vmxctx ctx[VM_MAXCPU];
133 struct vmxcap cap[VM_MAXCPU];
134 struct vmxstate state[VM_MAXCPU];
138 struct vm_mtrr mtrr[VM_MAXCPU];
H A Dvmx.c520 if (vpid > VM_MAXCPU) in vpid_free()
529 if (num <= 0 || num > VM_MAXCPU) in vpid_alloc()
588 vpid_unr = new_unrhdr(VM_MAXCPU + 1, 0xffff, NULL); in vpid_init()
1022 uint16_t vpid[VM_MAXCPU]; in vmx_init()
1090 vpid_alloc(vpid, VM_MAXCPU); in vmx_init()
4060 for (i = 0; i < VM_MAXCPU; i++) { in vmx_snapshot()
/freebsd-13.1/sys/amd64/vmm/amd/
H A Dsvm_softc.h63 uint8_t apic_page[VM_MAXCPU][PAGE_SIZE];
64 struct svm_vcpu vcpu[VM_MAXCPU];
69 struct vm_mtrr mtrr[VM_MAXCPU];
H A Dvmcb.c465 if (vcpu < 0 || vcpu >= VM_MAXCPU) { in vmcb_getany()
486 if (vcpu < 0 || vcpu >= VM_MAXCPU) { in vmcb_setany()
H A Dsvm.c2418 for (i = 0; i < VM_MAXCPU; i++) { in svm_snapshot()
/freebsd-13.1/usr.sbin/bhyve/
H A Dbhyverun.c199 static struct vm_exit vmexit[VM_MAXCPU];
216 } mt_vmm_info[VM_MAXCPU];
218 static cpuset_t *vcpumap[VM_MAXCPU] = { NULL };
395 if (vcpu < 0 || vcpu >= VM_MAXCPU) { in pincpu_parse()
397 vcpu, VM_MAXCPU - 1); in pincpu_parse()
1012 return (VM_MAXCPU); in num_vcpus_allowed()
H A Dmem.c71 static struct mmio_rb_range *mmio_hint[VM_MAXCPU];
353 for (i=0; i < VM_MAXCPU; i++) { in unregister_mem()
H A Dacpi.c95 #define MADT_SIZE (44 + VM_MAXCPU*8 + 12 + 2*10 + 6)
/freebsd-13.1/sys/amd64/vmm/
H A Dvmm.c178 struct vcpu vcpu[VM_MAXCPU]; /* (i) guest vcpus */
499 vm->maxcpus = VM_MAXCPU; /* XXX temp to keep code working */ in vm_create()
535 vm->maxcpus = VM_MAXCPU; /* XXX temp to keep code working */ in vm_set_topology()
2786 for (i = 0; i < VM_MAXCPU; i++) { in vm_snapshot_vcpus()
2824 for (i = 0; i < VM_MAXCPU; i++) in vm_snapshot_vm()
2838 for (i = 0; i < VM_MAXCPU; i++) in vm_snapshot_vm()
2853 for (i = 0; i < VM_MAXCPU; i++) { in vm_snapshot_vmcx()
2918 if (vcpuid < 0 || vcpuid >= VM_MAXCPU) in vm_set_tsc_offset()
/freebsd-13.1/sys/amd64/vmm/io/
H A Dvlapic.c909 static VMM_STAT_ARRAY(IPIS_SENT, VM_MAXCPU, "ipis sent to vcpu");
1705 for (i = 0; i < VM_MAXCPU; i++) { in vlapic_snapshot()
/freebsd-13.1/sys/amd64/include/
H A Dvmm.h472 #define VM_MAXCPU 16 /* maximum virtual cpus */ macro