Searched refs:ARCH_MMU_FLAG_PERM_RO (Results 1 – 8 of 8) sorted by relevance
60 switch (flags & (ARCH_MMU_FLAG_PERM_USER | ARCH_MMU_FLAG_PERM_RO)) { in mmu_flags_to_l1_arch_flags()64 case ARCH_MMU_FLAG_PERM_RO: in mmu_flags_to_l1_arch_flags()70 case ARCH_MMU_FLAG_PERM_USER | ARCH_MMU_FLAG_PERM_RO: in mmu_flags_to_l1_arch_flags()111 switch (flags & (ARCH_MMU_FLAG_PERM_USER | ARCH_MMU_FLAG_PERM_RO)) { in mmu_flags_to_l2_arch_flags_small_page()115 case ARCH_MMU_FLAG_PERM_RO: in mmu_flags_to_l2_arch_flags_small_page()121 case ARCH_MMU_FLAG_PERM_USER | ARCH_MMU_FLAG_PERM_RO: in mmu_flags_to_l2_arch_flags_small_page()278 *flags |= ARCH_MMU_FLAG_PERM_RO; in arch_mmu_query()283 *flags |= ARCH_MMU_FLAG_PERM_USER | ARCH_MMU_FLAG_PERM_RO; in arch_mmu_query()329 *flags |= ARCH_MMU_FLAG_PERM_RO; in arch_mmu_query()334 *flags |= ARCH_MMU_FLAG_PERM_USER | ARCH_MMU_FLAG_PERM_RO; in arch_mmu_query()
27 #define ARCH_MMU_FLAG_PERM_RO (1<<3) macro
57 switch (flags & (ARCH_MMU_FLAG_PERM_USER | ARCH_MMU_FLAG_PERM_RO)) { in mmu_flags_to_pte_attr()61 case ARCH_MMU_FLAG_PERM_RO: in mmu_flags_to_pte_attr()67 case ARCH_MMU_FLAG_PERM_USER | ARCH_MMU_FLAG_PERM_RO: in mmu_flags_to_pte_attr()176 *flags |= ARCH_MMU_FLAG_PERM_RO; in arch_mmu_query()179 *flags |= ARCH_MMU_FLAG_PERM_USER | ARCH_MMU_FLAG_PERM_RO; in arch_mmu_query()
67 access = ARCH_MMU_FLAG_PERM_RO; in platform_init_mmu_mappings()84 access = ARCH_MMU_FLAG_PERM_RO; in platform_init_mmu_mappings()
97 *flags |= ARCH_MMU_FLAG_PERM_RO; in arch_mmu_query()150 if (!(flags & ARCH_MMU_FLAG_PERM_RO)) in arch_mmu_map()
179 pte |= (flags & ARCH_MMU_FLAG_PERM_RO) ? RISCV_PTE_R : (RISCV_PTE_R | RISCV_PTE_W); in mmu_flags_to_pte()188 f |= ARCH_MMU_FLAG_PERM_RO; in pte_flags_to_mmu_flags()
96 if (!(flags & ARCH_MMU_FLAG_PERM_RO)) in get_x86_arch_flags()119 mmu_flags |= ARCH_MMU_FLAG_PERM_RO; in get_arch_mmu_flags()
147 if (!(flags & ARCH_MMU_FLAG_PERM_RO)) in get_x86_arch_flags()169 mmu_flags |= ARCH_MMU_FLAG_PERM_RO; in get_arch_mmu_flags()
Completed in 16 milliseconds