Searched refs:PTE_W (Results 1 – 4 of 4) sorted by relevance
72 attr & PTE_W ? 'w' : '-', in print_pte()110 if (attr & (PTE_R | PTE_W | PTE_X)) { in walk_pte()
1089 if (pte & (PTE_R | PTE_W | PTE_X)) { in get_physical_address()1113 target_ulong rwx = pte & (PTE_R | PTE_W | PTE_X); in get_physical_address()1116 case PTE_W | PTE_X: in get_physical_address()1118 case PTE_W: in get_physical_address()1126 rwx = is_sstack_idx ? (PTE_R | PTE_W) : (is_probe ? 0 : PTE_R); in get_physical_address()1146 if (rwx & PTE_W) { in get_physical_address()
647 #define PTE_W 0x004 /* Write */ macro
421 } else if (!(pte & (PTE_R | PTE_W | PTE_X))) { in riscv_iommu_spa_fetch()423 } else if ((pte & (PTE_R | PTE_W | PTE_X)) == PTE_W) { in riscv_iommu_spa_fetch()425 } else if ((pte & (PTE_R | PTE_W | PTE_X)) == (PTE_W | PTE_X)) { in riscv_iommu_spa_fetch()431 } else if ((iotlb->perm & IOMMU_WO) && !(pte & PTE_W)) { in riscv_iommu_spa_fetch()451 iotlb->perm = (pte & PTE_W) ? ((pte & PTE_R) ? IOMMU_RW : IOMMU_WO) in riscv_iommu_spa_fetch()