Home
last modified time | relevance | path

Searched defs:pte (Results 1 – 25 of 304) sorted by relevance

12345678910>>...13

/arch/powerpc/include/asm/
Dpgtable.h31 static inline int pte_write(pte_t pte) { return pte_val(pte) & _PAGE_RW; } in pte_write()
32 static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } in pte_dirty()
33 static inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; } in pte_young()
34 static inline int pte_file(pte_t pte) { return pte_val(pte) & _PAGE_FILE; } in pte_file()
35 static inline int pte_special(pte_t pte) { return pte_val(pte) & _PAGE_SPECIAL; } in pte_special()
36 static inline int pte_present(pte_t pte) { return pte_val(pte) & _PAGE_PRESENT; } in pte_present()
37 static inline int pte_none(pte_t pte) { return (pte_val(pte) & ~_PTE_NONE_MASK) == 0; } in pte_none()
38 static inline pgprot_t pte_pgprot(pte_t pte) { return __pgprot(pte_val(pte) & PAGE_PROT_BITS); } in pte_pgprot()
49 static inline unsigned long pte_pfn(pte_t pte) { in pte_pfn()
57 static inline pte_t pte_wrprotect(pte_t pte) { in pte_wrprotect()
[all …]
/arch/mips/include/asm/
Dpgtable.h102 #define pte_none(pte) (!(((pte).pte_low | (pte).pte_high) & ~_PAGE_GLOBAL)) argument
103 #define pte_present(pte) ((pte).pte_low & _PAGE_PRESENT) argument
105 static inline void set_pte(pte_t *ptep, pte_t pte) in set_pte()
138 #define pte_none(pte) (!(pte_val(pte) & ~_PAGE_GLOBAL)) argument
139 #define pte_present(pte) (pte_val(pte) & _PAGE_PRESENT) argument
204 static inline int pte_write(pte_t pte) { return pte.pte_low & _PAGE_WRITE; } in pte_write()
205 static inline int pte_dirty(pte_t pte) { return pte.pte_low & _PAGE_MODIFIED; } in pte_dirty()
206 static inline int pte_young(pte_t pte) { return pte.pte_low & _PAGE_ACCESSED; } in pte_young()
207 static inline int pte_file(pte_t pte) { return pte.pte_low & _PAGE_FILE; } in pte_file()
209 static inline pte_t pte_wrprotect(pte_t pte) in pte_wrprotect()
[all …]
Dpgalloc.h17 pte_t *pte) in pmd_populate_kernel()
23 pgtable_t pte) in pmd_populate()
70 pte_t *pte; in pte_alloc_one_kernel() local
80 struct page *pte; in pte_alloc_one() local
90 static inline void pte_free_kernel(struct mm_struct *mm, pte_t *pte) in pte_free_kernel()
95 static inline void pte_free(struct mm_struct *mm, pgtable_t pte) in pte_free()
101 #define __pte_free_tlb(tlb,pte,address) \ argument
/arch/m68k/include/asm/
Dsun3_pgtable.h106 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify()
119 #define __pte_page(pte) \ argument
124 static inline int pte_none (pte_t pte) { return !pte_val (pte); } in pte_none()
125 static inline int pte_present (pte_t pte) { return pte_val (pte) & SUN3_PAGE_VALID; } in pte_present()
131 #define pte_pfn(pte) (pte_val(pte) & SUN3_PAGE_PGNUM_MASK) argument
135 #define pte_page(pte) virt_to_page(__pte_page(pte)) argument
168 static inline int pte_write(pte_t pte) { return pte_val(pte) & SUN3_PAGE_WRITEABLE; } in pte_write()
169 static inline int pte_dirty(pte_t pte) { return pte_val(pte) & SUN3_PAGE_MODIFIED; } in pte_dirty()
170 static inline int pte_young(pte_t pte) { return pte_val(pte) & SUN3_PAGE_ACCESSED; } in pte_young()
171 static inline int pte_file(pte_t pte) { return pte_val(pte) & SUN3_PAGE_ACCESSED; } in pte_file()
[all …]
Dmcf_pgtable.h159 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify()
172 #define __pte_page(pte) ((unsigned long) (pte_val(pte) & PAGE_MASK)) argument
175 static inline int pte_none(pte_t pte) in pte_none()
180 static inline int pte_present(pte_t pte) in pte_present()
191 #define pte_pagenr(pte) ((__pte_page(pte) - PAGE_OFFSET) >> PAGE_SHIFT) argument
192 #define pte_page(pte) virt_to_page(__pte_page(pte)) argument
221 static inline int pte_read(pte_t pte) in pte_read()
226 static inline int pte_write(pte_t pte) in pte_write()
231 static inline int pte_exec(pte_t pte) in pte_exec()
236 static inline int pte_dirty(pte_t pte) in pte_dirty()
[all …]
Dmotorola_pgtable.h103 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify()
125 #define __pte_page(pte) ((unsigned long)__va(pte_val(pte) & PAGE_MASK)) argument
130 #define pte_none(pte) (!pte_val(pte)) argument
131 #define pte_present(pte) (pte_val(pte) & (_PAGE_PRESENT | _PAGE_PROTNONE)) argument
134 #define pte_page(pte) virt_to_page(__va(pte_val(pte))) argument
135 #define pte_pfn(pte) (pte_val(pte) >> PAGE_SHIFT) argument
168 static inline int pte_write(pte_t pte) { return !(pte_val(pte) & _PAGE_RONLY); } in pte_write()
169 static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } in pte_dirty()
170 static inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; } in pte_young()
171 static inline int pte_file(pte_t pte) { return pte_val(pte) & _PAGE_FILE; } in pte_file()
[all …]
/arch/hexagon/include/asm/
Dpgtable.h182 #define pte_special(pte) 0 argument
183 #define pte_mkspecial(pte) (pte) argument
187 #define pte_mkhuge(pte) __pte((pte_val(pte) & ~0x3) | HVM_HUGEPAGE_SIZE) argument
196 #define pte_present_exec_user(pte) \ argument
302 static inline int pte_none(pte_t pte) in pte_none()
310 static inline int pte_present(pte_t pte) in pte_present()
322 static inline pte_t pte_mkold(pte_t pte) in pte_mkold()
329 static inline pte_t pte_mkyoung(pte_t pte) in pte_mkyoung()
336 static inline pte_t pte_mkclean(pte_t pte) in pte_mkclean()
343 static inline pte_t pte_mkdirty(pte_t pte) in pte_mkdirty()
[all …]
Dpgalloc.h65 struct page *pte; in pte_alloc_one() local
83 static inline void pte_free(struct mm_struct *mm, struct page *pte) in pte_free()
89 static inline void pte_free_kernel(struct mm_struct *mm, pte_t *pte) in pte_free_kernel()
95 pgtable_t pte) in pmd_populate()
115 pte_t *pte) in pmd_populate_kernel()
140 #define __pte_free_tlb(tlb, pte, addr) \ argument
/arch/cris/include/asm/
Dpgalloc.h7 #define pmd_populate_kernel(mm, pmd, pte) pmd_set(pmd, pte) argument
8 #define pmd_populate(mm, pmd, pte) pmd_set(pmd, page_address(pte)) argument
27 pte_t *pte = (pte_t *)__get_free_page(GFP_KERNEL|__GFP_REPEAT|__GFP_ZERO); in pte_alloc_one_kernel() local
33 struct page *pte; in pte_alloc_one() local
39 static inline void pte_free_kernel(struct mm_struct *mm, pte_t *pte) in pte_free_kernel()
44 static inline void pte_free(struct mm_struct *mm, pgtable_t pte) in pte_free()
50 #define __pte_free_tlb(tlb,pte,address) \ argument
Dpgtable.h114 static inline int pte_write(pte_t pte) { return pte_val(pte) & _PAGE_WRITE; } in pte_write()
115 static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_MODIFIED; } in pte_dirty()
116 static inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; } in pte_young()
117 static inline int pte_file(pte_t pte) { return pte_val(pte) & _PAGE_FILE; } in pte_file()
118 static inline int pte_special(pte_t pte) { return 0; } in pte_special()
120 static inline pte_t pte_wrprotect(pte_t pte) in pte_wrprotect()
126 static inline pte_t pte_mkclean(pte_t pte) in pte_mkclean()
132 static inline pte_t pte_mkold(pte_t pte) in pte_mkold()
138 static inline pte_t pte_mkwrite(pte_t pte) in pte_mkwrite()
146 static inline pte_t pte_mkdirty(pte_t pte) in pte_mkdirty()
[all …]
/arch/score/include/asm/
Dpgalloc.h7 pte_t *pte) in pmd_populate_kernel()
13 pgtable_t pte) in pmd_populate()
43 pte_t *pte; in pte_alloc_one_kernel() local
54 struct page *pte; in pte_alloc_one() local
64 static inline void pte_free_kernel(struct mm_struct *mm, pte_t *pte) in pte_free_kernel()
69 static inline void pte_free(struct mm_struct *mm, pgtable_t pte) in pte_free()
75 #define __pte_free_tlb(tlb, pte, buf) \ argument
Dpgtable.h91 #define pte_unmap(pte) ((void)(pte)) argument
102 #define __pte_to_swp_entry(pte) \ argument
109 static inline pte_t pte_mkspecial(pte_t pte) { return pte; } in pte_mkspecial()
132 #define pte_none(pte) (!(pte_val(pte) & ~_PAGE_GLOBAL)) argument
133 #define pte_present(pte) (pte_val(pte) & _PAGE_PRESENT) argument
189 static inline int pte_write(pte_t pte) in pte_write()
194 static inline int pte_dirty(pte_t pte) in pte_dirty()
199 static inline int pte_young(pte_t pte) in pte_young()
204 static inline int pte_file(pte_t pte) in pte_file()
209 #define pte_special(pte) (0) argument
[all …]
/arch/mn10300/include/asm/
Dpgalloc.h22 #define pmd_populate_kernel(mm, pmd, pte) \ argument
26 void pmd_populate(struct mm_struct *mm, pmd_t *pmd, struct page *pte) in pmd_populate()
42 static inline void pte_free_kernel(struct mm_struct *mm, pte_t *pte) in pte_free_kernel()
47 static inline void pte_free(struct mm_struct *mm, struct page *pte) in pte_free()
53 #define __pte_free_tlb(tlb, pte, addr) tlb_remove_page((tlb), (pte)) argument
/arch/um/include/asm/
Dpgtable.h130 static inline int pte_none(pte_t pte) in pte_none()
139 static inline int pte_read(pte_t pte) in pte_read()
145 static inline int pte_exec(pte_t pte){ in pte_exec()
150 static inline int pte_write(pte_t pte) in pte_write()
159 static inline int pte_file(pte_t pte) in pte_file()
164 static inline int pte_dirty(pte_t pte) in pte_dirty()
169 static inline int pte_young(pte_t pte) in pte_young()
174 static inline int pte_newpage(pte_t pte) in pte_newpage()
179 static inline int pte_newprot(pte_t pte) in pte_newprot()
184 static inline int pte_special(pte_t pte) in pte_special()
[all …]
Dpgalloc.h13 #define pmd_populate_kernel(mm, pmd, pte) \ argument
16 #define pmd_populate(mm, pmd, pte) \ argument
31 static inline void pte_free_kernel(struct mm_struct *mm, pte_t *pte) in pte_free_kernel()
36 static inline void pte_free(struct mm_struct *mm, pgtable_t pte) in pte_free()
42 #define __pte_free_tlb(tlb,pte, address) \ argument
/arch/openrisc/include/asm/
Dpgalloc.h30 #define pmd_populate_kernel(mm, pmd, pte) \ argument
34 struct page *pte) in pmd_populate()
79 struct page *pte; in pte_alloc_one() local
86 static inline void pte_free_kernel(struct mm_struct *mm, pte_t *pte) in pte_free_kernel()
91 static inline void pte_free(struct mm_struct *mm, struct page *pte) in pte_free()
97 #define __pte_free_tlb(tlb, pte, addr) tlb_remove_page((tlb), (pte)) argument
Dpgtable.h238 static inline int pte_read(pte_t pte) { return pte_val(pte) & _PAGE_READ; } in pte_read()
239 static inline int pte_write(pte_t pte) { return pte_val(pte) & _PAGE_WRITE; } in pte_write()
240 static inline int pte_exec(pte_t pte) { return pte_val(pte) & _PAGE_EXEC; } in pte_exec()
241 static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } in pte_dirty()
242 static inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; } in pte_young()
243 static inline int pte_file(pte_t pte) { return pte_val(pte) & _PAGE_FILE; } in pte_file()
244 static inline int pte_special(pte_t pte) { return 0; } in pte_special()
245 static inline pte_t pte_mkspecial(pte_t pte) { return pte; } in pte_mkspecial()
247 static inline pte_t pte_wrprotect(pte_t pte) in pte_wrprotect()
253 static inline pte_t pte_rdprotect(pte_t pte) in pte_rdprotect()
[all …]
/arch/m32r/include/asm/
Dpgalloc.h8 #define pmd_populate_kernel(mm, pmd, pte) \ argument
12 pgtable_t pte) in pmd_populate()
36 pte_t *pte = (pte_t *)__get_free_page(GFP_KERNEL|__GFP_ZERO); in pte_alloc_one_kernel() local
44 struct page *pte = alloc_page(GFP_KERNEL|__GFP_ZERO); in pte_alloc_one() local
50 static inline void pte_free_kernel(struct mm_struct *mm, pte_t *pte) in pte_free_kernel()
55 static inline void pte_free(struct mm_struct *mm, pgtable_t pte) in pte_free()
61 #define __pte_free_tlb(tlb, pte, addr) pte_free((tlb)->mm, (pte)) argument
72 #define pgd_populate(mm, pmd, pte) BUG() argument
/arch/powerpc/mm/
Dpgtable.c47 static inline int pte_looks_normal(pte_t pte) in pte_looks_normal()
54 struct page * maybe_pte_to_page(pte_t pte) in maybe_pte_to_page()
75 static pte_t set_pte_filter(pte_t pte, unsigned long addr) in set_pte_filter()
102 static pte_t set_access_flags_filter(pte_t pte, struct vm_area_struct *vma, in set_access_flags_filter()
114 static pte_t set_pte_filter(pte_t pte, unsigned long addr) in set_pte_filter()
142 static pte_t set_access_flags_filter(pte_t pte, struct vm_area_struct *vma, in set_access_flags_filter()
187 pte_t pte) in set_pte_at()
/arch/microblaze/include/asm/
Dpgtable.h43 #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) argument
47 static inline int pte_file(pte_t pte) { return 0; } in pte_file()
90 static inline int pte_special(pte_t pte) { return 0; } in pte_special()
92 static inline pte_t pte_mkspecial(pte_t pte) { return pte; } in pte_mkspecial()
308 #define pte_none(pte) ((pte_val(pte) & ~_PTE_NONE_MASK) == 0) argument
309 #define pte_present(pte) (pte_val(pte) & _PAGE_PRESENT) argument
344 static inline int pte_read(pte_t pte) { return pte_val(pte) & _PAGE_USER; } in pte_read()
345 static inline int pte_write(pte_t pte) { return pte_val(pte) & _PAGE_RW; } in pte_write()
346 static inline int pte_exec(pte_t pte) { return pte_val(pte) & _PAGE_EXEC; } in pte_exec()
347 static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } in pte_dirty()
[all …]
/arch/xtensa/include/asm/
Dpgtable.h205 #define pte_none(pte) (pte_val(pte) == _PAGE_INVALID) argument
206 #define pte_present(pte) \ argument
217 static inline int pte_write(pte_t pte) { return pte_val(pte) & _PAGE_WRITABLE; } in pte_write()
218 static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } in pte_dirty()
219 static inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; } in pte_young()
220 static inline int pte_file(pte_t pte) { return pte_val(pte) & _PAGE_FILE; } in pte_file()
221 static inline int pte_special(pte_t pte) { return 0; } in pte_special()
223 static inline pte_t pte_wrprotect(pte_t pte) in pte_wrprotect()
225 static inline pte_t pte_mkclean(pte_t pte) in pte_mkclean()
227 static inline pte_t pte_mkold(pte_t pte) in pte_mkold()
[all …]
/arch/sh/include/asm/
Dpgalloc.h19 pte_t *pte) in pmd_populate_kernel()
25 pgtable_t pte) in pmd_populate()
54 static inline void pte_free_kernel(struct mm_struct *mm, pte_t *pte) in pte_free_kernel()
59 static inline void pte_free(struct mm_struct *mm, pgtable_t pte) in pte_free()
65 #define __pte_free_tlb(tlb,pte,addr) \ argument
/arch/arm/include/asm/
Dpgtable.h52 #define pte_ERROR(pte) __pte_error(__FILE__, __LINE__, pte) argument
186 #define __pte_unmap(pte) do { } while (0) argument
189 #define __pte_unmap(pte) kunmap_atomic(pte) argument
197 #define pte_unmap(pte) __pte_unmap(pte) argument
199 #define pte_pfn(pte) ((pte_val(pte) & PHYS_MASK) >> PAGE_SHIFT) argument
202 #define pte_page(pte) pfn_to_page(pte_pfn(pte)) argument
207 #define pte_none(pte) (!pte_val(pte)) argument
208 #define pte_present(pte) (pte_val(pte) & L_PTE_PRESENT) argument
209 #define pte_write(pte) (!(pte_val(pte) & L_PTE_RDONLY)) argument
210 #define pte_dirty(pte) (pte_val(pte) & L_PTE_DIRTY) argument
[all …]
/arch/sh/lib64/
Ddbg.c51 #define GET_VALID(pte) ((pte) & 0x1) argument
52 #define GET_SHARED(pte) ((pte) & 0x2) argument
53 #define GET_ASID(pte) ((pte >> 2) & 0x0ff) argument
54 #define GET_EPN(pte) ((pte) & 0xfffff000) argument
57 #define GET_CBEHAVIOR(pte) ((pte) & 0x3) argument
58 #define GET_PAGE_SIZE(pte) szTab[((pte >> 3) & 0x3)] argument
59 #define GET_PROTECTION(pte) protTab[((pte >> 6) & 0xf)] argument
60 #define GET_PPN(pte) ((pte) & 0xfffff000) argument
/arch/x86/include/asm/
Dpgtable.h36 #define set_pte(ptep, pte) native_set_pte(ptep, pte) argument
37 #define set_pte_at(mm, addr, ptep, pte) native_set_pte_at(mm, addr, ptep, pte) argument
40 #define set_pte_atomic(ptep, pte) \ argument
90 static inline int pte_dirty(pte_t pte) in pte_dirty()
95 static inline int pte_young(pte_t pte) in pte_young()
105 static inline int pte_write(pte_t pte) in pte_write()
110 static inline int pte_file(pte_t pte) in pte_file()
115 static inline int pte_huge(pte_t pte) in pte_huge()
120 static inline int pte_global(pte_t pte) in pte_global()
125 static inline int pte_exec(pte_t pte) in pte_exec()
[all …]

12345678910>>...13