/kernel/linux/linux-5.10/arch/mips/include/asm/ |
H A D | pgtable.h | 137 # define pte_none(pte) (!(((pte).pte_high) & ~_PAGE_GLOBAL)) 139 # define pte_none(pte) (!(((pte).pte_low | (pte).pte_high) & ~_PAGE_GLOBAL)) 147 ptep->pte_high = pte.pte_high; 152 if (pte.pte_high & _PAGE_GLOBAL) { 164 buddy->pte_high |= _PAGE_GLOBAL; 176 if (ptep_buddy(ptep)->pte_high & _PAGE_GLOBAL) 177 null.pte_high = _PAGE_GLOBAL; 180 null.pte_low = null.pte_high = _PAGE_GLOBAL; 314 pte.pte_high [all...] |
H A D | pgtable-32.h | 158 #define pte_pfn(x) (((unsigned long)((x).pte_high >> _PFN_SHIFT)) | (unsigned long)((x).pte_low << _PAGE_PRESENT_SHIFT)) 166 pte.pte_high = (pfn << _PFN_SHIFT) | in pfn_pte() 174 #define pte_pfn(x) ((unsigned long)((x).pte_high >> 6)) 180 pte.pte_high = (pfn << 6) | (pgprot_val(prot) & 0x3f); in pfn_pte() 218 #define __pte_to_swp_entry(pte) ((swp_entry_t) { (pte).pte_high }) 227 #define __pte_to_swp_entry(pte) ((swp_entry_t) { (pte).pte_high })
|
H A D | page.h | 124 typedef struct { unsigned long pte_low, pte_high; } pte_t; member 125 #define pte_val(x) ((x).pte_low | ((unsigned long long)(x).pte_high << 32))
|
/kernel/linux/linux-6.6/arch/mips/include/asm/ |
H A D | pgtable.h | 111 # define pte_none(pte) (!(((pte).pte_high) & ~_PAGE_GLOBAL)) 113 # define pte_none(pte) (!(((pte).pte_low | (pte).pte_high) & ~_PAGE_GLOBAL)) 121 ptep->pte_high = pte.pte_high; 126 if (pte.pte_high & _PAGE_GLOBAL) { 138 buddy->pte_high |= _PAGE_GLOBAL; 150 if (ptep_buddy(ptep)->pte_high & _PAGE_GLOBAL) 151 null.pte_high = _PAGE_GLOBAL; 154 null.pte_low = null.pte_high = _PAGE_GLOBAL; 300 pte.pte_high [all...] |
H A D | pgtable-32.h | 156 #define pte_pfn(x) (((unsigned long)((x).pte_high >> PFN_PTE_SHIFT)) | (unsigned long)((x).pte_low << _PAGE_PRESENT_SHIFT)) 164 pte.pte_high = (pfn << PFN_PTE_SHIFT) | in pfn_pte() 172 #define pte_pfn(x) ((unsigned long)((x).pte_high >> 6)) 178 pte.pte_high = (pfn << 6) | (pgprot_val(prot) & 0x3f); in pfn_pte() 242 #define __pte_to_swp_entry(pte) ((swp_entry_t) { (pte).pte_high }) 271 #define __pte_to_swp_entry(pte) ((swp_entry_t) { (pte).pte_high })
|
H A D | page.h | 124 typedef struct { unsigned long pte_low, pte_high; } pte_t; member 125 #define pte_val(x) ((x).pte_low | ((unsigned long long)(x).pte_high << 32))
|
/kernel/linux/linux-6.6/arch/x86/include/asm/ |
H A D | pgtable-3level.h | 14 __FILE__, __LINE__, &(e), (e).pte_high, (e).pte_low) 38 WRITE_ONCE(ptep->pte_high, pte.pte_high); in native_set_pte() 71 WRITE_ONCE(ptep->pte_high, 0); in native_pte_clear()
|
H A D | pgtable-3level_types.h | 17 unsigned long pte_low, pte_high; member
|
/kernel/linux/linux-5.10/arch/x86/include/asm/ |
H A D | pgtable-3level.h | 16 __FILE__, __LINE__, &(e), (e).pte_high, (e).pte_low) 32 ptep->pte_high = pte.pte_high; in native_set_pte() 121 ptep->pte_high = 0; in native_pte_clear()
|
H A D | pgtable-3level_types.h | 17 unsigned long pte_low, pte_high; member
|
/kernel/linux/linux-5.10/arch/sh/include/asm/ |
H A D | pgtable_32.h | 302 ptep->pte_high = pte.pte_high; in set_pte() 347 ((pte).pte_high & (_PAGE_EXT_USER_WRITE | _PAGE_EXT_KERN_WRITE)) 398 pte.pte_high |= pgprot_val(newprot) >> 32; in pte_modify() 414 &(e), (e).pte_high, (e).pte_low) 448 #define __pte_to_swp_entry(pte) ((swp_entry_t){ (pte).pte_high })
|
H A D | page.h | 76 typedef struct { unsigned long pte_low, pte_high; } pte_t; member 80 ((x).pte_low | ((unsigned long long)(x).pte_high << 32))
|
/kernel/linux/linux-6.6/arch/sh/include/asm/ |
H A D | pgtable_32.h | 302 ptep->pte_high = pte.pte_high; in set_pte() 346 ((pte).pte_high & (_PAGE_EXT_USER_WRITE | _PAGE_EXT_KERN_WRITE)) 397 pte.pte_high |= pgprot_val(newprot) >> 32; in pte_modify() 414 &(e), (e).pte_high, (e).pte_low) 457 #define __pte_to_swp_entry(pte) ((swp_entry_t){ (pte).pte_high })
|
H A D | page.h | 76 typedef struct { unsigned long pte_low, pte_high; } pte_t; member 80 ((x).pte_low | ((unsigned long long)(x).pte_high << 32))
|
/kernel/linux/linux-5.10/arch/mips/mm/ |
H A D | tlb-r4k.c | 351 write_c0_entrylo0(pte_to_entrylo(ptep->pte_high)); in __update_tlb() 355 write_c0_entrylo1(pte_to_entrylo(ptep->pte_high)); in __update_tlb() 359 write_c0_entrylo0(ptep->pte_high); in __update_tlb() 361 write_c0_entrylo1(ptep->pte_high); in __update_tlb()
|
H A D | init.c | 101 entrylo = pte_to_entrylo(pte.pte_high); in __kmap_pgprot() 103 entrylo = pte.pte_high; in __kmap_pgprot()
|
H A D | tlbex.c | 1058 /* The low 32 bits of EntryLo is stored in pte_high */ in build_update_entries() 1059 pte_off_even += offsetof(pte_t, pte_high); in build_update_entries() 1060 pte_off_odd += offsetof(pte_t, pte_high); in build_update_entries()
|
/kernel/linux/linux-6.6/arch/mips/mm/ |
H A D | tlb-r4k.c | 356 write_c0_entrylo0(pte_to_entrylo(ptep->pte_high)); in __update_tlb() 360 write_c0_entrylo1(pte_to_entrylo(ptep->pte_high)); in __update_tlb() 364 write_c0_entrylo0(ptep->pte_high); in __update_tlb() 366 write_c0_entrylo1(ptep->pte_high); in __update_tlb()
|
H A D | init.c | 100 entrylo = pte_to_entrylo(pte.pte_high); in __kmap_pgprot() 102 entrylo = pte.pte_high; in __kmap_pgprot()
|
/kernel/linux/linux-5.10/arch/sh/mm/ |
H A D | tlb-sh4.c | 42 __raw_writel(pte.pte_high, MMU_PTEA); in __update_tlb()
|
H A D | tlb-pteaex.c | 47 __raw_writel(pte.pte_high, MMU_PTEA); in __update_tlb()
|
/kernel/linux/linux-6.6/arch/sh/mm/ |
H A D | tlb-pteaex.c | 47 __raw_writel(pte.pte_high, MMU_PTEA); in __update_tlb()
|
H A D | tlb-sh4.c | 42 __raw_writel(pte.pte_high, MMU_PTEA); in __update_tlb()
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | pgtable.h | 425 * ptep->pte_high = h; 433 * ptep->pte_high = 0; 435 * We must ensure here that the load of pte_low sees 'l' IFF pte_high sees 'h'. 436 * We load pte_high *after* loading pte_low, which ensures we don't see an older 437 * value of pte_high. *Then* we recheck pte_low, which ensures that we haven't 439 * pte_low and pte_high, but we are guaranteed that pte_low will not have the 450 pte.pte_high = ptep->pte_high; in ptep_get_lockless()
|
/kernel/linux/linux-5.10/mm/ |
H A D | gup.c | 2086 * ptep->pte_high = h; 2094 * ptep->pte_high = 0; 2096 * We must ensure here that the load of pte_low sees 'l' IFF pte_high sees 'h'. 2097 * We load pte_high *after* loading pte_low, which ensures we don't see an older 2098 * value of pte_high. *Then* we recheck pte_low, which ensures that we haven't 2100 * pte_low and pte_high, but we are guaranteed that pte_low will not have the 2111 pte.pte_high = ptep->pte_high; in gup_get_pte()
|