Lines Matching refs:smsr
187 struct kvm_shared_msrs *smsr; in shared_msr_update() local
190 smsr = &__get_cpu_var(shared_msrs); in shared_msr_update()
198 smsr->values[slot].host = value; in shared_msr_update()
199 smsr->values[slot].curr = value; in shared_msr_update()
222 struct kvm_shared_msrs *smsr = &__get_cpu_var(shared_msrs); in kvm_set_shared_msr() local
224 if (((value ^ smsr->values[slot].curr) & mask) == 0) in kvm_set_shared_msr()
226 smsr->values[slot].curr = value; in kvm_set_shared_msr()
228 if (!smsr->registered) { in kvm_set_shared_msr()
229 smsr->urn.on_user_return = kvm_on_user_return; in kvm_set_shared_msr()
230 user_return_notifier_register(&smsr->urn); in kvm_set_shared_msr()
231 smsr->registered = true; in kvm_set_shared_msr()
238 struct kvm_shared_msrs *smsr = &__get_cpu_var(shared_msrs); in drop_user_return_notifiers() local
240 if (smsr->registered) in drop_user_return_notifiers()
241 kvm_on_user_return(&smsr->urn); in drop_user_return_notifiers()