Home
last modified time | relevance | path

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

12

/linux-6.1.9/arch/powerpc/mm/book3s64/
Dhash_64k.c43 unsigned long rflags, pa; in __hash_page_4K() local
75 rflags = htab_convert_pte_flags(subpg_pte, flags); in __hash_page_4K()
84 rflags = hash_page_do_lazy_icache(rflags, __pte(old_pte), trap); in __hash_page_4K()
118 ret = mmu_hash_ops.hpte_updatepp(gslot, rflags, vpn, in __hash_page_4K()
160 slot = mmu_hash_ops.hpte_insert(hpte_group, vpn, pa, rflags, 0, in __hash_page_4K()
170 rflags, HPTE_V_SECONDARY, in __hash_page_4K()
229 unsigned long rflags, pa; in __hash_page_64K() local
263 rflags = htab_convert_pte_flags(new_pte, flags); in __hash_page_64K()
268 rflags = hash_page_do_lazy_icache(rflags, __pte(old_pte), trap); in __hash_page_64K()
278 if (mmu_hash_ops.hpte_updatepp(gslot, rflags, vpn, MMU_PAGE_64K, in __hash_page_64K()
[all …]
Dhash_4k.c25 unsigned long rflags, pa; in __hash_page_4K() local
57 rflags = htab_convert_pte_flags(new_pte, flags); in __hash_page_4K()
62 rflags = hash_page_do_lazy_icache(rflags, __pte(old_pte), trap); in __hash_page_4K()
72 if (mmu_hash_ops.hpte_updatepp(gslot, rflags, vpn, MMU_PAGE_4K, in __hash_page_4K()
86 slot = mmu_hash_ops.hpte_insert(hpte_group, vpn, pa, rflags, 0, in __hash_page_4K()
94 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.1.9/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.1.9/arch/x86/kvm/vmx/
Dsgx.c290 unsigned long sig_hva, secs_hva, token_hva, rflags; in handle_encls_einit() local
337 rflags = vmx_get_rflags(vcpu) & ~(X86_EFLAGS_CF | X86_EFLAGS_PF | in handle_encls_einit()
341 rflags |= X86_EFLAGS_ZF; in handle_encls_einit()
343 rflags &= ~X86_EFLAGS_ZF; in handle_encls_einit()
344 vmx_set_rflags(vcpu, rflags); in handle_encls_einit()
Dvmx.h278 ulong rflags; member
401 void vmx_set_rflags(struct kvm_vcpu *vcpu, unsigned long rflags);
/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
Dbase.c91 nvkm_fifo_chan_inst(struct nvkm_fifo *fifo, u64 inst, unsigned long *rflags) in nvkm_fifo_chan_inst() argument
97 *rflags = flags; in nvkm_fifo_chan_inst()
105 nvkm_fifo_chan_chid(struct nvkm_fifo *fifo, int chid, unsigned long *rflags) in nvkm_fifo_chan_chid() argument
114 *rflags = flags; in nvkm_fifo_chan_chid()
/linux-6.1.9/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.1.9/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.1.9/fs/9p/
Dvfs_inode_dotl.c170 int rflags = 0; in v9fs_mapped_dotl_flags() local
189 rflags |= dotl_oflag_map[i].dotl_flag; in v9fs_mapped_dotl_flags()
191 return rflags; in v9fs_mapped_dotl_flags()
201 int rflags = 0; in v9fs_open_to_dotl_flags() local
207 rflags |= flags & O_ACCMODE; in v9fs_open_to_dotl_flags()
208 rflags |= v9fs_mapped_dotl_flags(flags); in v9fs_open_to_dotl_flags()
210 return rflags; in v9fs_open_to_dotl_flags()
/linux-6.1.9/fs/xfs/scrub/
Dbmap.c110 unsigned int rflags = 0; in xchk_bmap_get_rmap() local
115 rflags |= XFS_RMAP_ATTR_FORK; in xchk_bmap_get_rmap()
117 rflags |= XFS_RMAP_UNWRITTEN; in xchk_bmap_get_rmap()
135 owner, offset, rflags, rmap, &has_rmap); in xchk_bmap_get_rmap()
138 owner, offset, rflags, rmap, &has_rmap); in xchk_bmap_get_rmap()
/linux-6.1.9/drivers/net/ethernet/seeq/
Dsgiseeq.h20 volatile unsigned int rflags; member
/linux-6.1.9/arch/x86/kvm/
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()
/linux-6.1.9/include/xen/interface/hvm/
Dhvm_vcpu.h84 uint64_t rflags; member
/linux-6.1.9/include/linux/
Drio_drv.h366 u64 rbase, u32 size, u32 rflags);
369 u32 size, u32 rflags, dma_addr_t *local);
/linux-6.1.9/arch/x86/include/asm/xen/
Dinterface_64.h84 uint64_t rax, r11, rcx, flags, rip, cs, rflags, rsp, ss; member
/linux-6.1.9/arch/x86/kvm/svm/
Dnested.c557 kvm_set_rflags(&svm->vcpu, vmcb12->save.rflags | X86_EFLAGS_FIXED); in nested_vmcb02_prepare_save()
860 vmcb01->save.rflags = kvm_get_rflags(vcpu); in nested_svm_vmrun()
902 to_save->rflags = from_save->rflags | X86_EFLAGS_FIXED; in svm_copy_vmrun_state()
970 vmcb12->save.rflags = kvm_get_rflags(vcpu); in nested_svm_vmexit()
1037 kvm_set_rflags(vcpu, vmcb01->save.rflags); in nested_svm_vmexit()
1079 if (unlikely(vmcb01->save.rflags & X86_EFLAGS_TF)) in nested_svm_vmexit()
1640 (save->rflags & X86_EFLAGS_VM) || in svm_set_nested_state()
Dsvm.c390 old_rflags = svm->vmcb->save.rflags; in __svm_skip_emulated_instruction()
396 svm->vmcb->save.rflags = old_rflags; in __svm_skip_emulated_instruction()
1004 svm->vmcb->save.rflags &= ~X86_EFLAGS_TF; in disable_nmi_singlestep()
1006 svm->vmcb->save.rflags &= ~X86_EFLAGS_RF; in disable_nmi_singlestep()
1507 unsigned long rflags = svm->vmcb->save.rflags; in svm_get_rflags() local
1512 rflags &= ~X86_EFLAGS_TF; in svm_get_rflags()
1514 rflags &= ~X86_EFLAGS_RF; in svm_get_rflags()
1516 return rflags; in svm_get_rflags()
1519 static void svm_set_rflags(struct kvm_vcpu *vcpu, unsigned long rflags) in svm_set_rflags() argument
1522 rflags |= (X86_EFLAGS_TF | X86_EFLAGS_RF); in svm_set_rflags()
[all …]
/linux-6.1.9/drivers/s390/char/
Dsclp_sd.c35 u8 rflags; member
232 if (!(evbuf->rflags & 0x80)) { in sclp_sd_sync()
/linux-6.1.9/tools/testing/selftests/kvm/lib/x86_64/
Dsvm.c18 u64 rflags; variable
/linux-6.1.9/arch/x86/include/asm/
Dsvm.h307 u64 rflags; member
364 u64 rflags; member

12