Lines Matching defs:vpid
230 AutoPin::AutoPin(uint16_t vpid)
231 : prev_cpu_mask_(get_current_thread()->cpu_affinity), thread_(hypervisor::pin_thread(vpid)) {}
273 static zx_status_t vmcs_init(paddr_t vmcs_address, uint16_t vpid, uintptr_t entry,
377 if (vpid == kBaseProcessorVpid) {
425 vmcs.Write(VmcsField16::VPID, vpid);
499 if (vpid != kBaseProcessorVpid) {
513 if (vpid == kBaseProcessorVpid) {
530 if (vpid != kBaseProcessorVpid) {
539 if (vpid == kBaseProcessorVpid) {
557 if (vpid == kBaseProcessorVpid) {
625 uint16_t vpid;
626 zx_status_t status = guest->AllocVpid(&vpid);
631 auto auto_call = fbl::MakeAutoCall([guest, vpid]() {
632 guest->FreeVpid(vpid);
645 thread_t* thread = hypervisor::pin_thread(vpid);
648 fbl::unique_ptr<Vcpu> vcpu(new (&ac) Vcpu(guest, vpid, thread));
677 status = vmcs_init(vcpu->vmcs_page_.PhysicalAddress(), vpid, entry, guest->MsrBitmapsAddress(),
686 Vcpu::Vcpu(Guest* guest, uint16_t vpid, const thread_t* thread)
687 : guest_(guest), vpid_(vpid), thread_(thread), running_(false), vmx_state_(/* zero-init */) {}