Home
last modified time | relevance | path

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

123

/linux-6.6.21/arch/powerpc/mm/book3s64/
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()
283 if (mmu_hash_ops.hpte_updatepp(gslot, rflags, vpn, MMU_PAGE_64K, in __hash_page_64K()
[all …]
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()
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()
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()
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()
334 rflags |= (HPTE_R_I | HPTE_R_G); in htab_convert_pte_flags()
[all …]
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.6.21/arch/powerpc/kvm/
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()
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.6.21/arch/x86/kvm/vmx/
Dsgx.c298 unsigned long sig_hva, secs_hva, token_hva, rflags; in handle_encls_einit() local
345 rflags = vmx_get_rflags(vcpu) & ~(X86_EFLAGS_CF | X86_EFLAGS_PF | in handle_encls_einit()
349 rflags |= X86_EFLAGS_ZF; in handle_encls_einit()
351 rflags &= ~X86_EFLAGS_ZF; in handle_encls_einit()
352 vmx_set_rflags(vcpu, rflags); in handle_encls_einit()
Dvmx.h266 ulong rflags; member
388 void vmx_set_rflags(struct kvm_vcpu *vcpu, unsigned long rflags);
/linux-6.6.21/arch/powerpc/platforms/ps3/
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.6.21/drivers/s390/cio/
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.6.21/fs/9p/
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.6.21/drivers/net/ethernet/seeq/
Dsgiseeq.h20 volatile unsigned int rflags; member
/linux-6.6.21/arch/x86/kvm/
Dmmu.h192 unsigned long rflags = static_call(kvm_x86_get_rflags)(vcpu); in permission_fault() local
207 bool not_smap = ((rflags & X86_EFLAGS_AC) | implicit_access) == X86_EFLAGS_AC; in permission_fault()
Dsmm.h132 u64 rflags; member
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.6.21/include/xen/interface/hvm/
Dhvm_vcpu.h84 uint64_t rflags; member
/linux-6.6.21/fs/xfs/scrub/
Dbmap.c126 unsigned int rflags = 0; in xchk_bmap_get_rmap() local
131 rflags |= XFS_RMAP_ATTR_FORK; in xchk_bmap_get_rmap()
133 rflags |= XFS_RMAP_UNWRITTEN; in xchk_bmap_get_rmap()
151 owner, offset, rflags, rmap, &has_rmap); in xchk_bmap_get_rmap()
154 owner, offset, rflags, rmap, &has_rmap); in xchk_bmap_get_rmap()
/linux-6.6.21/include/linux/
Drio_drv.h366 u64 rbase, u32 size, u32 rflags);
369 u32 size, u32 rflags, dma_addr_t *local);
/linux-6.6.21/arch/x86/include/asm/xen/
Dinterface_64.h84 uint64_t rax, r11, rcx, flags, rip, cs, rflags, rsp, ss; member
/linux-6.6.21/arch/x86/kvm/svm/
Dnested.c152 if (!(svm->vmcb01.ptr->save.rflags & X86_EFLAGS_IF)) in recalc_intercepts()
566 kvm_set_rflags(vcpu, vmcb12->save.rflags | X86_EFLAGS_FIXED); in nested_vmcb02_prepare_save()
896 vmcb01->save.rflags = kvm_get_rflags(vcpu); in nested_svm_vmrun()
938 to_save->rflags = from_save->rflags | X86_EFLAGS_FIXED; in svm_copy_vmrun_state()
1006 vmcb12->save.rflags = kvm_get_rflags(vcpu); in nested_svm_vmexit()
1109 kvm_set_rflags(vcpu, vmcb01->save.rflags); in nested_svm_vmexit()
1151 if (unlikely(vmcb01->save.rflags & X86_EFLAGS_TF)) in nested_svm_vmexit()
1725 (save->rflags & X86_EFLAGS_VM) || in svm_set_nested_state()
Dsvm.c398 old_rflags = svm->vmcb->save.rflags; in __svm_skip_emulated_instruction()
404 svm->vmcb->save.rflags = old_rflags; in __svm_skip_emulated_instruction()
1078 svm->vmcb->save.rflags &= ~X86_EFLAGS_TF; in disable_nmi_singlestep()
1080 svm->vmcb->save.rflags &= ~X86_EFLAGS_RF; in disable_nmi_singlestep()
1595 unsigned long rflags = svm->vmcb->save.rflags; in svm_get_rflags() local
1600 rflags &= ~X86_EFLAGS_TF; in svm_get_rflags()
1602 rflags &= ~X86_EFLAGS_RF; in svm_get_rflags()
1604 return rflags; in svm_get_rflags()
1607 static void svm_set_rflags(struct kvm_vcpu *vcpu, unsigned long rflags) in svm_set_rflags() argument
1610 rflags |= (X86_EFLAGS_TF | X86_EFLAGS_RF); in svm_set_rflags()
[all …]
/linux-6.6.21/drivers/s390/char/
Dsclp_sd.c35 u8 rflags; member
232 if (!(evbuf->rflags & 0x80)) { in sclp_sd_sync()
/linux-6.6.21/tools/testing/selftests/kvm/lib/x86_64/
Dsvm.c18 u64 rflags; variable

123