Home
last modified time | relevance | path

Searched refs:may_write (Results 1 – 13 of 13) sorted by relevance

/linux-6.12.1/arch/powerpc/kvm/
Dbook3s_32_mmu.c164 pte->may_write = bat->pp > 1; in kvmppc_mmu_book3s_32_xlate_bat()
170 if (iswrite && !pte->may_write) { in kvmppc_mmu_book3s_32_xlate_bat()
228 pte->may_write = false; in kvmppc_mmu_book3s_32_xlate_pte()
236 pte->may_write = true; in kvmppc_mmu_book3s_32_xlate_pte()
266 if (iswrite && pte->may_write && !(pte_r & PTEG_FLAG_DIRTY)) { in kvmppc_mmu_book3s_32_xlate_pte()
270 if (!pte->may_read || (iswrite && !pte->may_write)) in kvmppc_mmu_book3s_32_xlate_pte()
309 pte->may_write = true; in kvmppc_mmu_book3s_32_xlate()
Dbook3s_64_mmu.c219 gpte->may_write = true; in kvmppc_mmu_book3s_64_xlate()
304 gpte->may_write = false; in kvmppc_mmu_book3s_64_xlate()
312 gpte->may_write = true; in kvmppc_mmu_book3s_64_xlate()
340 if (iswrite && gpte->may_write && !(r & HPTE_R_C)) { in kvmppc_mmu_book3s_64_xlate()
350 if (!gpte->may_read || (iswrite && !gpte->may_write)) in kvmppc_mmu_book3s_64_xlate()
Dtrace_pr.h83 (pte->pte.may_write ? 0x2 : 0) |
112 (pte->pte.may_write ? 0x2 : 0) |
Dbook3s_32_mmu_host.c198 if (orig_pte->may_write && writable) { in kvmppc_mmu_map_page()
241 orig_pte->may_write ? 'w' : '-', in kvmppc_mmu_map_page()
Dbook3s_64_mmu_radix.c219 gpte->may_write = !!(pte & _PAGE_WRITE); in kvmppc_mmu_walk_radix_tree()
297 gpte->may_write = 0; in kvmppc_mmu_radix_xlate()
306 gpte->may_write = 0; in kvmppc_mmu_radix_xlate()
Dbook3s_64_mmu_host.c125 if (!orig_pte->may_write || !writable) in kvmppc_mmu_map_page()
Dbook3s_hv_nested.c1420 if (!gpte_p->may_write) { in kvmhv_translate_addr_nested()
1432 if (!gpte_p->may_read && !gpte_p->may_write) { in kvmhv_translate_addr_nested()
1646 perm |= gpte.may_write ? 0UL : _PAGE_WRITE; in __kvmhv_nested_page_fault()
Dbook3s_64_mmu_hv.c394 gpte->may_write = hpte_write_permission(pp, key); in kvmppc_mmu_book3s_64_hv_xlate()
403 gpte->may_write = 0; in kvmppc_mmu_book3s_64_hv_xlate()
Dbooke.c1994 pte->may_write = true; in kvmppc_xlate()
2025 pte->may_write = true; in kvmppc_xlate()
Dbook3s.c465 pte->may_write = true; in kvmppc_xlate()
Dbook3s_pr.c705 pte.may_write = true; in kvmppc_handle_pagefault()
Dpowerpc.c371 if (!pte.may_write) in kvmppc_st()
/linux-6.12.1/arch/powerpc/include/asm/
Dkvm_host.h381 bool may_write : 1; member