pteflags 148 arch/powerpc/include/asm/book3s/64/hash.h extern unsigned long htab_convert_pte_flags(unsigned long pteflags); pteflags 264 arch/powerpc/include/asm/mmu_context.h static inline u64 pte_to_hpte_pkey_bits(u64 pteflags) pteflags 54 arch/powerpc/include/asm/pkeys.h static inline u64 pte_to_hpte_pkey_bits(u64 pteflags) pteflags 56 arch/powerpc/include/asm/pkeys.h return (((pteflags & H_PTE_PKEY_BIT0) ? HPTE_R_KEY_BIT0 : 0x0UL) | pteflags 57 arch/powerpc/include/asm/pkeys.h ((pteflags & H_PTE_PKEY_BIT1) ? HPTE_R_KEY_BIT1 : 0x0UL) | pteflags 58 arch/powerpc/include/asm/pkeys.h ((pteflags & H_PTE_PKEY_BIT2) ? HPTE_R_KEY_BIT2 : 0x0UL) | pteflags 59 arch/powerpc/include/asm/pkeys.h ((pteflags & H_PTE_PKEY_BIT3) ? HPTE_R_KEY_BIT3 : 0x0UL) | pteflags 60 arch/powerpc/include/asm/pkeys.h ((pteflags & H_PTE_PKEY_BIT4) ? HPTE_R_KEY_BIT4 : 0x0UL)); pteflags 63 arch/powerpc/include/asm/pkeys.h static inline u16 pte_to_pkey_bits(u64 pteflags) pteflags 65 arch/powerpc/include/asm/pkeys.h return (((pteflags & H_PTE_PKEY_BIT0) ? 0x10 : 0x0UL) | pteflags 66 arch/powerpc/include/asm/pkeys.h ((pteflags & H_PTE_PKEY_BIT1) ? 0x8 : 0x0UL) | pteflags 67 arch/powerpc/include/asm/pkeys.h ((pteflags & H_PTE_PKEY_BIT2) ? 0x4 : 0x0UL) | pteflags 68 arch/powerpc/include/asm/pkeys.h ((pteflags & H_PTE_PKEY_BIT3) ? 0x2 : 0x0UL) | pteflags 69 arch/powerpc/include/asm/pkeys.h ((pteflags & H_PTE_PKEY_BIT4) ? 0x1 : 0x0UL)); pteflags 186 arch/powerpc/mm/book3s64/hash_utils.c unsigned long htab_convert_pte_flags(unsigned long pteflags) pteflags 191 arch/powerpc/mm/book3s64/hash_utils.c if ((pteflags & _PAGE_EXEC) == 0) pteflags 200 arch/powerpc/mm/book3s64/hash_utils.c if (pteflags & _PAGE_PRIVILEGED) { pteflags 204 arch/powerpc/mm/book3s64/hash_utils.c if (!(pteflags & _PAGE_WRITE)) { pteflags 211 arch/powerpc/mm/book3s64/hash_utils.c if (pteflags & _PAGE_RWX) pteflags 213 arch/powerpc/mm/book3s64/hash_utils.c if (!((pteflags & _PAGE_WRITE) && (pteflags & _PAGE_DIRTY))) pteflags 222 arch/powerpc/mm/book3s64/hash_utils.c if (pteflags & _PAGE_DIRTY) pteflags 228 arch/powerpc/mm/book3s64/hash_utils.c if ((pteflags & _PAGE_CACHE_CTL) == _PAGE_TOLERANT) pteflags 230 arch/powerpc/mm/book3s64/hash_utils.c else if ((pteflags & _PAGE_CACHE_CTL) == _PAGE_NON_IDEMPOTENT) pteflags 232 arch/powerpc/mm/book3s64/hash_utils.c else if ((pteflags & _PAGE_CACHE_CTL) == _PAGE_SAO) pteflags 240 arch/powerpc/mm/book3s64/hash_utils.c rflags |= pte_to_hpte_pkey_bits(pteflags);