Home
last modified time | relevance | path

Searched refs:hflags (Results 1 – 19 of 19) sorted by relevance

/kernel/linux/linux-5.10/arch/x86/kvm/
Dkvm_cache_regs.h159 vcpu->arch.hflags |= HF_GUEST_MASK; in enter_guest_mode()
164 vcpu->arch.hflags &= ~HF_GUEST_MASK; in leave_guest_mode()
174 return vcpu->arch.hflags & HF_GUEST_MASK; in is_guest_mode()
179 return vcpu->arch.hflags & HF_SMM_MASK; in is_smm()
Dkvm_emulate.h233 void (*set_hflags)(struct x86_emulate_ctxt *ctxt, unsigned hflags);
Dx86.c4364 !!(vcpu->arch.hflags & HF_SMM_INSIDE_NMI_MASK); in kvm_vcpu_ioctl_x86_get_vcpu_events()
4436 if (!!(vcpu->arch.hflags & HF_SMM_MASK) != events->smi.smm) { in kvm_vcpu_ioctl_x86_set_vcpu_events()
4438 vcpu->arch.hflags |= HF_SMM_MASK; in kvm_vcpu_ioctl_x86_set_vcpu_events()
4440 vcpu->arch.hflags &= ~HF_SMM_MASK; in kvm_vcpu_ioctl_x86_set_vcpu_events()
4450 vcpu->arch.hflags |= HF_SMM_INSIDE_NMI_MASK; in kvm_vcpu_ioctl_x86_set_vcpu_events()
4452 vcpu->arch.hflags &= ~HF_SMM_INSIDE_NMI_MASK; in kvm_vcpu_ioctl_x86_set_vcpu_events()
7013 return emul_to_vcpu(ctxt)->arch.hflags; in emulator_get_hflags()
7020 vcpu->arch.hflags = emul_flags; in emulator_set_hflags()
7347 if (!(vcpu->arch.hflags & HF_SMM_MASK)) { in kvm_smm_changed()
8796 vcpu->arch.hflags |= HF_SMM_MASK; in enter_smm()
[all …]
/kernel/linux/linux-5.10/arch/powerpc/kvm/
Dbook3s_pr.c82 if (vcpu->arch.hflags & BOOK3S_HFLAG_SPLIT_HACK) in kvmppc_fixup_split_real()
89 vcpu->arch.hflags |= BOOK3S_HFLAG_SPLIT_HACK; in kvmppc_fixup_split_real()
95 if (vcpu->arch.hflags & BOOK3S_HFLAG_SPLIT_HACK) { in kvmppc_unfixup_split_real()
102 vcpu->arch.hflags &= ~BOOK3S_HFLAG_SPLIT_HACK; in kvmppc_unfixup_split_real()
576 vcpu->arch.hflags &= ~BOOK3S_HFLAG_SLB; in kvmppc_set_pvr_pr()
599 vcpu->arch.hflags &= ~BOOK3S_HFLAG_DCBZ32; in kvmppc_set_pvr_pr()
602 vcpu->arch.hflags |= BOOK3S_HFLAG_DCBZ32; in kvmppc_set_pvr_pr()
624 vcpu->arch.hflags |= BOOK3S_HFLAG_MULTI_PGSIZE | in kvmppc_set_pvr_pr()
631 vcpu->arch.hflags |= BOOK3S_HFLAG_DCBZ32; in kvmppc_set_pvr_pr()
646 vcpu->arch.hflags |= BOOK3S_HFLAG_NATIVE_PS; in kvmppc_set_pvr_pr()
[all …]
Dbook3s_64_mmu.c270 (vcpu->arch.hflags & BOOK3S_HFLAG_MULTI_PGSIZE)) { in kvmppc_mmu_book3s_64_xlate()
393 if (vcpu->arch.hflags & BOOK3S_HFLAG_MULTI_PGSIZE) { in kvmppc_mmu_book3s_64_slbmte()
545 if (vcpu->arch.hflags & BOOK3S_HFLAG_NEW_TLBIE) { in kvmppc_mmu_book3s_64_tlbie()
670 vcpu->arch.hflags |= BOOK3S_HFLAG_SLB; in kvmppc_mmu_book3s_64_init()
Dbook3s_emulate.c737 if (vcpu->arch.hflags & BOOK3S_HFLAG_NATIVE_PS) { in kvmppc_core_emulate_mtspr_pr()
740 vcpu->arch.hflags |= BOOK3S_HFLAG_PAIRED_SINGLE; in kvmppc_core_emulate_mtspr_pr()
743 vcpu->arch.hflags &= ~BOOK3S_HFLAG_PAIRED_SINGLE; in kvmppc_core_emulate_mtspr_pr()
757 vcpu->arch.hflags |= BOOK3S_HFLAG_DCBZ32; in kvmppc_core_emulate_mtspr_pr()
Dbook3s.c445 if ((vcpu->arch.hflags & BOOK3S_HFLAG_SPLIT_HACK) && in kvmppc_xlate()
Dbook3s_paired_singles.c346 if (!(vcpu->arch.hflags & BOOK3S_HFLAG_PAIRED_SINGLE)) in kvmppc_inst_is_paired_single()
Dbook3s_64_mmu_hv.c2152 vcpu->arch.hflags |= BOOK3S_HFLAG_SLB; in kvmppc_mmu_book3s_hv_init()
/kernel/linux/linux-5.10/arch/x86/kvm/svm/
Dsvm.h329 svm->vcpu.arch.hflags |= HF_GIF_MASK; in enable_gif()
337 svm->vcpu.arch.hflags &= ~HF_GIF_MASK; in disable_gif()
345 return !!(svm->vcpu.arch.hflags & HF_GIF_MASK); in gif_set()
Dsvm.c1106 svm->vcpu.arch.hflags = 0; in init_vmcb()
1220 svm->vcpu.arch.hflags = 0; in init_vmcb()
2277 svm->vcpu.arch.hflags |= HF_IRET_MASK; in iret_interception()
3169 vcpu->arch.hflags |= HF_NMI_MASK; in svm_inject_nmi()
3214 (svm->vcpu.arch.hflags & HF_NMI_MASK); in svm_nmi_blocked()
3236 return !!(svm->vcpu.arch.hflags & HF_NMI_MASK); in svm_get_nmi_mask()
3244 svm->vcpu.arch.hflags |= HF_NMI_MASK; in svm_set_nmi_mask()
3247 svm->vcpu.arch.hflags &= ~HF_NMI_MASK; in svm_set_nmi_mask()
3322 if ((svm->vcpu.arch.hflags & (HF_NMI_MASK | HF_IRET_MASK)) in enable_nmi_window()
3419 if ((svm->vcpu.arch.hflags & HF_IRET_MASK) in svm_complete_interrupts()
[all …]
/kernel/linux/linux-5.10/drivers/ata/
Dsata_qstor.c267 u8 hflags = QS_HF_DAT | QS_HF_IEN | QS_HF_VLD; in qs_qc_prep() local
280 hflags |= QS_HF_DIRO; in qs_qc_prep()
286 buf[ 1] = hflags; in qs_qc_prep()
Dlibata-sff.c2463 int hflags, bool bmdma) in ata_pci_init_one() argument
2496 host->flags |= hflags; in ata_pci_init_one()
3255 int hflags) in ata_pci_bmdma_init_one() argument
3257 return ata_pci_init_one(pdev, ppi, sht, host_priv, hflags, 1); in ata_pci_bmdma_init_one()
/kernel/linux/linux-5.10/drivers/scsi/sym53c8xx_2/
Dsym_hipd.c2399 u_char hflags, hflags0; local
2570 hflags = hflags0;
2572 if (hflags & (HF_IN_PM0 | HF_IN_PM1 | HF_DP_SAVED)) {
2573 if (hflags & HF_IN_PM0)
2575 else if (hflags & HF_IN_PM1)
2578 if (hflags & HF_DP_SAVED)
2579 hflags ^= HF_ACT_PM;
2582 if (!(hflags & HF_ACT_PM)) {
2591 hflags &= ~(HF_IN_PM0 | HF_IN_PM1 | HF_DP_SAVED);
2592 if (hflags != hflags0)
[all …]
/kernel/linux/linux-5.10/arch/x86/boot/
Dboot.h253 u16 flags, hflags; member
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dkvm_host.h575 ulong hflags; member
/kernel/linux/linux-5.10/arch/x86/include/asm/
Dkvm_host.h543 u32 hflags; member
1635 #define kvm_arch_vcpu_memslots_id(vcpu) ((vcpu)->arch.hflags & HF_SMM_MASK ? 1 : 0)
/kernel/linux/linux-5.10/include/linux/
Dlibata.h1962 struct scsi_host_template *sht, void *host_priv, int hflags);
1999 void *host_priv, int hflags);
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Dasm-offsets.c554 OFFSET(VCPU_HFLAGS, kvm_vcpu, arch.hflags); in main()