Home
last modified time | relevance | path

Searched refs:pte_t (Results 1 - 25 of 899) sorted by relevance

12345678910>>...36

/kernel/linux/linux-6.6/arch/s390/include/asm/
H A Dhugetlb.h19 pte_t *ptep, pte_t pte, unsigned long sz);
21 pte_t *ptep, pte_t pte);
22 pte_t huge_ptep_get(pte_t *ptep);
23 pte_t huge_ptep_get_and_clear(struct mm_struct *mm,
24 unsigned long addr, pte_t *ptep);
49 pte_t *ptep, unsigned long sz) in huge_pte_clear()
57 static inline pte_t huge_ptep_clear_flus
[all...]
/kernel/linux/linux-6.6/include/asm-generic/
H A Dhugetlb.h8 static inline pte_t mk_huge_pte(struct page *page, pgprot_t pgprot) in mk_huge_pte()
13 static inline unsigned long huge_pte_write(pte_t pte) in huge_pte_write()
18 static inline unsigned long huge_pte_dirty(pte_t pte) in huge_pte_dirty()
23 static inline pte_t huge_pte_mkwrite(pte_t pte) in huge_pte_mkwrite()
29 static inline pte_t huge_pte_wrprotect(pte_t pte) in huge_pte_wrprotect()
35 static inline pte_t huge_pte_mkdirty(pte_t pte) in huge_pte_mkdirty()
40 static inline pte_t huge_pte_modif
[all...]
/kernel/linux/linux-6.6/arch/powerpc/include/asm/nohash/
H A Dpgtable.h23 static inline int pte_write(pte_t pte) in pte_write()
29 static inline int pte_read(pte_t pte) { return 1; } in pte_read()
31 static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } in pte_dirty()
32 static inline int pte_special(pte_t pte) { return pte_val(pte) & _PAGE_SPECIAL; } in pte_special()
33 static inline int pte_none(pte_t pte) { return (pte_val(pte) & ~_PTE_NONE_MASK) == 0; } in pte_none()
34 static inline bool pte_hashpte(pte_t pte) { return false; } in pte_hashpte()
35 static inline bool pte_ci(pte_t pte) { return pte_val(pte) & _PAGE_NO_CACHE; } in pte_ci()
36 static inline bool pte_exec(pte_t pte) { return pte_val(pte) & _PAGE_EXEC; } in pte_exec()
44 static inline int pte_protnone(pte_t pte) in pte_protnone()
55 static inline int pte_present(pte_t pt
[all...]
/kernel/linux/linux-5.10/arch/powerpc/include/asm/nohash/
H A Dpgtable.h43 static inline int pte_write(pte_t pte) in pte_write()
49 static inline int pte_read(pte_t pte) { return 1; } in pte_read()
51 static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } in pte_dirty()
52 static inline int pte_special(pte_t pte) { return pte_val(pte) & _PAGE_SPECIAL; } in pte_special()
53 static inline int pte_none(pte_t pte) { return (pte_val(pte) & ~_PTE_NONE_MASK) == 0; } in pte_none()
54 static inline bool pte_hashpte(pte_t pte) { return false; } in pte_hashpte()
55 static inline bool pte_ci(pte_t pte) { return pte_val(pte) & _PAGE_NO_CACHE; } in pte_ci()
56 static inline bool pte_exec(pte_t pte) { return pte_val(pte) & _PAGE_EXEC; } in pte_exec()
64 static inline int pte_protnone(pte_t pte) in pte_protnone()
75 static inline int pte_present(pte_t pt
[all...]
/kernel/linux/linux-6.6/arch/m68k/include/asm/
H A Dmcf_pgtable.h105 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify()
121 static inline int pte_none(pte_t pte) in pte_none()
126 static inline int pte_present(pte_t pte) in pte_present()
132 pte_t *ptep) in pte_clear()
158 static inline int pte_read(pte_t pte) in pte_read()
163 static inline int pte_write(pte_t pte) in pte_write()
168 static inline int pte_exec(pte_t pte) in pte_exec()
173 static inline int pte_dirty(pte_t pte) in pte_dirty()
178 static inline int pte_young(pte_t pt
[all...]
H A Dsun3_pgtable.h85 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify()
101 static inline int pte_none (pte_t pte) { return !pte_val (pte); } in pte_none()
102 static inline int pte_present (pte_t pte) { return pte_val (pte) & SUN3_PAGE_VALID; } in pte_present()
103 static inline void pte_clear (struct mm_struct *mm, unsigned long addr, pte_t *ptep) in pte_clear()
111 ({ pte_t __pte; pte_val(__pte) = pfn | pgprot_val(pgprot); __pte; })
140 static inline int pte_write(pte_t pte) { return pte_val(pte) & SUN3_PAGE_WRITEABLE; } in pte_write()
141 static inline int pte_dirty(pte_t pte) { return pte_val(pte) & SUN3_PAGE_MODIFIED; } in pte_dirty()
142 static inline int pte_young(pte_t pte) { return pte_val(pte) & SUN3_PAGE_ACCESSED; } in pte_young()
144 static inline pte_t pte_wrprotec
[all...]
/kernel/linux/linux-6.6/arch/mips/include/asm/
H A Dpgtable.h45 extern void __update_cache(unsigned long address, pte_t pte);
119 static inline void set_pte(pte_t *ptep, pte_t pte)
130 pte_t *buddy = ptep_buddy(ptep);
143 static inline void pte_clear(struct mm_struct *mm, unsigned long addr, pte_t *ptep)
145 pte_t null = __pte(0);
171 static inline void set_pte(pte_t *ptep, pte_t pteval)
176 pte_t *buddy = ptep_buddy(ptep);
190 static inline void pte_clear(struct mm_struct *mm, unsigned long addr, pte_t *pte
[all...]
/kernel/linux/linux-6.6/arch/microblaze/include/asm/
H A Dpgtable.h29 extern pte_t *va_to_pte(unsigned long address);
245 static inline int pte_read(pte_t pte) { return pte_val(pte) & _PAGE_USER; } in pte_read()
246 static inline int pte_write(pte_t pte) { return pte_val(pte) & _PAGE_RW; } in pte_write()
247 static inline int pte_exec(pte_t pte) { return pte_val(pte) & _PAGE_EXEC; } in pte_exec()
248 static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } in pte_dirty()
249 static inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; } in pte_young()
251 static inline void pte_uncache(pte_t pte) { pte_val(pte) |= _PAGE_NO_CACHE; } in pte_uncache()
252 static inline void pte_cache(pte_t pte) { pte_val(pte) &= ~_PAGE_NO_CACHE; } in pte_cache()
254 static inline pte_t pte_rdprotect(pte_t pt
[all...]
/kernel/linux/linux-5.10/arch/riscv/include/asm/
H A Dpgtable.h95 #define PTRS_PER_PTE (PAGE_SIZE / sizeof(pte_t))
212 static inline unsigned long pte_pfn(pte_t pte) in pte_pfn()
220 static inline pte_t pfn_pte(unsigned long pfn, pgprot_t prot) in pfn_pte()
227 static inline int pte_present(pte_t pte) in pte_present()
232 static inline int pte_none(pte_t pte) in pte_none()
237 static inline int pte_write(pte_t pte) in pte_write()
242 static inline int pte_exec(pte_t pte) in pte_exec()
247 static inline int pte_huge(pte_t pte) in pte_huge()
253 static inline int pte_dirty(pte_t pte) in pte_dirty()
258 static inline int pte_young(pte_t pt
[all...]
/kernel/linux/linux-6.6/arch/nios2/include/asm/
H A Dpgtable.h56 #define PTRS_PER_PTE (PAGE_SIZE / sizeof(pte_t))
73 extern pte_t invalid_pte_table[PAGE_SIZE/sizeof(pte_t)];
84 static inline int pte_write(pte_t pte) \ in pte_write()
86 static inline int pte_dirty(pte_t pte) \ in pte_dirty()
88 static inline int pte_young(pte_t pte) \ in pte_young()
102 static inline int pte_none(pte_t pte) in pte_none()
107 static inline int pte_present(pte_t pte) \ in pte_present()
114 static inline pte_t pte_wrprotect(pte_t pt
[all...]
/kernel/linux/linux-5.10/arch/s390/include/asm/
H A Dhugetlb.h19 pte_t *ptep, pte_t pte);
20 pte_t huge_ptep_get(pte_t *ptep);
21 pte_t huge_ptep_get_and_clear(struct mm_struct *mm,
22 unsigned long addr, pte_t *ptep);
47 pte_t *ptep, unsigned long sz) in huge_pte_clear()
56 unsigned long address, pte_t *ptep) in huge_ptep_clear_flush()
62 unsigned long addr, pte_t *ptep, in huge_ptep_set_access_flags()
63 pte_t pt in huge_ptep_set_access_flags()
[all...]
/kernel/linux/linux-5.10/arch/mips/include/asm/
H A Dpgtable.h132 pte_t *ptep, pte_t pteval);
145 static inline void set_pte(pte_t *ptep, pte_t pte)
156 pte_t *buddy = ptep_buddy(ptep);
169 static inline void pte_clear(struct mm_struct *mm, unsigned long addr, pte_t *ptep)
171 pte_t null = __pte(0);
197 static inline void set_pte(pte_t *ptep, pte_t pteval)
202 pte_t *budd
[all...]
/kernel/linux/linux-6.6/arch/hexagon/include/asm/
H A Dpgtable.h143 extern void sync_icache_dcache(pte_t pte);
149 static inline void set_pte(pte_t *ptep, pte_t pteval) in set_pte()
177 pte_t *ptep) in pte_clear()
226 * @pte: pte_t entry
228 static inline int pte_none(pte_t pte) in pte_none()
236 static inline int pte_present(pte_t pte) in pte_present()
248 static inline pte_t pte_mkold(pte_t pte) in pte_mkold()
255 static inline pte_t pte_mkyoun
[all...]
/kernel/linux/linux-6.6/arch/powerpc/include/asm/book3s/32/
H A Dpgtable.h59 static inline bool pte_user(pte_t pte) in pte_user()
132 #define PTE_TABLE_SIZE (sizeof(pte_t) << PTE_INDEX_SIZE)
261 static inline void flush_hash_entry(struct mm_struct *mm, pte_t *ptep, unsigned long addr) in flush_hash_entry()
280 static inline pte_basic_t pte_update(struct mm_struct *mm, unsigned long addr, pte_t *p, in pte_update()
323 unsigned long addr, pte_t *ptep) in __ptep_test_and_clear_young()
336 static inline pte_t ptep_get_and_clear(struct mm_struct *mm, unsigned long addr, in ptep_get_and_clear()
337 pte_t *ptep) in ptep_get_and_clear()
344 pte_t *ptep) in ptep_set_wrprotect()
350 pte_t *ptep, pte_t entr in __ptep_set_access_flags()
[all...]
/kernel/linux/linux-6.6/arch/openrisc/include/asm/
H A Dpgtable.h217 static inline int pte_read(pte_t pte) { return pte_val(pte) & _PAGE_READ; } in pte_read()
218 static inline int pte_write(pte_t pte) { return pte_val(pte) & _PAGE_WRITE; } in pte_write()
219 static inline int pte_exec(pte_t pte) { return pte_val(pte) & _PAGE_EXEC; } in pte_exec()
220 static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } in pte_dirty()
221 static inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; } in pte_young()
223 static inline pte_t pte_wrprotect(pte_t pte) in pte_wrprotect()
229 static inline pte_t pte_rdprotect(pte_t pte) in pte_rdprotect()
235 static inline pte_t pte_exprotec
[all...]
/kernel/linux/linux-6.6/arch/um/include/asm/
H A Dpgtable.h111 static inline int pte_none(pte_t pte) in pte_none()
120 static inline int pte_read(pte_t pte) in pte_read()
126 static inline int pte_exec(pte_t pte){ in pte_exec()
131 static inline int pte_write(pte_t pte) in pte_write()
137 static inline int pte_dirty(pte_t pte) in pte_dirty()
142 static inline int pte_young(pte_t pte) in pte_young()
147 static inline int pte_newpage(pte_t pte) in pte_newpage()
152 static inline int pte_newprot(pte_t pte) in pte_newprot()
163 static inline pte_t pte_mknewprot(pte_t pt
[all...]
/kernel/linux/linux-6.6/arch/riscv/include/asm/
H A Dpgtable.h31 #define PTRS_PER_PTE (PAGE_SIZE / sizeof(pte_t))
159 pte_t *(*get_pte_virt)(phys_addr_t pa);
283 static inline pte_t pmd_pte(pmd_t pmd) in pmd_pte()
288 static inline pte_t pud_pte(pud_t pud) in pud_pte()
300 static inline unsigned long pte_napot(pte_t pte) in pte_napot()
305 static inline pte_t pte_mknapot(pte_t pte, unsigned int order) in pte_mknapot()
318 static inline unsigned long pte_napot(pte_t pte) in pte_napot()
326 static inline unsigned long pte_pfn(pte_t pte) in pte_pfn()
339 static inline pte_t pfn_pt
[all...]
/kernel/linux/linux-6.6/arch/arm64/include/asm/
H A Dhugetlb.h27 pte_t arch_make_huge_pte(pte_t entry, unsigned int shift, vm_flags_t flags);
31 pte_t *ptep, pte_t pte, unsigned long sz);
34 unsigned long addr, pte_t *ptep,
35 pte_t pte, int dirty);
37 extern pte_t huge_ptep_get_and_clear(struct mm_struct *mm,
38 unsigned long addr, pte_t *ptep);
41 unsigned long addr, pte_t *ptep);
43 extern pte_t huge_ptep_clear_flus
[all...]
/kernel/linux/linux-5.10/include/asm-generic/
H A Dhugetlb.h5 static inline pte_t mk_huge_pte(struct page *page, pgprot_t pgprot) in mk_huge_pte()
10 static inline unsigned long huge_pte_write(pte_t pte) in huge_pte_write()
15 static inline unsigned long huge_pte_dirty(pte_t pte) in huge_pte_dirty()
20 static inline pte_t huge_pte_mkwrite(pte_t pte) in huge_pte_mkwrite()
25 static inline pte_t huge_pte_mkdirty(pte_t pte) in huge_pte_mkdirty()
30 static inline pte_t huge_pte_modify(pte_t pte, pgprot_t newprot) in huge_pte_modify()
37 pte_t *pte in huge_pte_clear()
[all...]
/kernel/linux/linux-5.10/arch/powerpc/include/asm/book3s/32/
H A Dpgtable.h20 static inline bool pte_user(pte_t pte) in pte_user()
113 #define PTE_TABLE_SIZE (sizeof(pte_t) << PTE_INDEX_SIZE)
244 extern void flush_hash_entry(struct mm_struct *mm, pte_t *ptep,
257 static inline pte_basic_t pte_update(struct mm_struct *mm, unsigned long addr, pte_t *p, in pte_update()
293 unsigned long addr, pte_t *ptep) in __ptep_test_and_clear_young()
307 static inline pte_t ptep_get_and_clear(struct mm_struct *mm, unsigned long addr, in ptep_get_and_clear()
308 pte_t *ptep) in ptep_get_and_clear()
315 pte_t *ptep) in ptep_set_wrprotect()
321 pte_t *ptep, pte_t entr in __ptep_set_access_flags()
[all...]
/kernel/linux/linux-5.10/arch/um/include/asm/
H A Dpgtable.h124 static inline int pte_none(pte_t pte) in pte_none()
133 static inline int pte_read(pte_t pte) in pte_read()
139 static inline int pte_exec(pte_t pte){ in pte_exec()
144 static inline int pte_write(pte_t pte) in pte_write()
150 static inline int pte_dirty(pte_t pte) in pte_dirty()
155 static inline int pte_young(pte_t pte) in pte_young()
160 static inline int pte_newpage(pte_t pte) in pte_newpage()
165 static inline int pte_newprot(pte_t pte) in pte_newprot()
176 static inline pte_t pte_mknewprot(pte_t pt
[all...]
/kernel/linux/linux-5.10/arch/nios2/include/asm/
H A Dpgtable.h77 #define PTRS_PER_PTE ((PAGE_SIZE << PTE_ORDER) / sizeof(pte_t))
94 extern pte_t invalid_pte_table[PAGE_SIZE/sizeof(pte_t)];
105 static inline int pte_write(pte_t pte) \ in pte_write()
107 static inline int pte_dirty(pte_t pte) \ in pte_dirty()
109 static inline int pte_young(pte_t pte) \ in pte_young()
123 static inline int pte_none(pte_t pte) in pte_none()
128 static inline int pte_present(pte_t pte) \ in pte_present()
135 static inline pte_t pte_wrprotect(pte_t pt
[all...]
/kernel/linux/linux-6.6/arch/csky/include/asm/
H A Dpgtable.h24 #define PTRS_PER_PTE (PAGE_SIZE / sizeof(pte_t))
43 #define __swp_entry_to_pte(x) ((pte_t) { (x).val })
83 extern pte_t invalid_pte_table[PTRS_PER_PTE];
85 static inline void set_pte(pte_t *p, pte_t pte) in set_pte()
95 static inline pte_t *pmd_page_vaddr(pmd_t pmd) in pmd_page_vaddr()
141 static inline int pte_read(pte_t pte) in pte_read()
146 static inline int pte_write(pte_t pte) in pte_write()
151 static inline int pte_dirty(pte_t pte) in pte_dirty()
156 static inline int pte_young(pte_t pt
[all...]
/kernel/linux/linux-6.6/arch/alpha/include/asm/
H A Dpgtable.h135 extern pte_t __bad_page(void);
197 pte_t pte; \
203 extern inline pte_t pfn_pte(unsigned long physpfn, pgprot_t pgprot) in pfn_pte()
204 { pte_t pte; pte_val(pte) = (PHYS_TWIDDLE(physpfn) << 32) | pgprot_val(pgprot); return pte; } in pfn_pte()
206 extern inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify()
209 extern inline void pmd_set(pmd_t * pmdp, pte_t * ptep) in pmd_set()
231 extern inline int pte_none(pte_t pte) { return !pte_val(pte); } in pte_none()
232 extern inline int pte_present(pte_t pte) { return pte_val(pte) & _PAGE_VALID; } in pte_present()
233 extern inline void pte_clear(struct mm_struct *mm, unsigned long addr, pte_t *pte in pte_present()
[all...]
/kernel/linux/linux-5.10/arch/openrisc/include/asm/
H A Dpgtable.h233 static inline int pte_read(pte_t pte) { return pte_val(pte) & _PAGE_READ; } in pte_read()
234 static inline int pte_write(pte_t pte) { return pte_val(pte) & _PAGE_WRITE; } in pte_write()
235 static inline int pte_exec(pte_t pte) { return pte_val(pte) & _PAGE_EXEC; } in pte_exec()
236 static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } in pte_dirty()
237 static inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; } in pte_young()
239 static inline pte_t pte_wrprotect(pte_t pte) in pte_wrprotect()
245 static inline pte_t pte_rdprotect(pte_t pte) in pte_rdprotect()
251 static inline pte_t pte_exprotec
[all...]

Completed in 17 milliseconds

12345678910>>...36