Searched refs:pteflags (Results 1 – 5 of 5) sorted by relevance
17 static inline u64 pte_to_hpte_pkey_bits(u64 pteflags, unsigned long flags) in pte_to_hpte_pkey_bits() argument21 pte_pkey = (((pteflags & H_PTE_PKEY_BIT4) ? HPTE_R_KEY_BIT4 : 0x0UL) | in pte_to_hpte_pkey_bits()22 ((pteflags & H_PTE_PKEY_BIT3) ? HPTE_R_KEY_BIT3 : 0x0UL) | in pte_to_hpte_pkey_bits()23 ((pteflags & H_PTE_PKEY_BIT2) ? HPTE_R_KEY_BIT2 : 0x0UL) | in pte_to_hpte_pkey_bits()24 ((pteflags & H_PTE_PKEY_BIT1) ? HPTE_R_KEY_BIT1 : 0x0UL) | in pte_to_hpte_pkey_bits()25 ((pteflags & H_PTE_PKEY_BIT0) ? HPTE_R_KEY_BIT0 : 0x0UL)); in pte_to_hpte_pkey_bits()36 static inline u16 hash__pte_to_pkey_bits(u64 pteflags) in hash__pte_to_pkey_bits() argument38 return (((pteflags & H_PTE_PKEY_BIT4) ? 0x10 : 0x0UL) | in hash__pte_to_pkey_bits()39 ((pteflags & H_PTE_PKEY_BIT3) ? 0x8 : 0x0UL) | in hash__pte_to_pkey_bits()40 ((pteflags & H_PTE_PKEY_BIT2) ? 0x4 : 0x0UL) | in hash__pte_to_pkey_bits()[all …]
18 static inline u16 pte_to_pkey_bits(u64 pteflags) in pte_to_pkey_bits() argument22 return hash__pte_to_pkey_bits(pteflags); in pte_to_pkey_bits()
148 unsigned long htab_convert_pte_flags(unsigned long pteflags, unsigned long flags);
289 unsigned long htab_convert_pte_flags(unsigned long pteflags, unsigned long flags) in htab_convert_pte_flags() argument294 if ((pteflags & _PAGE_EXEC) == 0) in htab_convert_pte_flags()303 if (pteflags & _PAGE_PRIVILEGED) { in htab_convert_pte_flags()307 if (!(pteflags & _PAGE_WRITE)) { in htab_convert_pte_flags()314 if (pteflags & _PAGE_RWX) in htab_convert_pte_flags()316 if (!((pteflags & _PAGE_WRITE) && (pteflags & _PAGE_DIRTY))) in htab_convert_pte_flags()325 if (pteflags & _PAGE_DIRTY) in htab_convert_pte_flags()331 if ((pteflags & _PAGE_CACHE_CTL) == _PAGE_TOLERANT) in htab_convert_pte_flags()333 else if ((pteflags & _PAGE_CACHE_CTL) == _PAGE_NON_IDEMPOTENT) in htab_convert_pte_flags()335 else if ((pteflags & _PAGE_CACHE_CTL) == _PAGE_SAO) in htab_convert_pte_flags()[all …]
286 static inline u64 pte_to_hpte_pkey_bits(u64 pteflags, unsigned long flags) in pte_to_hpte_pkey_bits() argument