kvm_arch
static inline bool __vcpu_has_feature(const struct kvm_arch *ka, int feature)
static inline u64 *__vm_id_reg(struct kvm_arch *ka, u32 reg)
struct kvm_arch *arch;
static inline struct resx __kvm_get_sysreg_resx(struct kvm_arch *arch,
static inline void __kvm_set_sysreg_resx(struct kvm_arch *arch,
struct kvm_arch *arch)
struct kvm_arch arch;
struct kvm_arch *ka = &kvm->arch;
static inline bool kvm_vm_support(struct kvm_arch *arch, int feature)
struct kvm_arch *ka = &vcpu->kvm->arch;
struct kvm_arch *kvm_arch = &vcpu->kvm->arch;
spin_lock(&kvm_arch->hv_root_tdp_lock);
if (root_tdp != kvm_arch->hv_root_tdp)
kvm_arch->hv_root_tdp = INVALID_PAGE;
spin_unlock(&kvm_arch->hv_root_tdp_lock);
struct kvm_arch *kvm_arch = &kvm->arch;
spin_lock(&kvm_arch->hv_root_tdp_lock);
if (!VALID_PAGE(kvm_arch->hv_root_tdp)) {
if (!VALID_PAGE(root) || root == kvm_arch->hv_root_tdp)
kvm_arch->hv_root_tdp = root;
kvm_arch->hv_root_tdp = INVALID_PAGE;
ret = hv_remote_flush_root_tdp(kvm_arch->hv_root_tdp, range);
spin_unlock(&kvm_arch->hv_root_tdp_lock);
struct kvm_arch *ka = container_of(once, struct kvm_arch, nx_once);
struct kvm_arch *ka = &vcpu->kvm->arch;
struct kvm_arch *ka = &vcpu->kvm->arch;
struct kvm_arch *ka = &kvm->arch;
struct kvm_arch *ka = &kvm->arch;
struct kvm_arch *ka = &kvm->arch;
struct kvm_arch *ka = &kvm->arch;
struct kvm_arch *ka = &v->kvm->arch;
struct kvm_arch *ka = &kvm->arch;
struct kvm_arch *ka = &kvm->arch;
struct kvm_arch arch;