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()
1412 if (pte & (PTE_R | PTE_W | PTE_X)) { in get_physical_address()1447 target_ulong rwx = pte & (PTE_R | PTE_W | PTE_X); in get_physical_address()1450 case PTE_W | PTE_X: in get_physical_address()1452 case PTE_W: in get_physical_address()1460 rwx = is_sstack_idx ? (PTE_R | PTE_W) : (is_probe ? 0 : PTE_R); in get_physical_address()1480 if (rwx & PTE_W) { in get_physical_address()
669 #define PTE_W 0x004 /* Write */ macro
440 } else if (!(pte & (PTE_R | PTE_W | PTE_X))) { in riscv_iommu_spa_fetch()442 } else if ((pte & (PTE_R | PTE_W | PTE_X)) == PTE_W) { in riscv_iommu_spa_fetch()444 } else if ((pte & (PTE_R | PTE_W | PTE_X)) == (PTE_W | PTE_X)) { in riscv_iommu_spa_fetch()450 } else if ((iotlb->perm & IOMMU_WO) && !(pte & PTE_W)) { in riscv_iommu_spa_fetch()470 iotlb->perm = (pte & PTE_W) ? ((pte & PTE_R) ? IOMMU_RW : IOMMU_WO) in riscv_iommu_spa_fetch()