Searched refs:_PAGE_HASHPTE (Results 1 - 19 of 19) sorted by relevance

/linux-4.1.27/arch/powerpc/include/asm/
H A Dpte-hash64-4k.h4 #define _PAGE_HASHPTE 0x0400 /* software: pte has an associated HPTE */ macro
12 #define _PAGE_HPTEFLAGS (_PAGE_BUSY | _PAGE_HASHPTE | \
H A Dpte-hash32.h20 #define _PAGE_HASHPTE 0x002 /* hash_page has made an HPTE for this pte */ macro
33 #define _PTE_NONE_MASK (0xffffffff00000000ULL | _PAGE_HASHPTE)
35 #define _PTE_NONE_MASK _PAGE_HASHPTE
H A Dpgtable.h123 * because a concurrent invalidation can clear _PAGE_HASHPTE. If it's a __set_pte_at()
128 *ptep = __pte((pte_val(*ptep) & _PAGE_HASHPTE) __set_pte_at()
129 | (pte_val(pte) & ~_PAGE_HASHPTE)); __set_pte_at()
131 pte_update(ptep, ~_PAGE_HASHPTE, pte_val(pte)); __set_pte_at()
143 *ptep = __pte((pte_val(*ptep) & _PAGE_HASHPTE) __set_pte_at()
144 | (pte_val(pte) & ~_PAGE_HASHPTE)); __set_pte_at()
147 #if _PAGE_HASHPTE != 0 __set_pte_at()
148 if (pte_val(*ptep) & _PAGE_HASHPTE) __set_pte_at()
160 * the _PAGE_HASHPTE bit since we may not have invalidated the previous __set_pte_at()
164 *ptep = __pte((pte_val(*ptep) & _PAGE_HASHPTE) __set_pte_at()
165 | (pte_val(pte) & ~_PAGE_HASHPTE)); __set_pte_at()
H A Dpte-hash64-64k.h10 /* For 64K page, we don't have a separate _PAGE_HASHPTE bit. Instead,
13 * is equivalent as effectively, the old _PAGE_HASHPTE was an OR of
22 #define _PAGE_HASHPTE _PAGE_HPTE_SUB macro
32 #define _PAGE_HPTEFLAGS (_PAGE_BUSY | _PAGE_HASHPTE | _PAGE_COMBO)
H A Dtlb.h44 if (pte_val(*ptep) & _PAGE_HASHPTE) __tlb_remove_tlb_entry()
H A Dpgtable-ppc32.h128 do { pte_update(ptep, ~_PAGE_HASHPTE, 0); } while (0)
255 #if _PAGE_HASHPTE != 0 __ptep_test_and_clear_young()
256 if (old & _PAGE_HASHPTE) { __ptep_test_and_clear_young()
270 return __pte(pte_update(ptep, ~_PAGE_HASHPTE, 0)); ptep_get_and_clear()
296 #define pte_same(A,B) (((pte_val(A) ^ pte_val(B)) & ~_PAGE_HASHPTE) == 0)
336 * must not include the _PAGE_PRESENT bit or the _PAGE_HASHPTE bit (if used).
H A Dpte-book3e.h57 #define _PAGE_HASHPTE 0 macro
H A Dpte-common.h7 #ifndef _PAGE_HASHPTE
8 #define _PAGE_HASHPTE 0 macro
63 #define _PAGE_HPTEFLAGS _PAGE_HASHPTE
H A Dpte-44x.h68 * _PAGE_HASHPTE (if HW has)
H A Dpgtable-ppc64.h248 if (old & _PAGE_HASHPTE) pte_update()
260 if ((pte_val(*ptep) & (_PAGE_ACCESSED | _PAGE_HASHPTE)) == 0) __ptep_test_and_clear_young()
555 if ((pmd_val(*pmdp) & (_PAGE_ACCESSED | _PAGE_HASHPTE)) == 0) __pmdp_test_and_clear_young()
/linux-4.1.27/arch/powerpc/mm/
H A Dhugetlbpage-hash64.c73 if (unlikely(old_pte & _PAGE_HASHPTE)) { __hash_page_huge()
88 if (likely(!(old_pte & _PAGE_HASHPTE))) { __hash_page_huge()
97 new_pte = (new_pte & ~_PAGE_HPTEFLAGS) | _PAGE_HASHPTE; __hash_page_huge()
H A Dhash_low_32.S103 ori r0,r0,_PAGE_ACCESSED|_PAGE_HASHPTE
109 * to update the PTE to set _PAGE_HASHPTE. -- paulus.
195 * _PAGE_HASHPTE bit to be a reliable indication of whether
227 * Fetch the linux pte and test and set _PAGE_HASHPTE atomically.
228 * If _PAGE_HASHPTE was already set, we don't replace the existing
239 andi. r0,r6,_PAGE_HASHPTE
250 ori r5,r6,_PAGE_HASHPTE
279 * linux PTE (before setting _PAGE_HASHPTE) and r7 contains the
284 * We assume that the caller has (or will) set the _PAGE_HASHPTE
286 * be the old linux PTE value; if it doesn't have _PAGE_HASHPTE set
348 * Test the _PAGE_HASHPTE bit in the old linux PTE, and skip the search
351 andi. r6,r6,_PAGE_HASHPTE
504 * the _PAGE_HASHPTE bit to be a reliable indication of
518 /* First find a PTE in the range that has _PAGE_HASHPTE set */
526 andi. r0,r0,_PAGE_HASHPTE
565 * Check the _PAGE_HASHPTE bit in the linux PTE. If it is
573 andi. r0,r8,_PAGE_HASHPTE
621 andi. r0,r0,_PAGE_HASHPTE
H A Dhugepage-hash64.c95 if ((old_pmd & _PAGE_HASHPTE) && !(old_pmd & _PAGE_COMBO)) __hash_page_thp()
132 new_pmd |= _PAGE_HASHPTE; __hash_page_thp()
H A Dtlb_hash64.c220 if (!(pte & _PAGE_HASHPTE)) __flush_hash_table_range()
250 if (pteval & _PAGE_HASHPTE) flush_tlb_pmd_range()
H A Dtlb_hash32.c172 * and check _PAGE_HASHPTE bit; if it is set, find and destroy
H A Dhash_low_64.S99 ori r30,r30,_PAGE_BUSY | _PAGE_ACCESSED | _PAGE_HASHPTE
178 andi. r0,r31,_PAGE_HASHPTE
183 * add _PAGE_HASHPTE
188 ori r30,r30,_PAGE_HASHPTE
852 ori r30,r30,_PAGE_HASHPTE
H A Dpgtable_32.c303 BUG_ON((pte_val(*pg) & (_PAGE_PRESENT | _PAGE_HASHPTE)) && map_page()
H A Dpgtable_64.c552 if (old & _PAGE_HASHPTE) pmd_hugepage_update()
660 if (old & _PAGE_HASHPTE) pmdp_splitting_flush()
/linux-4.1.27/arch/microblaze/include/asm/
H A Dpgtable.h222 #ifndef _PAGE_HASHPTE pte_mkspecial()
223 #define _PAGE_HASHPTE 0 pte_mkspecial() macro
450 return __pte(pte_update(ptep, ~_PAGE_HASHPTE, 0)); ptep_get_and_clear()
465 /*#define pte_same(A,B) (((pte_val(A) ^ pte_val(B)) & ~_PAGE_HASHPTE) == 0)*/
503 * must not include the _PAGE_PRESENT bit, or the _PAGE_HASHPTE bit

Completed in 244 milliseconds