Home
last modified time | relevance | path

Searched refs:pte_low (Results 1 – 18 of 18) sorted by relevance

/Linux-v4.19/arch/mips/include/asm/
Dpgtable.h139 # define pte_none(pte) (!(((pte).pte_low | (pte).pte_high) & ~_PAGE_GLOBAL))
142 #define pte_present(pte) ((pte).pte_low & _PAGE_PRESENT)
143 #define pte_no_exec(pte) ((pte).pte_low & _PAGE_NO_EXEC)
149 ptep->pte_low = pte.pte_low;
154 if (pte.pte_low & _PAGE_GLOBAL) {
163 buddy->pte_low |= _PAGE_GLOBAL;
179 if (ptep_buddy(ptep)->pte_low & _PAGE_GLOBAL)
180 null.pte_low = null.pte_high = _PAGE_GLOBAL;
315 static inline int pte_write(pte_t pte) { return pte.pte_low & _PAGE_WRITE; }
316 static inline int pte_dirty(pte_t pte) { return pte.pte_low & _PAGE_MODIFIED; }
[all …]
Dpgtable-32.h114 #define pte_pfn(x) (((unsigned long)((x).pte_high >> _PFN_SHIFT)) | (unsigned long)((x).pte_low <<…
120 pte.pte_low = (pfn >> _PAGE_PRESENT_SHIFT) | in pfn_pte()
136 pte.pte_low = pgprot_val(prot); in pfn_pte()
Dpage.h124 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))
/Linux-v4.19/arch/x86/include/asm/
Dpgtable-3level.h16 __FILE__, __LINE__, &(e), (e).pte_high, (e).pte_low)
34 ptep->pte_low = pte.pte_low; in native_set_pte()
117 ptep->pte_low = 0; in native_pte_clear()
326 pte.pte_low = ptep->pte_low; in gup_get_pte()
330 } while (unlikely(pte.pte_low != ptep->pte_low)); in gup_get_pte()
Dpgtable-2level.h6 pr_err("%s:%d: bad pte %08lx\n", __FILE__, __LINE__, (e).pte_low)
52 return __pte(xchg(&xp->pte_low, 0)); in native_ptep_get_and_clear()
95 #define __pte_to_swp_entry(pte) ((swp_entry_t) { (pte).pte_low })
Dpgtable-2level_types.h17 pteval_t pte_low; member
Dpgtable-3level_types.h17 unsigned long pte_low, pte_high; member
/Linux-v4.19/arch/sh/include/asm/
Dpage.h78 typedef struct { unsigned long pte_low, pte_high; } pte_t; member
82 ((x).pte_low | ((unsigned long long)(x).pte_high << 32))
86 typedef struct { unsigned long pte_low; } pte_t; member
89 #define pte_val(x) ((x).pte_low)
92 typedef struct { unsigned long long pte_low; } pte_t; member
95 #define pte_val(x) ((x).pte_low)
Dpgtable_32.h304 ptep->pte_low = pte.pte_low; in set_pte()
324 #define pte_present(x) ((x).pte_low & (_PAGE_PRESENT | _PAGE_PROTNONE))
340 #define pte_not_present(pte) (!((pte).pte_low & _PAGE_PRESENT))
341 #define pte_dirty(pte) ((pte).pte_low & _PAGE_DIRTY)
342 #define pte_young(pte) ((pte).pte_low & _PAGE_ACCESSED)
343 #define pte_special(pte) ((pte).pte_low & _PAGE_SPECIAL)
349 #define pte_write(pte) ((pte).pte_low & _PAGE_RW)
394 pte.pte_low &= _PAGE_CHG_MASK; in pte_modify()
395 pte.pte_low |= pgprot_val(newprot); in pte_modify()
430 &(e), (e).pte_high, (e).pte_low)
Dpgtable.h127 #define pte_pfn(x) ((unsigned long)(((x).pte_low >> PAGE_SHIFT)))
Dpgtable_64.h37 unsigned long long x = ((unsigned long long) pteval.pte_low); in set_pte()
/Linux-v4.19/arch/sh/mm/
Dgup.c59 pte.pte_low = ptep->pte_low; in gup_get_pte()
63 if (unlikely(pte.pte_low != ptep->pte_low)) in gup_get_pte()
Dtlb-sh4.c33 pteval = pte.pte_low; in __update_tlb()
Dtlb-pteaex.c37 pteval = pte.pte_low; in __update_tlb()
Dtlb-sh5.c195 ptel = pte.pte_low; in __update_tlb()
/Linux-v4.19/arch/mips/mm/
Dgup.c25 pte.pte_low = ptep->pte_low; in gup_get_pte()
29 if (unlikely(pte.pte_low != ptep->pte_low)) in gup_get_pte()
Dtlb-r4k.c346 writex_c0_entrylo0(ptep->pte_low & _PFNX_MASK); in __update_tlb()
350 writex_c0_entrylo1(ptep->pte_low & _PFNX_MASK); in __update_tlb()
Dinit.c116 entrylo = (pte.pte_low & _PFNX_MASK); in __kmap_pgprot()