Home
last modified time | relevance | path

Searched refs:__pte (Results 1 – 25 of 77) sorted by relevance

1234

/arch/sh/include/asm/
Dpgtable_64.h234 #define pte_clear(mm,addr,xp) (set_pte_at(mm, addr, xp, __pte(_PTE_EMPTY)))
270 static inline pte_t pte_wrprotect(pte_t pte) { set_pte(&pte, __pte(pte_val(pte) & ~_PAGE_WRITE)); r… in pte_wrprotect()
271 static inline pte_t pte_mkclean(pte_t pte) { set_pte(&pte, __pte(pte_val(pte) & ~_PAGE_DIRTY)); ret… in pte_mkclean()
272 static inline pte_t pte_mkold(pte_t pte) { set_pte(&pte, __pte(pte_val(pte) & ~_PAGE_ACCESSED)); re… in pte_mkold()
273 static inline pte_t pte_mkwrite(pte_t pte) { set_pte(&pte, __pte(pte_val(pte) | _PAGE_WRITE)); retu… in pte_mkwrite()
274 static inline pte_t pte_mkdirty(pte_t pte) { set_pte(&pte, __pte(pte_val(pte) | _PAGE_DIRTY)); retu… in pte_mkdirty()
275 static inline pte_t pte_mkyoung(pte_t pte) { set_pte(&pte, __pte(pte_val(pte) | _PAGE_ACCESSED)); r… in pte_mkyoung()
276 static inline pte_t pte_mkhuge(pte_t pte) { set_pte(&pte, __pte(pte_val(pte) | _PAGE_SZHUGE)); retu… in pte_mkhuge()
277 static inline pte_t pte_mkspecial(pte_t pte) { set_pte(&pte, __pte(pte_val(pte) | _PAGE_SPECIAL)); … in pte_mkspecial()
286 pte_t __pte; \
[all …]
Dpage.h81 #define __pte(x) \ macro
82 ({ pte_t __pte = {(x), ((unsigned long long)(x)) >> 32}; __pte; })
88 #define __pte(x) ((pte_t) { (x) } ) macro
94 #define __pte(x) ((pte_t) { (x) } ) macro
/arch/ia64/include/asm/
Dpgtable.h253 ({ pte_t __pte; pte_val(__pte) = ((pfn) << PAGE_SHIFT) | pgprot_val(pgprot); __pte; })
262 ({ pte_t __pte; pte_val(__pte) = physpage + pgprot_val(pgprot); __pte; })
265 (__pte((pte_val(_pte) & ~_PAGE_CHG_MASK) | (pgprot_val(newprot) & _PAGE_CHG_MASK)))
310 #define pte_wrprotect(pte) (__pte(pte_val(pte) & ~_PAGE_AR_RW))
311 #define pte_mkwrite(pte) (__pte(pte_val(pte) | _PAGE_AR_RW))
312 #define pte_mkold(pte) (__pte(pte_val(pte) & ~_PAGE_A))
313 #define pte_mkyoung(pte) (__pte(pte_val(pte) | _PAGE_A))
314 #define pte_mkclean(pte) (__pte(pte_val(pte) & ~_PAGE_D))
315 #define pte_mkdirty(pte) (__pte(pte_val(pte) | _PAGE_D))
316 #define pte_mkhuge(pte) (__pte(pte_val(pte)))
[all …]
/arch/mips/include/asm/
Dpage.h101 #define __pte(x) ({ pte_t __pte = {(x), ((unsigned long long)(x)) >> 32}; __pte; }) macro
105 #define __pte(x) ((pte_t) { (x) } ) macro
110 #define __pte(x) ((pte_t) { (x) } ) macro
/arch/powerpc/mm/
Dhugetlbpage-hash64.c65 rflags = hash_page_do_lazy_icache(rflags, __pte(old_pte), trap); in __hash_page_huge()
87 pa = pte_pfn(__pte(old_pte)) << PAGE_SHIFT; in __hash_page_huge()
129 *ptep = __pte(old_pte); in __hash_page_huge()
141 *ptep = __pte(new_pte & ~_PAGE_BUSY); in __hash_page_huge()
Dpgtable.c77 pte = __pte(pte_val(pte) & ~_PAGE_HPTEFLAGS); in set_pte_filter()
139 return __pte(pte_val(pte) & ~_PAGE_EXEC); in set_pte_filter()
178 return __pte(pte_val(pte) | _PAGE_EXEC); in set_access_flags_filter()
/arch/avr32/include/asm/
Dpgtable.h189 set_pte_at(mm, addr, xp, __pte(0)); \
224 set_pte(&pte, __pte(pte_val(pte) & ~_PAGE_RW)); in pte_wrprotect()
229 set_pte(&pte, __pte(pte_val(pte) & ~_PAGE_DIRTY)); in pte_mkclean()
234 set_pte(&pte, __pte(pte_val(pte) & ~_PAGE_ACCESSED)); in pte_mkold()
239 set_pte(&pte, __pte(pte_val(pte) | _PAGE_RW)); in pte_mkwrite()
244 set_pte(&pte, __pte(pte_val(pte) | _PAGE_DIRTY)); in pte_mkdirty()
249 set_pte(&pte, __pte(pte_val(pte) | _PAGE_ACCESSED)); in pte_mkyoung()
296 set_pte(&pte, __pte((pte_val(pte) & _PAGE_CHG_MASK) in pte_modify()
Dpgtable-2level.h42 #define pfn_pte(pfn, prot) __pte(((pfn) << PAGE_SHIFT) | pgprot_val(prot))
/arch/arm/include/asm/
Dpgtable-2level-types.h43 #define __pte(x) ((pte_t) { (x) } ) macro
61 #define __pte(x) (x) macro
Dpgtable-3level-types.h46 #define __pte(x) ((pte_t) { (x) } ) macro
63 #define __pte(x) (x) macro
/arch/sparc/include/asm/
Dpgtable_64.h249 return __pte(paddr | sz_bits | pgprot_val(prot)); in pfn_pte()
315 return __pte((pte_val(pte) & mask) | (pgprot_val(prot) & ~mask)); in pte_modify()
331 return __pte(off); in pgoff_to_pte()
374 return __pte(pte_val(pte) | mask); in pte_mkhuge()
399 return __pte(val); in pte_mkdirty()
423 return __pte(val); in pte_mkclean()
441 return __pte(val | mask); in pte_mkwrite()
465 return __pte(val); in pte_wrprotect()
485 return __pte(pte_val(pte) & ~mask); in pte_mkold()
505 return __pte(pte_val(pte) | mask); in pte_mkyoung()
[all …]
Dpage_64.h73 #define __pte(x) ((pte_t) { (x) } ) macro
93 #define __pte(x) (x) macro
Dpage_32.h78 #define __pte(x) ((pte_t) { (x) } ) macro
106 #define __pte(x) (x) macro
/arch/unicore32/include/asm/
Dpage.h45 #define __pte(x) ((pte_t) { (x) }) macro
61 #define __pte(x) (x) macro
/arch/cris/include/asm/
Dpgtable.h191 pte_t __pte; \
193 pte_val(__pte) = (physpage) + pgprot_val(pgprot); \
194 __pte; \
254 #define pfn_pte(pfn, prot) __pte(((pfn) << PAGE_SHIFT) | pgprot_val(prot))
297 #define pgoff_to_pte(x) __pte(((x) << 6) | _PAGE_FILE)
/arch/powerpc/include/asm/
Dpgtable.h47 return __pte(((pte_basic_t)(pfn) << PTE_RPN_SHIFT) | in pfn_pte()
102 *ptep = __pte((pte_val(*ptep) & _PAGE_HASHPTE) in __set_pte_at()
117 *ptep = __pte((pte_val(*ptep) & _PAGE_HASHPTE) in __set_pte_at()
138 *ptep = __pte((pte_val(*ptep) & _PAGE_HASHPTE) in __set_pte_at()
Dhugetlb.h99 return __pte(pte_update(mm, addr, ptep, ~0UL, 1)); in huge_ptep_get_and_clear()
101 return __pte(pte_update(ptep, ~0UL, 0)); in huge_ptep_get_and_clear()
Dpgtable-ppc32.h187 *p = __pte((old & ~clr) | set); in pte_update()
218 *p = __pte((old & ~(unsigned long long)clr) | set); in pte_update()
253 return __pte(pte_update(ptep, ~_PAGE_HASHPTE, 0)); in ptep_get_and_clear()
/arch/s390/include/asm/
Dhugetlb.h132 pte_t __pte = huge_ptep_get(__ptep); \
133 if (pte_write(__pte)) { \
139 huge_pte_wrprotect(__pte)); \
/arch/m32r/include/asm/
Dpgtable-2level.h65 #define ptep_get_and_clear(mm,addr,xp) __pte(xchg(&(xp)->pte, 0))
70 #define pfn_pte(pfn, prot) __pte(((pfn) << PAGE_SHIFT) | pgprot_val(prot))
/arch/alpha/include/asm/
Dpage.h40 #define __pte(x) ((pte_t) { (x) } ) macro
59 #define __pte(x) (x) macro
/arch/x86/mm/kmemcheck/
Dkmemcheck.c98 set_pte(pte, __pte(pte_val(*pte) | _PAGE_PRESENT)); in kmemcheck_show_addr()
111 set_pte(pte, __pte(pte_val(*pte) & ~_PAGE_PRESENT)); in kmemcheck_hide_addr()
273 set_pte(pte, __pte(pte_val(*pte) | _PAGE_PRESENT)); in kmemcheck_show_pages()
274 set_pte(pte, __pte(pte_val(*pte) & ~_PAGE_HIDDEN)); in kmemcheck_show_pages()
299 set_pte(pte, __pte(pte_val(*pte) & ~_PAGE_PRESENT)); in kmemcheck_hide_pages()
300 set_pte(pte, __pte(pte_val(*pte) | _PAGE_HIDDEN)); in kmemcheck_hide_pages()
/arch/openrisc/include/asm/
Dpgtable.h330 pte_t __pte; \
332 pte_val(__pte) = (physpage) + pgprot_val(pgprot); \
333 __pte; \
407 #define pfn_pte(pfn, prot) __pte((((pfn) << PAGE_SHIFT)) | pgprot_val(prot))
445 #define pgoff_to_pte(x) __pte(((x) << 6) | _PAGE_FILE)
/arch/m68k/include/asm/
Dpage.h34 #define __pte(x) ((pte_t) { (x) } ) macro
/arch/parisc/include/asm/
Dpage.h53 #define __pte(x) ((pte_t) { (x) } ) macro
75 #define __pte(x) (x) macro

1234