Home
last modified time | relevance | path

Searched refs:rflags (Results 1 – 25 of 50) sorted by relevance

12

/linux-6.3-rc2/arch/powerpc/mm/book3s64/
A Dhash_64k.c45 unsigned long rflags, pa; in __hash_page_4K() local
77 rflags = htab_convert_pte_flags(subpg_pte, flags); in __hash_page_4K()
86 rflags = hash_page_do_lazy_icache(rflags, __pte(old_pte), trap); in __hash_page_4K()
120 ret = mmu_hash_ops.hpte_updatepp(gslot, rflags, vpn, in __hash_page_4K()
162 slot = mmu_hash_ops.hpte_insert(hpte_group, vpn, pa, rflags, 0, in __hash_page_4K()
172 rflags, HPTE_V_SECONDARY, in __hash_page_4K()
234 unsigned long rflags, pa; in __hash_page_64K() local
268 rflags = htab_convert_pte_flags(new_pte, flags); in __hash_page_64K()
273 rflags = hash_page_do_lazy_icache(rflags, __pte(old_pte), trap); in __hash_page_64K()
298 slot = mmu_hash_ops.hpte_insert(hpte_group, vpn, pa, rflags, 0, in __hash_page_64K()
[all …]
A Dhash_4k.c27 unsigned long rflags, pa; in __hash_page_4K() local
59 rflags = htab_convert_pte_flags(new_pte, flags); in __hash_page_4K()
64 rflags = hash_page_do_lazy_icache(rflags, __pte(old_pte), trap); in __hash_page_4K()
74 if (mmu_hash_ops.hpte_updatepp(gslot, rflags, vpn, MMU_PAGE_4K, in __hash_page_4K()
88 slot = mmu_hash_ops.hpte_insert(hpte_group, vpn, pa, rflags, 0, in __hash_page_4K()
96 rflags, in __hash_page_4K()
A Dhash_hugepage.c27 unsigned long rflags, pa, hidx; in __hash_page_thp() local
60 rflags = htab_convert_pte_flags(new_pmd, flags); in __hash_page_thp()
69 rflags = hash_page_do_lazy_icache(rflags, __pte(old_pte), trap); in __hash_page_thp()
112 ret = mmu_hash_ops.hpte_updatepp(slot, rflags, vpn, in __hash_page_thp()
140 slot = mmu_hash_ops.hpte_insert(hpte_group, vpn, pa, rflags, 0, in __hash_page_thp()
148 rflags, in __hash_page_thp()
A Dhugetlbpage.c27 unsigned long rflags, pa; in __hash_page_huge() local
70 rflags = htab_convert_pte_flags(new_pte, flags); in __hash_page_huge()
82 rflags = hash_page_do_lazy_icache(rflags, __pte(old_pte), trap); in __hash_page_huge()
90 if (mmu_hash_ops.hpte_updatepp(gslot, rflags, vpn, mmu_psize, in __hash_page_huge()
103 slot = hpte_insert_repeating(hash, vpn, pa, rflags, 0, in __hash_page_huge()
A Dhash_utils.c291 unsigned long rflags = 0; in htab_convert_pte_flags() local
295 rflags |= HPTE_R_N; in htab_convert_pte_flags()
309 rflags |= (HPTE_R_PP0 | 0x2); in htab_convert_pte_flags()
311 rflags |= 0x3; in htab_convert_pte_flags()
315 rflags |= 0x2; in htab_convert_pte_flags()
317 rflags |= 0x1; in htab_convert_pte_flags()
323 rflags |= HPTE_R_R; in htab_convert_pte_flags()
326 rflags |= HPTE_R_C; in htab_convert_pte_flags()
332 rflags |= HPTE_R_I; in htab_convert_pte_flags()
341 rflags |= HPTE_R_M; in htab_convert_pte_flags()
[all …]
A Dhash_native.c266 unsigned long pa, unsigned long rflags, in native_hpte_insert() argument
279 hpte_group, vpn, pa, rflags, vflags, psize); in native_hpte_insert()
300 hpte_r = hpte_encode_r(pa, psize, apsize) | rflags; in native_hpte_insert()
/linux-6.3-rc2/arch/powerpc/kvm/
A Dbook3s_64_mmu_host.c79 int rflags = 0x192; in kvmppc_mmu_map_page() local
126 rflags |= PP_RXRX; in kvmppc_mmu_map_page()
133 rflags |= HPTE_R_N; in kvmppc_mmu_map_page()
137 rflags |= pte_to_hpte_pkey_bits(0, HPTE_USE_KERNEL_KEY); in kvmppc_mmu_map_page()
138 rflags = (rflags & ~HPTE_R_WIMG) | orig_pte->wimg; in kvmppc_mmu_map_page()
169 ret = mmu_hash_ops.hpte_insert(hpteg, vpn, hpaddr, rflags, vflags, in kvmppc_mmu_map_page()
182 trace_kvm_book3s_64_mmu_map(rflags, hpteg, in kvmppc_mmu_map_page()
A Dtrace_pr.h32 TP_PROTO(int rflags, ulong hpteg, ulong va, kvm_pfn_t hpaddr,
34 TP_ARGS(rflags, hpteg, va, hpaddr, orig_pte),
47 __entry->flag_w = ((rflags & HPTE_R_PP) == 3) ? '-' : 'w';
48 __entry->flag_x = (rflags & HPTE_R_N) ? '-' : 'x';
/linux-6.3-rc2/arch/x86/kvm/vmx/
A Dsgx.c291 unsigned long sig_hva, secs_hva, token_hva, rflags; in handle_encls_einit() local
338 rflags = vmx_get_rflags(vcpu) & ~(X86_EFLAGS_CF | X86_EFLAGS_PF | in handle_encls_einit()
342 rflags |= X86_EFLAGS_ZF; in handle_encls_einit()
344 rflags &= ~X86_EFLAGS_ZF; in handle_encls_einit()
345 vmx_set_rflags(vcpu, rflags); in handle_encls_einit()
A Dvmx.h278 ulong rflags; member
401 void vmx_set_rflags(struct kvm_vcpu *vcpu, unsigned long rflags);
/linux-6.3-rc2/arch/powerpc/platforms/ps3/
A Dhtab.c35 unsigned long pa, unsigned long rflags, unsigned long vflags, in ps3_hpte_insert() argument
53 hpte_r = hpte_encode_r(ps3_mm_phys_to_lpar(pa), psize, apsize) | rflags; in ps3_hpte_insert()
/linux-6.3-rc2/drivers/s390/cio/
A Dqdio_setup.c214 if (!(irq_ptr->qib.rflags & QIB_RFLAGS_ENABLE_QEBSM)) in check_and_setup_qebsm()
228 irq_ptr->qib.rflags &= ~QIB_RFLAGS_ENABLE_QEBSM; in check_and_setup_qebsm()
336 irq_ptr->qib.rflags = init_data->qib_rflags; in setup_qib()
338 irq_ptr->qib.rflags |= QIB_RFLAGS_ENABLE_QEBSM; in setup_qib()
/linux-6.3-rc2/fs/9p/
A Dvfs_inode_dotl.c169 int rflags = 0; in v9fs_mapped_dotl_flags() local
188 rflags |= dotl_oflag_map[i].dotl_flag; in v9fs_mapped_dotl_flags()
190 return rflags; in v9fs_mapped_dotl_flags()
200 int rflags = 0; in v9fs_open_to_dotl_flags() local
206 rflags |= flags & O_ACCMODE; in v9fs_open_to_dotl_flags()
207 rflags |= v9fs_mapped_dotl_flags(flags); in v9fs_open_to_dotl_flags()
209 return rflags; in v9fs_open_to_dotl_flags()
/linux-6.3-rc2/arch/x86/kvm/
A Dmmu.h170 unsigned long rflags = static_call(kvm_x86_get_rflags)(vcpu); in permission_fault() local
185 bool not_smap = ((rflags & X86_EFLAGS_AC) | implicit_access) == X86_EFLAGS_AC; in permission_fault()
A Dsmm.h132 u64 rflags; member
A Dsmm.c101 CHECK_SMRAM64_OFFSET(rflags, 0xFF70); in check_smram_offsets()
241 smram->rflags = kvm_get_rflags(vcpu); in enter_smm_save_state_64()
530 ctxt->eflags = smstate->rflags | X86_EFLAGS_FIXED; in rsm_load_state_64()
/linux-6.3-rc2/drivers/net/ethernet/seeq/
A Dsgiseeq.h20 volatile unsigned int rflags; member
/linux-6.3-rc2/fs/xfs/scrub/
A Dbmap.c111 unsigned int rflags = 0; in xchk_bmap_get_rmap() local
116 rflags |= XFS_RMAP_ATTR_FORK; in xchk_bmap_get_rmap()
118 rflags |= XFS_RMAP_UNWRITTEN; in xchk_bmap_get_rmap()
136 owner, offset, rflags, rmap, &has_rmap); in xchk_bmap_get_rmap()
139 owner, offset, rflags, rmap, &has_rmap); in xchk_bmap_get_rmap()
/linux-6.3-rc2/include/xen/interface/hvm/
A Dhvm_vcpu.h84 uint64_t rflags; member
/linux-6.3-rc2/include/linux/
A Drio_drv.h366 u64 rbase, u32 size, u32 rflags);
369 u32 size, u32 rflags, dma_addr_t *local);
/linux-6.3-rc2/arch/x86/include/asm/xen/
A Dinterface_64.h84 uint64_t rax, r11, rcx, flags, rip, cs, rflags, rsp, ss; member
/linux-6.3-rc2/arch/x86/kvm/svm/
A Dnested.c568 kvm_set_rflags(&svm->vcpu, vmcb12->save.rflags | X86_EFLAGS_FIXED); in nested_vmcb02_prepare_save()
880 vmcb01->save.rflags = kvm_get_rflags(vcpu); in nested_svm_vmrun()
922 to_save->rflags = from_save->rflags | X86_EFLAGS_FIXED; in svm_copy_vmrun_state()
990 vmcb12->save.rflags = kvm_get_rflags(vcpu); in nested_svm_vmexit()
1056 kvm_set_rflags(vcpu, vmcb01->save.rflags); in nested_svm_vmexit()
1098 if (unlikely(vmcb01->save.rflags & X86_EFLAGS_TF)) in nested_svm_vmexit()
1669 (save->rflags & X86_EFLAGS_VM) || in svm_set_nested_state()
A Dsvm.c391 old_rflags = svm->vmcb->save.rflags; in __svm_skip_emulated_instruction()
397 svm->vmcb->save.rflags = old_rflags; in __svm_skip_emulated_instruction()
1017 svm->vmcb->save.rflags &= ~X86_EFLAGS_TF; in disable_nmi_singlestep()
1019 svm->vmcb->save.rflags &= ~X86_EFLAGS_RF; in disable_nmi_singlestep()
1523 unsigned long rflags = svm->vmcb->save.rflags; in svm_get_rflags() local
1528 rflags &= ~X86_EFLAGS_TF; in svm_get_rflags()
1530 rflags &= ~X86_EFLAGS_RF; in svm_get_rflags()
1532 return rflags; in svm_get_rflags()
1538 rflags |= (X86_EFLAGS_TF | X86_EFLAGS_RF); in svm_set_rflags()
1545 to_svm(vcpu)->vmcb->save.rflags = rflags; in svm_set_rflags()
[all …]
/linux-6.3-rc2/drivers/s390/char/
A Dsclp_sd.c35 u8 rflags; member
232 if (!(evbuf->rflags & 0x80)) { in sclp_sd_sync()
/linux-6.3-rc2/tools/testing/selftests/kvm/lib/x86_64/
A Dsvm.c18 u64 rflags; variable

Completed in 42 milliseconds

12