Home
last modified time | relevance | path

Searched refs:pte (Results 1 – 25 of 480) sorted by relevance

12345678910>>...20

/linux-6.1.9/arch/mips/include/asm/
Dpgtable.h45 extern void __update_cache(unsigned long address, pte_t pte);
114 # define pte_none(pte) (!(((pte).pte_high) & ~_PAGE_GLOBAL)) argument
116 # define pte_none(pte) (!(((pte).pte_low | (pte).pte_high) & ~_PAGE_GLOBAL)) argument
119 #define pte_present(pte) ((pte).pte_low & _PAGE_PRESENT) argument
120 #define pte_no_exec(pte) ((pte).pte_low & _PAGE_NO_EXEC) argument
122 static inline void set_pte(pte_t *ptep, pte_t pte) argument
124 ptep->pte_high = pte.pte_high;
126 ptep->pte_low = pte.pte_low;
129 if (pte.pte_high & _PAGE_GLOBAL) {
131 if (pte.pte_low & _PAGE_GLOBAL) {
[all …]
/linux-6.1.9/arch/m68k/include/asm/
Dmcf_pgtable.h102 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument
104 pte_val(pte) = (pte_val(pte) & CF_PAGE_CHG_MASK) | pgprot_val(newprot); in pte_modify()
105 return pte; in pte_modify()
115 #define __pte_page(pte) ((unsigned long) (pte_val(pte) & PAGE_MASK)) argument
118 static inline int pte_none(pte_t pte) in pte_none() argument
120 return !pte_val(pte); in pte_none()
123 static inline int pte_present(pte_t pte) in pte_present() argument
125 return pte_val(pte) & CF_PAGE_VALID; in pte_present()
134 #define pte_pagenr(pte) ((__pte_page(pte) - PAGE_OFFSET) >> PAGE_SHIFT) argument
135 #define pte_page(pte) virt_to_page(__pte_page(pte)) argument
[all …]
Dsun3_pgtable.h82 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument
84 pte_val(pte) = (pte_val(pte) & SUN3_PAGE_CHG_MASK) | pgprot_val(newprot); in pte_modify()
85 return pte; in pte_modify()
90 #define __pte_page(pte) \ argument
91 ((unsigned long) __va ((pte_val (pte) & SUN3_PAGE_PGNUM_MASK) << PAGE_SHIFT))
98 static inline int pte_none (pte_t pte) { return !pte_val (pte); } in pte_none() argument
99 static inline int pte_present (pte_t pte) { return pte_val (pte) & SUN3_PAGE_VALID; } in pte_present() argument
105 #define pte_pfn(pte) (pte_val(pte) & SUN3_PAGE_PGNUM_MASK) argument
109 #define pte_page(pte) virt_to_page(__pte_page(pte)) argument
136 static inline int pte_write(pte_t pte) { return pte_val(pte) & SUN3_PAGE_WRITEABLE; } in pte_write() argument
[all …]
Dmotorola_pgtable.h87 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument
89 pte_val(pte) = (pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot); in pte_modify()
90 return pte; in pte_modify()
103 #define __pte_page(pte) ((unsigned long)__va(pte_val(pte) & PAGE_MASK)) argument
108 #define pte_none(pte) (!pte_val(pte)) argument
109 #define pte_present(pte) (pte_val(pte) & (_PAGE_PRESENT | _PAGE_PROTNONE)) argument
112 #define pte_page(pte) virt_to_page(__va(pte_val(pte))) argument
113 #define pte_pfn(pte) (pte_val(pte) >> PAGE_SHIFT) argument
148 static inline int pte_write(pte_t pte) { return !(pte_val(pte) & _PAGE_RONLY); } in pte_write() argument
149 static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } in pte_dirty() argument
[all …]
/linux-6.1.9/arch/um/include/asm/
Dpgtable.h108 static inline int pte_none(pte_t pte) in pte_none() argument
110 return pte_is_zero(pte); in pte_none()
117 static inline int pte_read(pte_t pte) in pte_read() argument
119 return((pte_get_bits(pte, _PAGE_USER)) && in pte_read()
120 !(pte_get_bits(pte, _PAGE_PROTNONE))); in pte_read()
123 static inline int pte_exec(pte_t pte){ in pte_exec() argument
124 return((pte_get_bits(pte, _PAGE_USER)) && in pte_exec()
125 !(pte_get_bits(pte, _PAGE_PROTNONE))); in pte_exec()
128 static inline int pte_write(pte_t pte) in pte_write() argument
130 return((pte_get_bits(pte, _PAGE_RW)) && in pte_write()
[all …]
/linux-6.1.9/arch/powerpc/include/asm/nohash/
Dpgtable.h23 static inline int pte_write(pte_t pte) in pte_write() argument
25 return pte_val(pte) & _PAGE_RW; in pte_write()
28 static inline int pte_read(pte_t pte) { return 1; } in pte_read() argument
29 static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } in pte_dirty() argument
30 static inline int pte_special(pte_t pte) { return pte_val(pte) & _PAGE_SPECIAL; } in pte_special() argument
31 static inline int pte_none(pte_t pte) { return (pte_val(pte) & ~_PTE_NONE_MASK) == 0; } in pte_none() argument
32 static inline bool pte_hashpte(pte_t pte) { return false; } in pte_hashpte() argument
33 static inline bool pte_ci(pte_t pte) { return pte_val(pte) & _PAGE_NO_CACHE; } in pte_ci() argument
34 static inline bool pte_exec(pte_t pte) { return pte_val(pte) & _PAGE_EXEC; } in pte_exec() argument
42 static inline int pte_protnone(pte_t pte) in pte_protnone() argument
[all …]
/linux-6.1.9/arch/powerpc/kvm/
Dbook3s_mmu_hpte.c56 void kvmppc_mmu_hpte_cache_map(struct kvm_vcpu *vcpu, struct hpte_cache *pte) in kvmppc_mmu_hpte_cache_map() argument
61 trace_kvm_book3s_mmu_map(pte); in kvmppc_mmu_hpte_cache_map()
66 index = kvmppc_mmu_hash_pte(pte->pte.eaddr); in kvmppc_mmu_hpte_cache_map()
67 hlist_add_head_rcu(&pte->list_pte, &vcpu3s->hpte_hash_pte[index]); in kvmppc_mmu_hpte_cache_map()
70 index = kvmppc_mmu_hash_pte_long(pte->pte.eaddr); in kvmppc_mmu_hpte_cache_map()
71 hlist_add_head_rcu(&pte->list_pte_long, in kvmppc_mmu_hpte_cache_map()
75 index = kvmppc_mmu_hash_vpte(pte->pte.vpage); in kvmppc_mmu_hpte_cache_map()
76 hlist_add_head_rcu(&pte->list_vpte, &vcpu3s->hpte_hash_vpte[index]); in kvmppc_mmu_hpte_cache_map()
79 index = kvmppc_mmu_hash_vpte_long(pte->pte.vpage); in kvmppc_mmu_hpte_cache_map()
80 hlist_add_head_rcu(&pte->list_vpte_long, in kvmppc_mmu_hpte_cache_map()
[all …]
/linux-6.1.9/arch/hexagon/include/asm/
Dpgtable.h133 #define pte_mkhuge(pte) __pte((pte_val(pte) & ~0x3) | HVM_HUGEPAGE_SIZE) argument
140 extern void sync_icache_dcache(pte_t pte);
142 #define pte_present_exec_user(pte) \ argument
143 ((pte_val(pte) & (_PAGE_EXECUTE | _PAGE_USER)) == \
225 static inline int pte_none(pte_t pte) in pte_none() argument
227 return pte_val(pte) == _NULL_PTE; in pte_none()
233 static inline int pte_present(pte_t pte) in pte_present() argument
235 return pte_val(pte) & _PAGE_PRESENT; in pte_present()
245 static inline pte_t pte_mkold(pte_t pte) in pte_mkold() argument
247 pte_val(pte) &= ~_PAGE_ACCESSED; in pte_mkold()
[all …]
/linux-6.1.9/arch/arm64/include/asm/
Dpgtable.h77 static inline phys_addr_t __pte_to_phys(pte_t pte) in __pte_to_phys() argument
79 return (pte_val(pte) & PTE_ADDR_LOW) | in __pte_to_phys()
80 ((pte_val(pte) & PTE_ADDR_HIGH) << 36); in __pte_to_phys()
87 #define __pte_to_phys(pte) (pte_val(pte) & PTE_ADDR_MASK) argument
91 #define pte_pfn(pte) (__pte_to_phys(pte) >> PAGE_SHIFT) argument
95 #define pte_none(pte) (!pte_val(pte)) argument
97 #define pte_page(pte) (pfn_to_page(pte_pfn(pte))) argument
102 #define pte_present(pte) (!!(pte_val(pte) & (PTE_VALID | PTE_PROT_NONE))) argument
103 #define pte_young(pte) (!!(pte_val(pte) & PTE_AF)) argument
104 #define pte_special(pte) (!!(pte_val(pte) & PTE_SPECIAL)) argument
[all …]
/linux-6.1.9/arch/microblaze/include/asm/
Dpgtable.h218 #define pte_none(pte) ((pte_val(pte) & ~_PTE_NONE_MASK) == 0) argument
219 #define pte_present(pte) (pte_val(pte) & _PAGE_PRESENT) argument
242 static inline int pte_read(pte_t pte) { return pte_val(pte) & _PAGE_USER; } in pte_read() argument
243 static inline int pte_write(pte_t pte) { return pte_val(pte) & _PAGE_RW; } in pte_write() argument
244 static inline int pte_exec(pte_t pte) { return pte_val(pte) & _PAGE_EXEC; } in pte_exec() argument
245 static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } in pte_dirty() argument
246 static inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; } in pte_young() argument
248 static inline void pte_uncache(pte_t pte) { pte_val(pte) |= _PAGE_NO_CACHE; } in pte_uncache() argument
249 static inline void pte_cache(pte_t pte) { pte_val(pte) &= ~_PAGE_NO_CACHE; } in pte_cache() argument
251 static inline pte_t pte_rdprotect(pte_t pte) \ in pte_rdprotect() argument
[all …]
/linux-6.1.9/arch/openrisc/include/asm/
Dpgtable.h214 static inline int pte_read(pte_t pte) { return pte_val(pte) & _PAGE_READ; } in pte_read() argument
215 static inline int pte_write(pte_t pte) { return pte_val(pte) & _PAGE_WRITE; } in pte_write() argument
216 static inline int pte_exec(pte_t pte) { return pte_val(pte) & _PAGE_EXEC; } in pte_exec() argument
217 static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } in pte_dirty() argument
218 static inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; } in pte_young() argument
220 static inline pte_t pte_wrprotect(pte_t pte) in pte_wrprotect() argument
222 pte_val(pte) &= ~(_PAGE_WRITE); in pte_wrprotect()
223 return pte; in pte_wrprotect()
226 static inline pte_t pte_rdprotect(pte_t pte) in pte_rdprotect() argument
228 pte_val(pte) &= ~(_PAGE_READ); in pte_rdprotect()
[all …]
/linux-6.1.9/arch/arm/include/asm/
Dpgtable.h61 #define pte_ERROR(pte) __pte_error(__FILE__, __LINE__, pte) argument
166 #define pte_pfn(pte) ((pte_val(pte) & PHYS_MASK) >> PAGE_SHIFT) argument
169 #define pte_page(pte) pfn_to_page(pte_pfn(pte)) argument
174 #define pte_isset(pte, val) ((u32)(val) == (val) ? pte_val(pte) & (val) \ argument
175 : !!(pte_val(pte) & (val)))
176 #define pte_isclear(pte, val) (!(pte_val(pte) & (val))) argument
178 #define pte_none(pte) (!pte_val(pte)) argument
179 #define pte_present(pte) (pte_isset((pte), L_PTE_PRESENT)) argument
180 #define pte_valid(pte) (pte_isset((pte), L_PTE_VALID)) argument
181 #define pte_accessible(mm, pte) (mm_tlb_flush_pending(mm) ? pte_present(pte) : pte_valid(pte)) argument
[all …]
/linux-6.1.9/arch/sparc/include/asm/
Dpgtable_64.h229 pte_t pte = pfn_pte(page_nr, pgprot); in pfn_pmd() local
231 return __pmd(pte_val(pte)); in pfn_pmd()
237 static inline unsigned long pte_pfn(pte_t pte) in pte_pfn() argument
250 : "r" (pte_val(pte)), in pte_pfn()
258 static inline pte_t pte_modify(pte_t pte, pgprot_t prot) in pte_modify() argument
313 return __pte((pte_val(pte) & mask) | (pgprot_val(prot) & ~mask)); in pte_modify()
319 pte_t pte = __pte(pmd_val(pmd)); in pmd_modify() local
321 pte = pte_modify(pte, newprot); in pmd_modify()
323 return __pmd(pte_val(pte)); in pmd_modify()
378 static inline pte_t pte_mkhuge(pte_t pte) in pte_mkhuge() argument
[all …]
/linux-6.1.9/arch/powerpc/include/asm/book3s/32/
Dpgtable.h56 static inline bool pte_user(pte_t pte) in pte_user() argument
58 return pte_val(pte) & _PAGE_USER; in pte_user()
374 #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) >> 3 }) argument
378 static inline int pte_write(pte_t pte) { return !!(pte_val(pte) & _PAGE_RW);} in pte_write() argument
379 static inline int pte_read(pte_t pte) { return 1; } in pte_read() argument
380 static inline int pte_dirty(pte_t pte) { return !!(pte_val(pte) & _PAGE_DIRTY); } in pte_dirty() argument
381 static inline int pte_young(pte_t pte) { return !!(pte_val(pte) & _PAGE_ACCESSED); } in pte_young() argument
382 static inline int pte_special(pte_t pte) { return !!(pte_val(pte) & _PAGE_SPECIAL); } in pte_special() argument
383 static inline int pte_none(pte_t pte) { return (pte_val(pte) & ~_PTE_NONE_MASK) == 0; } in pte_none() argument
384 static inline bool pte_exec(pte_t pte) { return pte_val(pte) & _PAGE_EXEC; } in pte_exec() argument
[all …]
/linux-6.1.9/arch/nios2/include/asm/
Dpgtable.h84 static inline int pte_write(pte_t pte) \ in pte_write() argument
85 { return pte_val(pte) & _PAGE_WRITE; } in pte_write()
86 static inline int pte_dirty(pte_t pte) \ in pte_dirty() argument
87 { return pte_val(pte) & _PAGE_DIRTY; } in pte_dirty()
88 static inline int pte_young(pte_t pte) \ in pte_young() argument
89 { return pte_val(pte) & _PAGE_ACCESSED; } in pte_young()
102 static inline int pte_none(pte_t pte) in pte_none() argument
104 return !(pte_val(pte) & ~(_PAGE_GLOBAL|0xf)); in pte_none()
107 static inline int pte_present(pte_t pte) \ in pte_present() argument
108 { return pte_val(pte) & _PAGE_PRESENT; } in pte_present()
[all …]
/linux-6.1.9/arch/csky/include/asm/
Dpgtable.h35 #define pte_none(pte) (!(pte_val(pte) & ~_PAGE_GLOBAL)) argument
36 #define pte_present(pte) (pte_val(pte) & _PAGE_PRESENT) argument
41 #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) argument
84 static inline void set_pte(pte_t *p, pte_t pte) in set_pte() argument
86 *p = pte; in set_pte()
141 static inline int pte_read(pte_t pte) in pte_read() argument
143 return pte.pte_low & _PAGE_READ; in pte_read()
146 static inline int pte_write(pte_t pte) in pte_write() argument
148 return (pte).pte_low & _PAGE_WRITE; in pte_write()
151 static inline int pte_dirty(pte_t pte) in pte_dirty() argument
[all …]
/linux-6.1.9/arch/s390/include/asm/
Dhugetlb.h19 pte_t *ptep, pte_t pte);
63 pte_t pte, int dirty) in huge_ptep_set_access_flags() argument
65 int changed = !pte_same(huge_ptep_get(ptep), pte); in huge_ptep_set_access_flags()
68 set_huge_pte_at(vma->vm_mm, addr, ptep, pte); in huge_ptep_set_access_flags()
76 pte_t pte = huge_ptep_get_and_clear(mm, addr, ptep); in huge_ptep_set_wrprotect() local
77 set_huge_pte_at(mm, addr, ptep, pte_wrprotect(pte)); in huge_ptep_set_wrprotect()
85 static inline int huge_pte_none(pte_t pte) in huge_pte_none() argument
87 return pte_none(pte); in huge_pte_none()
90 static inline int huge_pte_none_mostly(pte_t pte) in huge_pte_none_mostly() argument
92 return huge_pte_none(pte); in huge_pte_none_mostly()
[all …]
/linux-6.1.9/include/asm-generic/
Dhugetlb.h13 static inline unsigned long huge_pte_write(pte_t pte) in huge_pte_write() argument
15 return pte_write(pte); in huge_pte_write()
18 static inline unsigned long huge_pte_dirty(pte_t pte) in huge_pte_dirty() argument
20 return pte_dirty(pte); in huge_pte_dirty()
23 static inline pte_t huge_pte_mkwrite(pte_t pte) in huge_pte_mkwrite() argument
25 return pte_mkwrite(pte); in huge_pte_mkwrite()
28 static inline pte_t huge_pte_mkdirty(pte_t pte) in huge_pte_mkdirty() argument
30 return pte_mkdirty(pte); in huge_pte_mkdirty()
33 static inline pte_t huge_pte_modify(pte_t pte, pgprot_t newprot) in huge_pte_modify() argument
35 return pte_modify(pte, newprot); in huge_pte_modify()
[all …]
/linux-6.1.9/arch/alpha/include/asm/
Dpgtable.h189 #define pte_pfn(pte) (pte_val(pte) >> 32) argument
191 #define pte_page(pte) pfn_to_page(pte_pfn(pte)) argument
194 pte_t pte; \
196 pte_val(pte) = (page_to_pfn(page) << 32) | pgprot_val(pgprot); \
197 pte; \
201 { pte_t pte; pte_val(pte) = (PHYS_TWIDDLE(physpfn) << 32) | pgprot_val(pgprot); return pte; } in pfn_pte() local
203 extern inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument
204 { pte_val(pte) = (pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot); return pte; } in pte_modify()
228 extern inline int pte_none(pte_t pte) { return !pte_val(pte); } in pte_none() argument
229 extern inline int pte_present(pte_t pte) { return pte_val(pte) & _PAGE_VALID; } in pte_present() argument
[all …]
/linux-6.1.9/drivers/iommu/amd/
Dio_pgtable_v2.c44 static inline bool is_large_pte(u64 pte) in is_large_pte() argument
46 return (pte & IOMMU_PAGE_PSE); in is_large_pte()
64 static inline void *get_pgtable_pte(u64 pte) in get_pgtable_pte() argument
66 return iommu_phys_to_virt(pte & PM_ADDR_MASK); in get_pgtable_pte()
71 u64 pte; in set_pte_attr() local
73 pte = __sme_set(paddr & PM_ADDR_MASK); in set_pte_attr()
74 pte |= IOMMU_PAGE_PRESENT | IOMMU_PAGE_USER; in set_pte_attr()
75 pte |= IOMMU_PAGE_ACCESS | IOMMU_PAGE_DIRTY; in set_pte_attr()
78 pte |= IOMMU_PAGE_RW; in set_pte_attr()
82 pte |= IOMMU_PAGE_PSE; in set_pte_attr()
[all …]
Dio_pgtable.c50 static u64 *first_pte_l7(u64 *pte, unsigned long *page_size, in first_pte_l7() argument
56 pg_size = PTE_PAGE_SIZE(*pte); in first_pte_l7()
59 fpte = (u64 *)(((unsigned long)pte) & pte_mask); in first_pte_l7()
157 u64 *pte; in increase_address_space() local
159 pte = (void *)get_zeroed_page(gfp); in increase_address_space()
160 if (!pte) in increase_address_space()
172 *pte = PM_LEVEL_PDE(domain->iop.mode, iommu_virt_to_phys(domain->iop.root)); in increase_address_space()
174 domain->iop.root = pte; in increase_address_space()
183 amd_iommu_domain_set_pgtable(domain, pte, domain->iop.mode); in increase_address_space()
185 pte = NULL; in increase_address_space()
[all …]
/linux-6.1.9/arch/powerpc/mm/
Dpgtable.c49 static inline int pte_looks_normal(pte_t pte) in pte_looks_normal() argument
52 if (pte_present(pte) && !pte_special(pte)) { in pte_looks_normal()
53 if (pte_ci(pte)) in pte_looks_normal()
55 if (pte_user(pte)) in pte_looks_normal()
61 static struct page *maybe_pte_to_page(pte_t pte) in maybe_pte_to_page() argument
63 unsigned long pfn = pte_pfn(pte); in maybe_pte_to_page()
82 static pte_t set_pte_filter_hash(pte_t pte) in set_pte_filter_hash() argument
84 pte = __pte(pte_val(pte) & ~_PAGE_HPTEFLAGS); in set_pte_filter_hash()
85 if (pte_looks_normal(pte) && !(cpu_has_feature(CPU_FTR_COHERENT_ICACHE) || in set_pte_filter_hash()
87 struct page *pg = maybe_pte_to_page(pte); in set_pte_filter_hash()
[all …]
/linux-6.1.9/arch/xtensa/include/asm/
Dpgtable.h231 # define pte_none(pte) (pte_val(pte) == (_PAGE_CA_INVALID | _PAGE_USER)) argument
233 # define pte_present(pte) ((pte_val(pte) & _PAGE_CA_MASK) != _PAGE_CA_INVALID) argument
235 # define pte_present(pte) \ argument
236 (((pte_val(pte) & _PAGE_CA_MASK) != _PAGE_CA_INVALID) \
237 || ((pte_val(pte) & _PAGE_ATTRIB_MASK) == _PAGE_NONE))
247 static inline int pte_write(pte_t pte) { return pte_val(pte) & _PAGE_WRITABLE; } in pte_write() argument
248 static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } in pte_dirty() argument
249 static inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; } in pte_young() argument
251 static inline pte_t pte_wrprotect(pte_t pte) in pte_wrprotect() argument
252 { pte_val(pte) &= ~(_PAGE_WRITABLE | _PAGE_HW_WRITE); return pte; } in pte_wrprotect()
[all …]
/linux-6.1.9/drivers/iommu/
Dio-pgtable-arm-v7s.c83 #define ARM_V7S_PTE_IS_VALID(pte) (((pte) & 0x3) != 0) argument
84 #define ARM_V7S_PTE_IS_TABLE(pte, lvl) \ argument
85 ((lvl) == 1 && (((pte) & 0x3) == ARM_V7S_PTE_TYPE_TABLE))
172 static bool arm_v7s_pte_is_cont(arm_v7s_iopte pte, int lvl);
185 static arm_v7s_iopte to_mtk_iopte(phys_addr_t paddr, arm_v7s_iopte pte) in to_mtk_iopte() argument
188 pte |= ARM_V7S_ATTR_MTK_PA_BIT32; in to_mtk_iopte()
190 pte |= ARM_V7S_ATTR_MTK_PA_BIT33; in to_mtk_iopte()
192 pte |= ARM_V7S_ATTR_MTK_PA_BIT34; in to_mtk_iopte()
193 return pte; in to_mtk_iopte()
199 arm_v7s_iopte pte = paddr & ARM_V7S_LVL_MASK(lvl); in paddr_to_iopte() local
[all …]
/linux-6.1.9/arch/parisc/include/asm/
Dpgtable.h79 extern void __update_cache(pte_t pte);
336 static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } in pte_dirty() argument
337 static inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; } in pte_young() argument
338 static inline int pte_write(pte_t pte) { return pte_val(pte) & _PAGE_WRITE; } in pte_write() argument
339 static inline int pte_special(pte_t pte) { return pte_val(pte) & _PAGE_SPECIAL; } in pte_special() argument
341 static inline pte_t pte_mkclean(pte_t pte) { pte_val(pte) &= ~_PAGE_DIRTY; return pte; } in pte_mkclean() argument
342 static inline pte_t pte_mkold(pte_t pte) { pte_val(pte) &= ~_PAGE_ACCESSED; return pte; } in pte_mkold() argument
343 static inline pte_t pte_wrprotect(pte_t pte) { pte_val(pte) &= ~_PAGE_WRITE; return pte; } in pte_wrprotect() argument
344 static inline pte_t pte_mkdirty(pte_t pte) { pte_val(pte) |= _PAGE_DIRTY; return pte; } in pte_mkdirty() argument
345 static inline pte_t pte_mkyoung(pte_t pte) { pte_val(pte) |= _PAGE_ACCESSED; return pte; } in pte_mkyoung() argument
[all …]

12345678910>>...20