/arch/powerpc/mm/ |
D | hugetlbpage-hash64.c | 27 unsigned long rflags, pa, sz; in __hash_page_huge() local 63 rflags = 0x2 | (!(new_pte & _PAGE_RW)); in __hash_page_huge() 65 rflags |= ((new_pte & _PAGE_EXEC) ? 0 : HPTE_R_N); in __hash_page_huge() 70 rflags = hash_page_do_lazy_icache(rflags, __pte(old_pte), trap); in __hash_page_huge() 83 if (ppc_md.hpte_updatepp(slot, rflags, vpn, mmu_psize, in __hash_page_huge() 100 rflags |= (new_pte & (_PAGE_WRITETHRU | _PAGE_NO_CACHE | in __hash_page_huge() 105 rflags |= HPTE_R_M; in __hash_page_huge() 107 slot = hpte_insert_repeating(hash, vpn, pa, rflags, 0, in __hash_page_huge()
|
D | hugepage-hash64.c | 27 unsigned long rflags, pa, hidx; in __hash_page_thp() local 61 rflags = new_pmd & _PAGE_USER; in __hash_page_thp() 64 rflags |= 0x1; in __hash_page_thp() 68 rflags |= ((new_pmd & _PAGE_EXEC) ? 0 : HPTE_R_N); in __hash_page_thp() 77 rflags = hash_page_do_lazy_icache(rflags, __pte(old_pte), trap); in __hash_page_thp() 110 ret = ppc_md.hpte_updatepp(slot, rflags, vpn, in __hash_page_thp() 135 rflags |= (new_pmd & (_PAGE_WRITETHRU | _PAGE_NO_CACHE | in __hash_page_thp() 140 rflags |= HPTE_R_M; in __hash_page_thp() 145 slot = ppc_md.hpte_insert(hpte_group, vpn, pa, rflags, 0, in __hash_page_thp() 154 rflags, HPTE_V_SECONDARY, in __hash_page_thp()
|
D | hash_utils_64.c | 164 unsigned long rflags = pteflags & 0x1fa; in htab_convert_pte_flags() local 168 rflags |= HPTE_R_N; in htab_convert_pte_flags() 175 rflags |= 1; in htab_convert_pte_flags() 179 return rflags | HPTE_R_C | HPTE_R_M; in htab_convert_pte_flags() 1441 unsigned long pa, unsigned long rflags, in hpte_insert_repeating() argument 1452 slot = ppc_md.hpte_insert(hpte_group, vpn, pa, rflags, vflags, in hpte_insert_repeating() 1459 slot = ppc_md.hpte_insert(hpte_group, vpn, pa, rflags, in hpte_insert_repeating()
|
D | hash_native_64.c | 195 unsigned long pa, unsigned long rflags, in native_hpte_insert() argument 205 hpte_group, vpn, pa, rflags, vflags, psize); in native_hpte_insert() 224 hpte_r = hpte_encode_r(pa, psize, apsize) | rflags; in native_hpte_insert()
|
/arch/x86/kvm/ |
D | mmu.h | 152 unsigned long rflags = kvm_x86_ops->get_rflags(vcpu); in permission_fault() local 167 unsigned long smap = (cpl - 3) & (rflags & X86_EFLAGS_AC); in permission_fault()
|
D | svm.c | 1310 return to_svm(vcpu)->vmcb->save.rflags; in svm_get_rflags() 1313 static void svm_set_rflags(struct kvm_vcpu *vcpu, unsigned long rflags) in svm_set_rflags() argument 1320 to_svm(vcpu)->vmcb->save.rflags = rflags; in svm_set_rflags() 1711 svm->vmcb->save.rflags &= in db_interception() 2307 nested_vmcb->save.rflags = kvm_get_rflags(&svm->vcpu); in nested_svm_vmexit() 2366 kvm_set_rflags(&svm->vcpu, hsave->save.rflags); in nested_svm_vmexit() 2502 hsave->save.rflags = kvm_get_rflags(&svm->vcpu); in nested_svm_vmrun() 2531 kvm_set_rflags(&svm->vcpu, nested_vmcb->save.rflags); in nested_svm_vmrun() 3520 "rip:", save->rip, "rflags:", save->rflags); in dump_vmcb() 3789 svm->vmcb->save.rflags |= (X86_EFLAGS_TF | X86_EFLAGS_RF); in enable_nmi_window()
|
D | x86.c | 95 static void __kvm_set_rflags(struct kvm_vcpu *vcpu, unsigned long rflags); 5640 unsigned long rflags = kvm_x86_ops->get_rflags(vcpu); in x86_emulate_instruction() local 5657 if (unlikely((ctxt->eflags & ~rflags) & X86_EFLAGS_IF)) in x86_emulate_instruction() 7062 regs->rflags = kvm_get_rflags(vcpu); in kvm_arch_vcpu_ioctl_get_regs() 7092 kvm_set_rflags(vcpu, regs->rflags | X86_EFLAGS_FIXED); in kvm_arch_vcpu_ioctl_set_regs() 7290 unsigned long rflags; in kvm_arch_vcpu_ioctl_set_guest_debug() local 7307 rflags = kvm_get_rflags(vcpu); in kvm_arch_vcpu_ioctl_set_guest_debug() 7331 kvm_set_rflags(vcpu, rflags); in kvm_arch_vcpu_ioctl_set_guest_debug() 8245 unsigned long rflags; in kvm_get_rflags() local 8247 rflags = kvm_x86_ops->get_rflags(vcpu); in kvm_get_rflags() [all …]
|
D | vmx.c | 539 ulong rflags; member 2264 unsigned long rflags, save_rflags; in vmx_get_rflags() local 2268 rflags = vmcs_readl(GUEST_RFLAGS); in vmx_get_rflags() 2270 rflags &= RMODE_GUEST_OWNED_EFLAGS_BITS; in vmx_get_rflags() 2272 rflags |= save_rflags & ~RMODE_GUEST_OWNED_EFLAGS_BITS; in vmx_get_rflags() 2274 to_vmx(vcpu)->rflags = rflags; in vmx_get_rflags() 2276 return to_vmx(vcpu)->rflags; in vmx_get_rflags() 2279 static void vmx_set_rflags(struct kvm_vcpu *vcpu, unsigned long rflags) in vmx_set_rflags() argument 2282 to_vmx(vcpu)->rflags = rflags; in vmx_set_rflags() 2284 to_vmx(vcpu)->rmode.save_rflags = rflags; in vmx_set_rflags() [all …]
|
/arch/powerpc/kvm/ |
D | book3s_64_mmu_host.c | 90 int rflags = 0x192; in kvmppc_mmu_map_page() local 137 rflags |= PP_RXRX; in kvmppc_mmu_map_page() 144 rflags |= HPTE_R_N; in kvmppc_mmu_map_page() 177 ret = ppc_md.hpte_insert(hpteg, vpn, hpaddr, rflags, vflags, in kvmppc_mmu_map_page() 190 trace_kvm_book3s_64_mmu_map(rflags, hpteg, in kvmppc_mmu_map_page()
|
D | trace_pr.h | 31 TP_PROTO(int rflags, ulong hpteg, ulong va, pfn_t hpaddr, 33 TP_ARGS(rflags, hpteg, va, hpaddr, orig_pte), 46 __entry->flag_w = ((rflags & HPTE_R_PP) == 3) ? '-' : 'w'; 47 __entry->flag_x = (rflags & HPTE_R_N) ? '-' : 'x';
|
/arch/powerpc/platforms/ps3/ |
D | htab.c | 48 unsigned long pa, unsigned long rflags, unsigned long vflags, in ps3_hpte_insert() argument 66 hpte_r = hpte_encode_r(ps3_mm_phys_to_lpar(pa), psize, apsize) | rflags; in ps3_hpte_insert()
|
/arch/powerpc/platforms/pseries/ |
D | lpar.c | 128 unsigned long rflags, unsigned long vflags, in pSeries_lpar_hpte_insert() argument 139 hpte_group, vpn, pa, rflags, vflags, psize); in pSeries_lpar_hpte_insert() 142 hpte_r = hpte_encode_r(pa, psize, apsize) | rflags; in pSeries_lpar_hpte_insert() 156 if ((rflags & _PAGE_NO_CACHE) && !(rflags & _PAGE_WRITETHRU)) in pSeries_lpar_hpte_insert()
|
/arch/x86/include/asm/xen/ |
D | interface_64.h | 83 uint64_t rax, r11, rcx, flags, rip, cs, rflags, rsp, ss; member
|
/arch/x86/include/asm/ |
D | svm.h | 161 u64 rflags; member
|
D | kvm_host.h | 808 void (*set_rflags)(struct kvm_vcpu *vcpu, unsigned long rflags); 1040 void kvm_set_rflags(struct kvm_vcpu *vcpu, unsigned long rflags);
|
/arch/s390/include/asm/ |
D | qdio.h | 103 u32 rflags : 8; member
|
/arch/powerpc/include/asm/ |
D | machdep.h | 52 unsigned long rflags,
|
/arch/x86/include/uapi/asm/ |
D | kvm.h | 118 __u64 rip, rflags; member
|
/arch/x86/kernel/ |
D | head_64.S | 331 # 104(%rsp) %rflags
|