Lines Matching refs:present
138 if (mach->present) { in nvmm_machine_alloc()
143 mach->present = true; in nvmm_machine_alloc()
157 KASSERT(mach->present); in nvmm_machine_free()
158 mach->present = false; in nvmm_machine_free()
175 if (__predict_false(!mach->present)) { in nvmm_machine_get()
208 if (vcpu->present) { in nvmm_vcpu_alloc()
213 vcpu->present = true; in nvmm_vcpu_alloc()
224 vcpu->present = false; in nvmm_vcpu_free()
242 if (__predict_false(!vcpu->present)) { in nvmm_vcpu_get()
271 if (!mach->present || mach->owner != owner) { in nvmm_kill_machines()
291 if (!mach->hmap[j].present) in nvmm_kill_machines()
382 if (!mach->hmap[i].present) in nvmm_machine_destroy()
691 if (!hmapping->present) { in nvmm_hmapping_getuobj()
719 if (!hmapping->present) { in nvmm_hmapping_validate()
753 if (!hmapping->present) { in nvmm_hmapping_alloc()
754 hmapping->present = true; in nvmm_hmapping_alloc()
771 if (!hmapping->present || hmapping->hva != hva || in nvmm_hmapping_free()
781 hmapping->present = false; in nvmm_hmapping_free()
982 if (!mach->hmap[i].present) in nvmm_ctl_mach_info()
1038 machines[i].cpus[n].present = false; in nvmm_init()
1309 if (vcpu->present && nvmm_impl->vcpu_suspend) in nvmm_suspend_vcpu()
1319 if (vcpu->present && nvmm_impl->vcpu_resume) in nvmm_resume_vcpu()
1329 if (mach->present) { in nvmm_suspend_machine()
1347 if (mach->present) { in nvmm_resume_machine()