Searched refs:pte_flags (Results 1 - 6 of 6) sorted by relevance

/linux-4.1.27/arch/x86/include/asm/
H A Dpgtable.h95 return pte_flags(pte) & _PAGE_DIRTY; pte_dirty()
100 return pte_flags(pte) & _PAGE_ACCESSED; pte_young()
115 return pte_flags(pte) & _PAGE_RW; pte_write()
120 return pte_flags(pte) & _PAGE_PSE; pte_huge()
125 return pte_flags(pte) & _PAGE_GLOBAL; pte_global()
130 return !(pte_flags(pte) & _PAGE_NX); pte_exec()
135 return pte_flags(pte) & _PAGE_SPECIAL; pte_special()
303 return pte_flags(pte) & _PAGE_SOFT_DIRTY; pte_soft_dirty()
382 #define pte_pgprot(x) __pgprot(pte_flags(x) & PTE_FLAGS_MASK)
440 return pte_flags(a) & (_PAGE_PRESENT | _PAGE_PROTNONE); pte_present()
446 if (pte_flags(a) & _PAGE_PRESENT) pte_accessible()
449 if ((pte_flags(a) & _PAGE_PROTNONE) && pte_accessible()
458 return pte_flags(pte) & _PAGE_HIDDEN; pte_hidden()
479 return (pte_flags(pte) & (_PAGE_PROTNONE | _PAGE_PRESENT)) pte_protnone()
869 return pte_flags(pte) & _PAGE_SWP_SOFT_DIRTY; pte_swp_soft_dirty()
H A Dpgtable_types.h299 static inline pteval_t pte_flags(pte_t pte) pte_flags() function
/linux-4.1.27/arch/x86/mm/
H A Dgup.c92 if ((pte_flags(pte) & (mask | _PAGE_SPECIAL)) != mask) { gup_pte_range()
128 if ((pte_flags(pte) & mask) != mask) gup_huge_pmd()
131 VM_BUG_ON(pte_flags(pte) & _PAGE_SPECIAL); gup_huge_pmd()
205 if ((pte_flags(pte) & mask) != mask) gup_huge_pud()
208 VM_BUG_ON(pte_flags(pte) & _PAGE_SPECIAL); gup_huge_pud()
H A Dpageattr-test.c38 return pte_flags(pte) & _PAGE_SOFTW1; pte_testbit()
/linux-4.1.27/drivers/char/agp/
H A Dintel-gtt.c321 u32 pte_flags = I810_PTE_VALID; i810_write_entry() local
325 pte_flags |= I810_PTE_LOCAL; i810_write_entry()
328 pte_flags |= I830_PTE_SYSTEM_CACHED; i810_write_entry()
332 writel_relaxed(addr | pte_flags, intel_private.gtt + entry); i810_write_entry()
733 u32 pte_flags = I810_PTE_VALID; i830_write_entry() local
736 pte_flags |= I830_PTE_SYSTEM_CACHED; i830_write_entry()
738 writel_relaxed(addr | pte_flags, intel_private.gtt + entry); i830_write_entry()
1101 u32 pte_flags; i965_write_entry() local
1103 pte_flags = I810_PTE_VALID; i965_write_entry()
1105 pte_flags |= I830_PTE_SYSTEM_CACHED; i965_write_entry()
1109 writel_relaxed(addr | pte_flags, intel_private.gtt + entry); i965_write_entry()
/linux-4.1.27/drivers/lguest/
H A Dpage_tables.c216 flags = (pte_flags(gpte) & ~_PAGE_GLOBAL); gpte_to_spte()
248 if (pte_flags(pte) & _PAGE_PRESENT) release_pte()
256 if (pte_flags(gpte) & _PAGE_PSE) gpte_in_iomem()
265 if ((pte_flags(gpte) & _PAGE_PSE) || check_gpte()
466 if (!(pte_flags(gpte) & _PAGE_PRESENT)) demand_page()
473 if ((errcode & 2) && !(pte_flags(gpte) & _PAGE_RW)) demand_page()
477 if ((errcode & 4) && !(pte_flags(gpte) & _PAGE_USER)) demand_page()
569 flags = pte_flags(*spte); page_writable()
704 if (!(pte_flags(gpte) & _PAGE_PRESENT)) __guest_pa()
810 if (i == 0 && !(pte_flags(*pte) & _PAGE_PRESENT)) { allocate_switcher_mapping()
957 if ((pte_flags(gpte) & (_PAGE_DIRTY | _PAGE_ACCESSED)) __guest_set_pte()
963 pte_flags(gpte) & _PAGE_DIRTY)); __guest_set_pte()

Completed in 207 milliseconds