Searched refs:pte (Results 1 - 25 of 489) sorted by relevance

1234567891011>>

/linux-master/arch/um/include/asm/
H A Dpgtable.h111 static inline int pte_none(pte_t pte) argument
113 return pte_is_zero(pte);
120 static inline int pte_read(pte_t pte) argument
122 return((pte_get_bits(pte, _PAGE_USER)) &&
123 !(pte_get_bits(pte, _PAGE_PROTNONE)));
126 static inline int pte_exec(pte_t pte){ argument
127 return((pte_get_bits(pte, _PAGE_USER)) &&
128 !(pte_get_bits(pte, _PAGE_PROTNONE)));
131 static inline int pte_write(pte_t pte) argument
133 return((pte_get_bits(pte, _PAGE_R
137 pte_dirty(pte_t pte) argument
142 pte_young(pte_t pte) argument
147 pte_newpage(pte_t pte) argument
152 pte_newprot(pte_t pte) argument
163 pte_mknewprot(pte_t pte) argument
169 pte_mkclean(pte_t pte) argument
175 pte_mkold(pte_t pte) argument
181 pte_wrprotect(pte_t pte) argument
190 pte_mkread(pte_t pte) argument
198 pte_mkdirty(pte_t pte) argument
204 pte_mkyoung(pte_t pte) argument
210 pte_mkwrite_novma(pte_t pte) argument
218 pte_mkuptodate(pte_t pte) argument
226 pte_mknewpage(pte_t pte) argument
271 pte_modify(pte_t pte, pgprot_t newprot) argument
313 pte_swp_exclusive(pte_t pte) argument
318 pte_swp_mkexclusive(pte_t pte) argument
324 pte_swp_clear_exclusive(pte_t pte) argument
[all...]
H A Dpgalloc.h15 #define pmd_populate_kernel(mm, pmd, pte) \
16 set_pmd(pmd, __pmd(_PAGE_TABLE + (unsigned long) __pa(pte)))
18 #define pmd_populate(mm, pmd, pte) \
20 ((unsigned long long)page_to_pfn(pte) << \
28 #define __pte_free_tlb(tlb, pte, address) \
30 pagetable_pte_dtor(page_ptdesc(pte)); \
31 tlb_remove_page_ptdesc((tlb), (page_ptdesc(pte))); \
/linux-master/arch/parisc/include/asm/
H A Dkfence.h24 pte_t *pte = virt_to_kpte(addr); local
26 if (WARN_ON(!pte))
35 set_pte(pte, __pte(pte_val(*pte) & ~_PAGE_PRESENT));
37 set_pte(pte, __pte(pte_val(*pte) | _PAGE_PRESENT));
/linux-master/arch/m68k/include/asm/
H A Dmcf_pgtable.h10 * after masking from the pte.
105 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) argument
107 pte_val(pte) = (pte_val(pte) & CF_PAGE_CHG_MASK) | pgprot_val(newprot);
108 return pte;
118 #define __pte_page(pte) ((void *) (pte_val(pte) & PAGE_MASK))
121 static inline int pte_none(pte_t pte) argument
123 return !pte_val(pte);
126 static inline int pte_present(pte_t pte) argument
158 pte_read(pte_t pte) argument
163 pte_write(pte_t pte) argument
168 pte_exec(pte_t pte) argument
173 pte_dirty(pte_t pte) argument
178 pte_young(pte_t pte) argument
183 pte_wrprotect(pte_t pte) argument
189 pte_rdprotect(pte_t pte) argument
195 pte_exprotect(pte_t pte) argument
201 pte_mkclean(pte_t pte) argument
207 pte_mkold(pte_t pte) argument
213 pte_mkwrite_novma(pte_t pte) argument
219 pte_mkread(pte_t pte) argument
225 pte_mkexec(pte_t pte) argument
231 pte_mkdirty(pte_t pte) argument
237 pte_mkyoung(pte_t pte) argument
243 pte_mknocache(pte_t pte) argument
249 pte_mkcache(pte_t pte) argument
277 pte_swp_exclusive(pte_t pte) argument
282 pte_swp_mkexclusive(pte_t pte) argument
288 pte_swp_clear_exclusive(pte_t pte) argument
[all...]
H A Dmotorola_pgtable.h90 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) argument
92 pte_val(pte) = (pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot);
93 return pte;
106 #define __pte_page(pte) ((unsigned long)__va(pte_val(pte) & PAGE_MASK))
111 #define pte_none(pte) (!pte_val(pte))
112 #define pte_present(pte) (pte_val(pte)
152 pte_write(pte_t pte) argument
153 pte_dirty(pte_t pte) argument
154 pte_young(pte_t pte) argument
156 pte_wrprotect(pte_t pte) argument
157 pte_mkclean(pte_t pte) argument
158 pte_mkold(pte_t pte) argument
159 pte_mkwrite_novma(pte_t pte) argument
160 pte_mkdirty(pte_t pte) argument
161 pte_mkyoung(pte_t pte) argument
162 pte_mknocache(pte_t pte) argument
167 pte_mkcache(pte_t pte) argument
194 pte_swp_exclusive(pte_t pte) argument
199 pte_swp_mkexclusive(pte_t pte) argument
205 pte_swp_clear_exclusive(pte_t pte) argument
[all...]
H A Dsun3_pgtable.h85 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) argument
87 pte_val(pte) = (pte_val(pte) & SUN3_PAGE_CHG_MASK) | pgprot_val(newprot);
88 return pte;
93 #define __pte_page(pte) \
94 (__va ((pte_val (pte) & SUN3_PAGE_PGNUM_MASK) << PAGE_SHIFT))
101 static inline int pte_none (pte_t pte) { return !pte_val (pte); } argument
102 static inline int pte_present (pte_t pte) { return pte_val (pte) argument
140 pte_write(pte_t pte) argument
141 pte_dirty(pte_t pte) argument
142 pte_young(pte_t pte) argument
144 pte_wrprotect(pte_t pte) argument
145 pte_mkclean(pte_t pte) argument
146 pte_mkold(pte_t pte) argument
147 pte_mkwrite_novma(pte_t pte) argument
148 pte_mkdirty(pte_t pte) argument
149 pte_mkyoung(pte_t pte) argument
150 pte_mknocache(pte_t pte) argument
154 pte_mkcache(pte_t pte) argument
178 pte_swp_exclusive(pte_t pte) argument
183 pte_swp_mkexclusive(pte_t pte) argument
189 pte_swp_clear_exclusive(pte_t pte) argument
[all...]
/linux-master/arch/mips/include/asm/
H A Dpgtable.h45 extern void __update_cache(unsigned long address, pte_t pte);
111 # define pte_none(pte) (!(((pte).pte_high) & ~_PAGE_GLOBAL))
113 # define pte_none(pte) (!(((pte).pte_low | (pte).pte_high) & ~_PAGE_GLOBAL))
116 #define pte_present(pte) ((pte).pte_low & _PAGE_PRESENT)
117 #define pte_no_exec(pte) ((pte)
119 set_pte(pte_t *ptep, pte_t pte) argument
204 set_ptes(struct mm_struct *mm, unsigned long addr, pte_t *ptep, pte_t pte, unsigned int nr) argument
262 pte_special(pte_t pte) argument
267 pte_mkspecial(pte_t pte) argument
273 pte_special(pte_t pte) argument
278 pte_mkspecial(pte_t pte) argument
291 pte_write(pte_t pte) argument
292 pte_dirty(pte_t pte) argument
293 pte_young(pte_t pte) argument
295 pte_wrprotect(pte_t pte) argument
304 pte_mkclean(pte_t pte) argument
313 pte_mkold(pte_t pte) argument
322 pte_mkwrite_novma(pte_t pte) argument
333 pte_mkdirty(pte_t pte) argument
344 pte_mkyoung(pte_t pte) argument
355 pte_write(pte_t pte) argument
356 pte_dirty(pte_t pte) argument
357 pte_young(pte_t pte) argument
359 pte_wrprotect(pte_t pte) argument
365 pte_mkclean(pte_t pte) argument
371 pte_mkold(pte_t pte) argument
377 pte_mkwrite_novma(pte_t pte) argument
385 pte_mkdirty(pte_t pte) argument
393 pte_mkyoung(pte_t pte) argument
404 pte_huge(pte_t pte) argument
406 pte_mkhuge(pte_t pte) argument
428 pte_soft_dirty(pte_t pte) argument
434 pte_mksoft_dirty(pte_t pte) argument
441 pte_clear_soft_dirty(pte_t pte) argument
514 pte_modify(pte_t pte, pgprot_t newprot) argument
523 pte_modify(pte_t pte, pgprot_t newprot) argument
532 pte_modify(pte_t pte, pgprot_t newprot) argument
543 pte_swp_exclusive(pte_t pte) argument
548 pte_swp_mkexclusive(pte_t pte) argument
554 pte_swp_clear_exclusive(pte_t pte) argument
560 pte_swp_exclusive(pte_t pte) argument
565 pte_swp_mkexclusive(pte_t pte) argument
571 pte_swp_clear_exclusive(pte_t pte) argument
586 pte_t pte = *ptep; local
603 pte_t pte = *(pte_t *)pmdp; local
[all...]
/linux-master/arch/nios2/include/asm/
H A Dpgalloc.h18 pte_t *pte)
20 set_pmd(pmd, __pmd((unsigned long)pte));
24 pgtable_t pte)
26 set_pmd(pmd, __pmd((unsigned long)page_address(pte)));
31 #define __pte_free_tlb(tlb, pte, addr) \
33 pagetable_pte_dtor(page_ptdesc(pte)); \
34 tlb_remove_page_ptdesc((tlb), (page_ptdesc(pte))); \
17 pmd_populate_kernel(struct mm_struct *mm, pmd_t *pmd, pte_t *pte) argument
23 pmd_populate(struct mm_struct *mm, pmd_t *pmd, pgtable_t pte) argument
H A Dpgtable.h84 static inline int pte_write(pte_t pte) \ argument
85 { return pte_val(pte) & _PAGE_WRITE; }
86 static inline int pte_dirty(pte_t pte) \ argument
87 { return pte_val(pte) & _PAGE_DIRTY; }
88 static inline int pte_young(pte_t pte) \ argument
89 { return pte_val(pte) & _PAGE_ACCESSED; }
102 static inline int pte_none(pte_t pte) argument
104 return !(pte_val(pte) & ~(_PAGE_GLOBAL|0xf));
107 static inline int pte_present(pte_t pte) \ argument
108 { return pte_val(pte)
114 pte_wrprotect(pte_t pte) argument
120 pte_mkclean(pte_t pte) argument
126 pte_mkold(pte_t pte) argument
132 pte_mkwrite_novma(pte_t pte) argument
138 pte_mkdirty(pte_t pte) argument
144 pte_mkyoung(pte_t pte) argument
150 pte_modify(pte_t pte, pgprot_t newprot) argument
183 set_ptes(struct mm_struct *mm, unsigned long addr, pte_t *ptep, pte_t pte, unsigned int nr) argument
265 pte_swp_exclusive(pte_t pte) argument
270 pte_swp_mkexclusive(pte_t pte) argument
276 pte_swp_clear_exclusive(pte_t pte) argument
[all...]
/linux-master/arch/s390/include/asm/
H A Dhugetlb.h19 pte_t *ptep, pte_t pte, unsigned long sz);
21 pte_t *ptep, pte_t pte);
65 pte_t pte, int dirty)
67 int changed = !pte_same(huge_ptep_get(ptep), pte);
70 __set_huge_pte_at(vma->vm_mm, addr, ptep, pte);
78 pte_t pte = huge_ptep_get_and_clear(mm, addr, ptep); local
79 __set_huge_pte_at(mm, addr, ptep, pte_wrprotect(pte));
87 static inline int huge_pte_none(pte_t pte) argument
89 return pte_none(pte);
92 static inline int huge_pte_none_mostly(pte_t pte) argument
63 huge_ptep_set_access_flags(struct vm_area_struct *vma, unsigned long addr, pte_t *ptep, pte_t pte, int dirty) argument
97 huge_pte_write(pte_t pte) argument
102 huge_pte_dirty(pte_t pte) argument
107 huge_pte_mkwrite(pte_t pte) argument
112 huge_pte_mkdirty(pte_t pte) argument
117 huge_pte_wrprotect(pte_t pte) argument
122 huge_pte_modify(pte_t pte, pgprot_t newprot) argument
127 huge_pte_mkuffd_wp(pte_t pte) argument
132 huge_pte_clear_uffd_wp(pte_t pte) argument
137 huge_pte_uffd_wp(pte_t pte) argument
[all...]
/linux-master/include/asm-generic/
H A Dpgtable_uffd.h5 static __always_inline int pte_uffd_wp(pte_t pte) argument
15 static __always_inline pte_t pte_mkuffd_wp(pte_t pte) argument
17 return pte;
25 static __always_inline pte_t pte_clear_uffd_wp(pte_t pte) argument
27 return pte;
35 static __always_inline pte_t pte_swp_mkuffd_wp(pte_t pte) argument
37 return pte;
40 static __always_inline int pte_swp_uffd_wp(pte_t pte) argument
45 static __always_inline pte_t pte_swp_clear_uffd_wp(pte_t pte) argument
47 return pte;
[all...]
H A Dhugetlb.h13 static inline unsigned long huge_pte_write(pte_t pte) argument
15 return pte_write(pte);
18 static inline unsigned long huge_pte_dirty(pte_t pte) argument
20 return pte_dirty(pte);
23 static inline pte_t huge_pte_mkwrite(pte_t pte) argument
25 return pte_mkwrite_novma(pte);
29 static inline pte_t huge_pte_wrprotect(pte_t pte) argument
31 return pte_wrprotect(pte);
35 static inline pte_t huge_pte_mkdirty(pte_t pte) argument
37 return pte_mkdirty(pte);
40 huge_pte_modify(pte_t pte, pgprot_t newprot) argument
45 huge_pte_mkuffd_wp(pte_t pte) argument
50 huge_pte_clear_uffd_wp(pte_t pte) argument
55 huge_pte_uffd_wp(pte_t pte) argument
78 set_huge_pte_at(struct mm_struct *mm, unsigned long addr, pte_t *ptep, pte_t pte, unsigned long sz) argument
102 huge_pte_none(pte_t pte) argument
109 huge_pte_none_mostly(pte_t pte) argument
138 huge_ptep_set_access_flags(struct vm_area_struct *vma, unsigned long addr, pte_t *ptep, pte_t pte, int dirty) argument
[all...]
/linux-master/arch/riscv/include/asm/
H A Dkfence.h18 pte_t *pte = virt_to_kpte(addr); local
21 set_pte(pte, __pte(pte_val(ptep_get(pte)) & ~_PAGE_PRESENT));
23 set_pte(pte, __pte(pte_val(ptep_get(pte)) | _PAGE_PRESENT));
/linux-master/arch/powerpc/include/asm/nohash/
H A Dpgtable.h123 static inline pte_t pte_mkwrite_novma(pte_t pte) argument
128 return __pte(pte_val(pte) | _PAGE_RW);
132 static inline pte_t pte_mkdirty(pte_t pte) argument
134 return __pte(pte_val(pte) | _PAGE_DIRTY);
137 static inline pte_t pte_mkyoung(pte_t pte) argument
139 return __pte(pte_val(pte) | _PAGE_ACCESSED);
143 static inline pte_t pte_wrprotect(pte_t pte) argument
145 return __pte(pte_val(pte) & ~_PAGE_WRITE);
150 static inline pte_t pte_mkexec(pte_t pte) argument
152 return __pte(pte_val(pte) | _PAGE_EXE
157 pte_write(pte_t pte) argument
162 pte_dirty(pte_t pte) argument
163 pte_special(pte_t pte) argument
164 pte_none(pte_t pte) argument
165 pte_hashpte(pte_t pte) argument
166 pte_ci(pte_t pte) argument
167 pte_exec(pte_t pte) argument
169 pte_present(pte_t pte) argument
174 pte_hw_valid(pte_t pte) argument
179 pte_young(pte_t pte) argument
190 pte_read(pte_t pte) argument
201 pte_access_permitted(pte_t pte, bool write) argument
227 pte_exprotect(pte_t pte) argument
232 pte_mkclean(pte_t pte) argument
237 pte_mkold(pte_t pte) argument
242 pte_mkspecial(pte_t pte) argument
248 pte_mkhuge(pte_t pte) argument
254 pte_modify(pte_t pte, pgprot_t newprot) argument
259 pte_swp_exclusive(pte_t pte) argument
264 pte_swp_mkexclusive(pte_t pte) argument
269 pte_swp_clear_exclusive(pte_t pte) argument
279 __set_pte_at(struct mm_struct *mm, unsigned long addr, pte_t *ptep, pte_t pte, int percpu) argument
[all...]
/linux-master/arch/hexagon/include/asm/
H A Dpgtable.h136 #define pte_mkhuge(pte) __pte((pte_val(pte) & ~0x3) | HVM_HUGEPAGE_SIZE)
143 extern void sync_icache_dcache(pte_t pte);
145 #define pte_present_exec_user(pte) \
146 ((pte_val(pte) & (_PAGE_EXECUTE | _PAGE_USER)) == \
186 * MIPS checks it against that "invalid pte table" thing.
225 * pte_none - check if pte is mapped
226 * @pte: pte_t entry
228 static inline int pte_none(pte_t pte) argument
230 return pte_val(pte)
236 pte_present(pte_t pte) argument
248 pte_mkold(pte_t pte) argument
255 pte_mkyoung(pte_t pte) argument
262 pte_mkclean(pte_t pte) argument
269 pte_mkdirty(pte_t pte) argument
276 pte_young(pte_t pte) argument
282 pte_dirty(pte_t pte) argument
288 pte_modify(pte_t pte, pgprot_t prot) argument
296 pte_wrprotect(pte_t pte) argument
303 pte_mkwrite_novma(pte_t pte) argument
310 pte_mkexec(pte_t pte) argument
317 pte_read(pte_t pte) argument
323 pte_write(pte_t pte) argument
330 pte_exec(pte_t pte) argument
393 pte_swp_exclusive(pte_t pte) argument
398 pte_swp_mkexclusive(pte_t pte) argument
404 pte_swp_clear_exclusive(pte_t pte) argument
[all...]
/linux-master/arch/microblaze/include/asm/
H A Dpgtable.h108 printk(KERN_ERR "%s:%d: bad pte "PTE_FMT".\n", \
221 #define pte_none(pte) ((pte_val(pte) & ~_PTE_NONE_MASK) == 0)
222 #define pte_present(pte) (pte_val(pte) & _PAGE_PRESENT)
245 static inline int pte_read(pte_t pte) { return pte_val(pte) & _PAGE_USER; } argument
246 static inline int pte_write(pte_t pte) { return pte_val(pte) & _PAGE_RW; } argument
247 static inline int pte_exec(pte_t pte) { retur argument
248 pte_dirty(pte_t pte) argument
249 pte_young(pte_t pte) argument
251 pte_uncache(pte_t pte) argument
252 pte_cache(pte_t pte) argument
254 pte_rdprotect(pte_t pte) argument
256 pte_wrprotect(pte_t pte) argument
258 pte_exprotect(pte_t pte) argument
260 pte_mkclean(pte_t pte) argument
262 pte_mkold(pte_t pte) argument
265 pte_mkread(pte_t pte) argument
267 pte_mkexec(pte_t pte) argument
269 pte_mkwrite_novma(pte_t pte) argument
271 pte_mkdirty(pte_t pte) argument
273 pte_mkyoung(pte_t pte) argument
283 pte_t pte; local
296 pte_modify(pte_t pte, pgprot_t newprot) argument
333 set_pte(pte_t *ptep, pte_t pte) argument
409 pte_swp_exclusive(pte_t pte) argument
414 pte_swp_mkexclusive(pte_t pte) argument
420 pte_swp_clear_exclusive(pte_t pte) argument
[all...]
/linux-master/arch/powerpc/kvm/
H A Dbook3s_mmu_hpte.c56 void kvmppc_mmu_hpte_cache_map(struct kvm_vcpu *vcpu, struct hpte_cache *pte) argument
61 trace_kvm_book3s_mmu_map(pte);
66 index = kvmppc_mmu_hash_pte(pte->pte.eaddr);
67 hlist_add_head_rcu(&pte->list_pte, &vcpu3s->hpte_hash_pte[index]);
70 index = kvmppc_mmu_hash_pte_long(pte->pte.eaddr);
71 hlist_add_head_rcu(&pte->list_pte_long,
75 index = kvmppc_mmu_hash_vpte(pte->pte
97 struct hpte_cache *pte = container_of(head, struct hpte_cache, rcu_head); local
101 invalidate_pte(struct kvm_vcpu *vcpu, struct hpte_cache *pte) argument
135 struct hpte_cache *pte; local
154 struct hpte_cache *pte; local
173 struct hpte_cache *pte; local
216 struct hpte_cache *pte; local
237 struct hpte_cache *pte; local
259 struct hpte_cache *pte; local
301 struct hpte_cache *pte; local
323 struct hpte_cache *pte; local
333 kvmppc_mmu_hpte_cache_free(struct hpte_cache *pte) argument
[all...]
/linux-master/arch/arm/include/asm/
H A Dpgtable.h61 #define pte_ERROR(pte) __pte_error(__FILE__, __LINE__, pte)
168 #define pte_pfn(pte) ((pte_val(pte) & PHYS_MASK) >> PAGE_SHIFT)
171 #define pte_page(pte) pfn_to_page(pte_pfn(pte))
176 #define pte_isset(pte, val) ((u32)(val) == (val) ? pte_val(pte) & (val) \
177 : !!(pte_val(pte) & (val)))
178 #define pte_isclear(pte, va
192 pte_access_permitted(pte_t pte, bool write) argument
218 clear_pte_bit(pte_t pte, pgprot_t prot) argument
224 set_pte_bit(pte_t pte, pgprot_t prot) argument
230 pte_wrprotect(pte_t pte) argument
235 pte_mkwrite_novma(pte_t pte) argument
240 pte_mkclean(pte_t pte) argument
245 pte_mkdirty(pte_t pte) argument
250 pte_mkold(pte_t pte) argument
255 pte_mkyoung(pte_t pte) argument
260 pte_mkexec(pte_t pte) argument
265 pte_mknexec(pte_t pte) argument
270 pte_modify(pte_t pte, pgprot_t newprot) argument
306 pte_swp_exclusive(pte_t pte) argument
311 pte_swp_mkexclusive(pte_t pte) argument
316 pte_swp_clear_exclusive(pte_t pte) argument
[all...]
/linux-master/arch/csky/include/asm/
H A Dpgtable.h27 pr_err("%s:%d: bad pte %08lx.\n", __FILE__, __LINE__, (e).pte_low)
36 #define pte_none(pte) (!(pte_val(pte) & ~_PAGE_GLOBAL))
37 #define pte_present(pte) (pte_val(pte) & _PAGE_PRESENT)
42 #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) })
85 static inline void set_pte(pte_t *p, pte_t pte) argument
87 *p = pte;
141 static inline int pte_read(pte_t pte) argument
146 pte_write(pte_t pte) argument
151 pte_dirty(pte_t pte) argument
156 pte_young(pte_t pte) argument
161 pte_wrprotect(pte_t pte) argument
167 pte_mkclean(pte_t pte) argument
173 pte_mkold(pte_t pte) argument
179 pte_mkwrite_novma(pte_t pte) argument
187 pte_mkdirty(pte_t pte) argument
195 pte_mkyoung(pte_t pte) argument
203 pte_swp_exclusive(pte_t pte) argument
208 pte_swp_mkexclusive(pte_t pte) argument
214 pte_swp_clear_exclusive(pte_t pte) argument
257 pte_modify(pte_t pte, pgprot_t newprot) argument
[all...]
H A Dpgalloc.h14 pte_t *pte)
16 set_pmd(pmd, __pmd(__pa(pte)));
20 pgtable_t pte)
22 set_pmd(pmd, __pmd(__pa(page_address(pte))));
29 pte_t *pte; local
32 pte = (pte_t *) __get_free_page(GFP_KERNEL);
33 if (!pte)
37 (pte + i)->pte_low = _PAGE_GLOBAL;
39 return pte;
64 #define __pte_free_tlb(tlb, pte, addres
13 pmd_populate_kernel(struct mm_struct *mm, pmd_t *pmd, pte_t *pte) argument
19 pmd_populate(struct mm_struct *mm, pmd_t *pmd, pgtable_t pte) argument
[all...]
/linux-master/arch/openrisc/include/asm/
H A Dpgtable.h44 /* Certain architectures need to do special things when pte's
120 #define _PAGE_CC 0x001 /* software: pte contains a translation */
217 static inline int pte_read(pte_t pte) { return pte_val(pte) & _PAGE_READ; } argument
218 static inline int pte_write(pte_t pte) { return pte_val(pte) & _PAGE_WRITE; } argument
219 static inline int pte_exec(pte_t pte) { return pte_val(pte) & _PAGE_EXEC; } argument
220 static inline int pte_dirty(pte_t pte) { return pte_val(pte) argument
221 pte_young(pte_t pte) argument
223 pte_wrprotect(pte_t pte) argument
229 pte_rdprotect(pte_t pte) argument
235 pte_exprotect(pte_t pte) argument
241 pte_mkclean(pte_t pte) argument
247 pte_mkold(pte_t pte) argument
253 pte_mkwrite_novma(pte_t pte) argument
259 pte_mkread(pte_t pte) argument
265 pte_mkexec(pte_t pte) argument
271 pte_mkdirty(pte_t pte) argument
277 pte_mkyoung(pte_t pte) argument
296 pte_t pte; local
312 pte_modify(pte_t pte, pgprot_t newprot) argument
326 __pte_page(pte_t pte) argument
375 update_tlb(struct vm_area_struct *vma, unsigned long address, pte_t *pte) argument
416 pte_swp_exclusive(pte_t pte) argument
421 pte_swp_mkexclusive(pte_t pte) argument
427 pte_swp_clear_exclusive(pte_t pte) argument
[all...]
/linux-master/arch/xtensa/include/asm/
H A Dtlb.h19 #define __pte_free_tlb(tlb, pte, address) pte_free((tlb)->mm, pte)
/linux-master/arch/loongarch/include/asm/
H A Dkvm_mmu.h26 typedef int (*kvm_pte_ops)(kvm_pte_t *pte, phys_addr_t addr, kvm_ptw_ctx *ctx);
44 /* free pte table page list */
55 static inline int kvm_pte_write(kvm_pte_t pte) { return pte & _PAGE_WRITE; } argument
56 static inline int kvm_pte_dirty(kvm_pte_t pte) { return pte & _PAGE_DIRTY; } argument
57 static inline int kvm_pte_young(kvm_pte_t pte) { return pte & _PAGE_ACCESSED; } argument
58 static inline int kvm_pte_huge(kvm_pte_t pte) { return pte argument
60 kvm_pte_mkyoung(kvm_pte_t pte) argument
65 kvm_pte_mkold(kvm_pte_t pte) argument
70 kvm_pte_mkdirty(kvm_pte_t pte) argument
75 kvm_pte_mkclean(kvm_pte_t pte) argument
80 kvm_pte_mkhuge(kvm_pte_t pte) argument
85 kvm_pte_mksmall(kvm_pte_t pte) argument
[all...]
/linux-master/arch/openrisc/mm/
H A Dioremap.c36 pte_t *pte; local
39 pte = (pte_t *)get_zeroed_page(GFP_KERNEL);
41 pte = memblock_alloc(PAGE_SIZE, PAGE_SIZE);
42 if (!pte)
47 return pte;
/linux-master/arch/sh/include/asm/
H A Dpgalloc.h24 pte_t *pte)
26 set_pmd(pmd, __pmd((unsigned long)pte));
30 pgtable_t pte)
32 set_pmd(pmd, __pmd((unsigned long)page_address(pte)));
35 #define __pte_free_tlb(tlb, pte, addr) \
37 pagetable_pte_dtor(page_ptdesc(pte)); \
38 tlb_remove_page_ptdesc((tlb), (page_ptdesc(pte))); \
23 pmd_populate_kernel(struct mm_struct *mm, pmd_t *pmd, pte_t *pte) argument
29 pmd_populate(struct mm_struct *mm, pmd_t *pmd, pgtable_t pte) argument

Completed in 380 milliseconds

1234567891011>>