Searched refs:may_write (Results 1 – 13 of 13) sorted by relevance
164 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()
219 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()
83 (pte->pte.may_write ? 0x2 : 0) |112 (pte->pte.may_write ? 0x2 : 0) |
198 if (orig_pte->may_write && writable) { in kvmppc_mmu_map_page()241 orig_pte->may_write ? 'w' : '-', in kvmppc_mmu_map_page()
219 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()
125 if (!orig_pte->may_write || !writable) in kvmppc_mmu_map_page()
1420 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()
394 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()
1994 pte->may_write = true; in kvmppc_xlate()2025 pte->may_write = true; in kvmppc_xlate()
465 pte->may_write = true; in kvmppc_xlate()
705 pte.may_write = true; in kvmppc_handle_pagefault()
371 if (!pte.may_write) in kvmppc_st()
381 bool may_write : 1; member