Home
last modified time | relevance | path

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

12345678910>>...19

/kernel/linux/linux-5.10/arch/mips/include/asm/
Dpgtable.h137 # define pte_none(pte) (!(((pte).pte_high) & ~_PAGE_GLOBAL)) argument
139 # define pte_none(pte) (!(((pte).pte_low | (pte).pte_high) & ~_PAGE_GLOBAL)) argument
142 #define pte_present(pte) ((pte).pte_low & _PAGE_PRESENT) argument
143 #define pte_no_exec(pte) ((pte).pte_low & _PAGE_NO_EXEC) argument
145 static inline void set_pte(pte_t *ptep, pte_t pte) argument
147 ptep->pte_high = pte.pte_high;
149 ptep->pte_low = pte.pte_low;
152 if (pte.pte_high & _PAGE_GLOBAL) {
154 if (pte.pte_low & _PAGE_GLOBAL) {
188 #define pte_none(pte) (!(pte_val(pte) & ~_PAGE_GLOBAL)) argument
[all …]
/kernel/linux/linux-5.10/arch/um/include/asm/
Dpgtable.h124 static inline int pte_none(pte_t pte) in pte_none() argument
126 return pte_is_zero(pte); in pte_none()
133 static inline int pte_read(pte_t pte) in pte_read() argument
135 return((pte_get_bits(pte, _PAGE_USER)) && in pte_read()
136 !(pte_get_bits(pte, _PAGE_PROTNONE))); in pte_read()
139 static inline int pte_exec(pte_t pte){ in pte_exec() argument
140 return((pte_get_bits(pte, _PAGE_USER)) && in pte_exec()
141 !(pte_get_bits(pte, _PAGE_PROTNONE))); in pte_exec()
144 static inline int pte_write(pte_t pte) in pte_write() argument
146 return((pte_get_bits(pte, _PAGE_RW)) && in pte_write()
[all …]
/kernel/linux/linux-5.10/arch/m68k/include/asm/
Dmcf_pgtable.h159 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument
161 pte_val(pte) = (pte_val(pte) & CF_PAGE_CHG_MASK) | pgprot_val(newprot); in pte_modify()
162 return pte; 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() argument
177 return !pte_val(pte); in pte_none()
180 static inline int pte_present(pte_t pte) in pte_present() argument
182 return pte_val(pte) & CF_PAGE_VALID; 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
[all …]
Dsun3_pgtable.h105 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument
107 pte_val(pte) = (pte_val(pte) & SUN3_PAGE_CHG_MASK) | pgprot_val(newprot); in pte_modify()
108 return pte; in pte_modify()
113 #define __pte_page(pte) \ argument
114 ((unsigned long) __va ((pte_val (pte) & SUN3_PAGE_PGNUM_MASK) << PAGE_SHIFT))
121 static inline int pte_none (pte_t pte) { return !pte_val (pte); } in pte_none() argument
122 static inline int pte_present (pte_t pte) { return pte_val (pte) & SUN3_PAGE_VALID; } in pte_present() argument
128 #define pte_pfn(pte) (pte_val(pte) & SUN3_PAGE_PGNUM_MASK) argument
132 #define pte_page(pte) virt_to_page(__pte_page(pte)) argument
158 static inline int pte_write(pte_t pte) { return pte_val(pte) & SUN3_PAGE_WRITEABLE; } in pte_write() argument
[all …]
Dmotorola_pgtable.h114 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument
116 pte_val(pte) = (pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot); in pte_modify()
117 return pte; in pte_modify()
130 #define __pte_page(pte) ((unsigned long)__va(pte_val(pte) & PAGE_MASK)) argument
135 #define pte_none(pte) (!pte_val(pte)) argument
136 #define pte_present(pte) (pte_val(pte) & (_PAGE_PRESENT | _PAGE_PROTNONE)) argument
139 #define pte_page(pte) virt_to_page(__va(pte_val(pte))) argument
140 #define pte_pfn(pte) (pte_val(pte) >> PAGE_SHIFT) argument
174 static inline int pte_write(pte_t pte) { return !(pte_val(pte) & _PAGE_RONLY); } in pte_write() argument
175 static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } in pte_dirty() argument
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/arch/powerpc/include/asm/nohash/
Dpgtable.h43 static inline int pte_write(pte_t pte) in pte_write() argument
45 return pte_val(pte) & _PAGE_RW; in pte_write()
48 static inline int pte_read(pte_t pte) { return 1; } in pte_read() argument
49 static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } in pte_dirty() argument
50 static inline int pte_special(pte_t pte) { return pte_val(pte) & _PAGE_SPECIAL; } in pte_special() argument
51 static inline int pte_none(pte_t pte) { return (pte_val(pte) & ~_PTE_NONE_MASK) == 0; } in pte_none() argument
52 static inline bool pte_hashpte(pte_t pte) { return false; } in pte_hashpte() argument
53 static inline bool pte_ci(pte_t pte) { return pte_val(pte) & _PAGE_NO_CACHE; } in pte_ci() argument
54 static inline bool pte_exec(pte_t pte) { return pte_val(pte) & _PAGE_EXEC; } in pte_exec() argument
62 static inline int pte_protnone(pte_t pte) in pte_protnone() argument
[all …]
/kernel/linux/linux-5.10/arch/arm64/include/asm/
Dpgtable.h72 static inline phys_addr_t __pte_to_phys(pte_t pte) in __pte_to_phys() argument
74 return (pte_val(pte) & PTE_ADDR_LOW) | in __pte_to_phys()
75 ((pte_val(pte) & PTE_ADDR_HIGH) << 36); in __pte_to_phys()
82 #define __pte_to_phys(pte) (pte_val(pte) & PTE_ADDR_MASK) argument
86 #define pte_pfn(pte) (__pte_to_phys(pte) >> PAGE_SHIFT) argument
90 #define pte_none(pte) (!pte_val(pte)) argument
92 #define pte_page(pte) (pfn_to_page(pte_pfn(pte))) argument
97 #define pte_present(pte) (!!(pte_val(pte) & (PTE_VALID | PTE_PROT_NONE))) argument
98 #define pte_young(pte) (!!(pte_val(pte) & PTE_AF)) argument
99 #define pte_special(pte) (!!(pte_val(pte) & PTE_SPECIAL)) argument
[all …]
/kernel/linux/linux-5.10/arch/arm/include/asm/
Dpgtable.h53 #define pte_ERROR(pte) __pte_error(__FILE__, __LINE__, pte) argument
179 #define pte_pfn(pte) ((pte_val(pte) & PHYS_MASK) >> PAGE_SHIFT) argument
182 #define pte_page(pte) pfn_to_page(pte_pfn(pte)) argument
187 #define pte_isset(pte, val) ((u32)(val) == (val) ? pte_val(pte) & (val) \ argument
188 : !!(pte_val(pte) & (val)))
189 #define pte_isclear(pte, val) (!(pte_val(pte) & (val))) argument
191 #define pte_none(pte) (!pte_val(pte)) argument
192 #define pte_present(pte) (pte_isset((pte), L_PTE_PRESENT)) argument
193 #define pte_valid(pte) (pte_isset((pte), L_PTE_VALID)) argument
194 #define pte_accessible(mm, pte) (mm_tlb_flush_pending(mm) ? pte_present(pte) : pte_valid(pte)) argument
[all …]
/kernel/linux/linux-5.10/arch/openrisc/include/asm/
Dpgtable.h233 static inline int pte_read(pte_t pte) { return pte_val(pte) & _PAGE_READ; } in pte_read() argument
234 static inline int pte_write(pte_t pte) { return pte_val(pte) & _PAGE_WRITE; } in pte_write() argument
235 static inline int pte_exec(pte_t pte) { return pte_val(pte) & _PAGE_EXEC; } in pte_exec() argument
236 static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } in pte_dirty() argument
237 static inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; } in pte_young() argument
239 static inline pte_t pte_wrprotect(pte_t pte) in pte_wrprotect() argument
241 pte_val(pte) &= ~(_PAGE_WRITE); in pte_wrprotect()
242 return pte; in pte_wrprotect()
245 static inline pte_t pte_rdprotect(pte_t pte) in pte_rdprotect() argument
247 pte_val(pte) &= ~(_PAGE_READ); in pte_rdprotect()
[all …]
/kernel/linux/linux-5.10/arch/microblaze/include/asm/
Dpgtable.h38 #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) argument
278 #define pte_none(pte) ((pte_val(pte) & ~_PTE_NONE_MASK) == 0) argument
279 #define pte_present(pte) (pte_val(pte) & _PAGE_PRESENT) argument
302 static inline int pte_read(pte_t pte) { return pte_val(pte) & _PAGE_USER; } in pte_read() argument
303 static inline int pte_write(pte_t pte) { return pte_val(pte) & _PAGE_RW; } in pte_write() argument
304 static inline int pte_exec(pte_t pte) { return pte_val(pte) & _PAGE_EXEC; } in pte_exec() argument
305 static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } in pte_dirty() argument
306 static inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; } in pte_young() argument
308 static inline void pte_uncache(pte_t pte) { pte_val(pte) |= _PAGE_NO_CACHE; } in pte_uncache() argument
309 static inline void pte_cache(pte_t pte) { pte_val(pte) &= ~_PAGE_NO_CACHE; } in pte_cache() argument
[all …]
/kernel/linux/linux-5.10/arch/hexagon/include/asm/
Dpgtable.h163 #define pte_mkhuge(pte) __pte((pte_val(pte) & ~0x3) | HVM_HUGEPAGE_SIZE) argument
170 extern void sync_icache_dcache(pte_t pte);
172 #define pte_present_exec_user(pte) \ argument
173 ((pte_val(pte) & (_PAGE_EXECUTE | _PAGE_USER)) == \
251 static inline int pte_none(pte_t pte) in pte_none() argument
253 return pte_val(pte) == _NULL_PTE; in pte_none()
259 static inline int pte_present(pte_t pte) in pte_present() argument
261 return pte_val(pte) & _PAGE_PRESENT; in pte_present()
271 static inline pte_t pte_mkold(pte_t pte) in pte_mkold() argument
273 pte_val(pte) &= ~_PAGE_ACCESSED; in pte_mkold()
[all …]
/kernel/linux/linux-5.10/arch/powerpc/include/asm/book3s/32/
Dpgtable.h20 static inline bool pte_user(pte_t pte) in pte_user() argument
22 return pte_val(pte) & _PAGE_USER; in pte_user()
347 #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) >> 3 }) argument
351 static inline int pte_write(pte_t pte) { return !!(pte_val(pte) & _PAGE_RW);} in pte_write() argument
352 static inline int pte_read(pte_t pte) { return 1; } in pte_read() argument
353 static inline int pte_dirty(pte_t pte) { return !!(pte_val(pte) & _PAGE_DIRTY); } in pte_dirty() argument
354 static inline int pte_young(pte_t pte) { return !!(pte_val(pte) & _PAGE_ACCESSED); } in pte_young() argument
355 static inline int pte_special(pte_t pte) { return !!(pte_val(pte) & _PAGE_SPECIAL); } in pte_special() argument
356 static inline int pte_none(pte_t pte) { return (pte_val(pte) & ~_PTE_NONE_MASK) == 0; } in pte_none() argument
357 static inline bool pte_exec(pte_t pte) { return pte_val(pte) & _PAGE_EXEC; } in pte_exec() argument
[all …]
/kernel/linux/linux-5.10/arch/sparc/include/asm/
Dpgtable_64.h251 pte_t pte = pfn_pte(page_nr, pgprot); in pfn_pmd() local
253 return __pmd(pte_val(pte)); in pfn_pmd()
259 static inline unsigned long pte_pfn(pte_t pte) in pte_pfn() argument
272 : "r" (pte_val(pte)), in pte_pfn()
280 static inline pte_t pte_modify(pte_t pte, pgprot_t prot) in pte_modify() argument
335 return __pte((pte_val(pte) & mask) | (pgprot_val(prot) & ~mask)); in pte_modify()
341 pte_t pte = __pte(pmd_val(pmd)); in pmd_modify() local
343 pte = pte_modify(pte, newprot); in pmd_modify()
345 return __pmd(pte_val(pte)); in pmd_modify()
401 static inline pte_t pte_mkhuge(pte_t pte) in pte_mkhuge() argument
[all …]
/kernel/linux/linux-5.10/arch/powerpc/mm/
Dpgtable.c40 static inline int pte_looks_normal(pte_t pte) in pte_looks_normal() argument
43 if (pte_present(pte) && !pte_special(pte)) { in pte_looks_normal()
44 if (pte_ci(pte)) in pte_looks_normal()
46 if (pte_user(pte)) in pte_looks_normal()
52 static struct page *maybe_pte_to_page(pte_t pte) in maybe_pte_to_page() argument
54 unsigned long pfn = pte_pfn(pte); in maybe_pte_to_page()
73 static pte_t set_pte_filter_hash(pte_t pte) in set_pte_filter_hash() argument
76 return pte; in set_pte_filter_hash()
78 pte = __pte(pte_val(pte) & ~_PAGE_HPTEFLAGS); in set_pte_filter_hash()
79 if (pte_looks_normal(pte) && !(cpu_has_feature(CPU_FTR_COHERENT_ICACHE) || in set_pte_filter_hash()
[all …]
/kernel/linux/linux-5.10/arch/nios2/include/asm/
Dpgtable.h105 static inline int pte_write(pte_t pte) \ in pte_write() argument
106 { return pte_val(pte) & _PAGE_WRITE; } in pte_write()
107 static inline int pte_dirty(pte_t pte) \ in pte_dirty() argument
108 { return pte_val(pte) & _PAGE_DIRTY; } in pte_dirty()
109 static inline int pte_young(pte_t pte) \ in pte_young() argument
110 { return pte_val(pte) & _PAGE_ACCESSED; } in pte_young()
123 static inline int pte_none(pte_t pte) in pte_none() argument
125 return !(pte_val(pte) & ~(_PAGE_GLOBAL|0xf)); in pte_none()
128 static inline int pte_present(pte_t pte) \ in pte_present() argument
129 { return pte_val(pte) & _PAGE_PRESENT; } in pte_present()
[all …]
/kernel/linux/linux-5.10/arch/csky/include/asm/
Dpgtable.h38 #define pte_none(pte) (!(pte_val(pte) & ~_PAGE_GLOBAL)) argument
39 #define pte_present(pte) (pte_val(pte) & _PAGE_PRESENT) argument
54 #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) argument
104 static inline void set_pte(pte_t *p, pte_t pte) in set_pte() argument
106 *p = pte; in set_pte()
161 static inline int pte_read(pte_t pte) in pte_read() argument
163 return pte.pte_low & _PAGE_READ; in pte_read()
166 static inline int pte_write(pte_t pte) in pte_write() argument
168 return (pte).pte_low & _PAGE_WRITE; in pte_write()
171 static inline int pte_dirty(pte_t pte) in pte_dirty() argument
[all …]
/kernel/linux/linux-5.10/arch/nds32/include/asm/
Dpgtable.h33 #define pte_ERROR(pte) __pte_error(__FILE__, __LINE__, pte_val(pte)) argument
182 #define pte_pfn(pte) (pte_val(pte) >> PAGE_SHIFT) argument
185 #define pte_none(pte) !(pte_val(pte)) argument
187 #define pte_page(pte) (pfn_to_page(pte_pfn(pte))) argument
213 static inline void set_pte(pte_t * ptep, pte_t pte) in set_pte() argument
216 *ptep = pte; in set_pte()
238 #define pte_present(pte) (pte_val(pte) & _PAGE_V) argument
239 #define pte_write(pte) ((pte_val(pte) & _PAGE_M_MASK) == _PAGE_M_URW_KRW) argument
240 #define pte_read(pte) (((pte_val(pte) & _PAGE_M_MASK) == _PAGE_M_UR_KR) || \ argument
241 ((pte_val(pte) & _PAGE_M_MASK) == _PAGE_M_UR_KRW) || \
[all …]
/kernel/linux/linux-5.10/arch/alpha/include/asm/
Dpgtable.h209 #define pte_pfn(pte) (pte_val(pte) >> 32) argument
210 #define pte_page(pte) pfn_to_page(pte_pfn(pte)) argument
213 pte_t pte; \
215 pte_val(pte) = (page_to_pfn(page) << 32) | pgprot_val(pgprot); \
216 pte; \
221 { pte_t pte; pte_val(pte) = (PHYS_TWIDDLE(physpfn) << 32) | pgprot_val(pgprot); return pte; } in pfn_pte() local
223 extern inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() argument
224 { pte_val(pte) = (pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot); return pte; } in pte_modify()
247 extern inline int pte_none(pte_t pte) { return !pte_val(pte); } in pte_none() argument
248 extern inline int pte_present(pte_t pte) { return pte_val(pte) & _PAGE_VALID; } in pte_present() argument
[all …]
/kernel/linux/linux-5.10/drivers/iommu/
Dio-pgtable-arm-v7s.c84 #define ARM_V7S_PTE_IS_VALID(pte) (((pte) & 0x3) != 0) argument
85 #define ARM_V7S_PTE_IS_TABLE(pte, lvl) \ argument
86 ((lvl) == 1 && (((pte) & 0x3) == ARM_V7S_PTE_TYPE_TABLE))
172 static bool arm_v7s_pte_is_cont(arm_v7s_iopte pte, int lvl);
188 arm_v7s_iopte pte = paddr & ARM_V7S_LVL_MASK(lvl); in paddr_to_iopte() local
191 return pte; in paddr_to_iopte()
194 pte |= ARM_V7S_ATTR_MTK_PA_BIT32; in paddr_to_iopte()
196 pte |= ARM_V7S_ATTR_MTK_PA_BIT33; in paddr_to_iopte()
197 return pte; in paddr_to_iopte()
200 static phys_addr_t iopte_to_paddr(arm_v7s_iopte pte, int lvl, in iopte_to_paddr() argument
[all …]
/kernel/linux/linux-5.10/arch/xtensa/include/asm/
Dpgtable.h250 # define pte_none(pte) (pte_val(pte) == (_PAGE_CA_INVALID | _PAGE_USER)) argument
252 # define pte_present(pte) ((pte_val(pte) & _PAGE_CA_MASK) != _PAGE_CA_INVALID) argument
254 # define pte_present(pte) \ argument
255 (((pte_val(pte) & _PAGE_CA_MASK) != _PAGE_CA_INVALID) \
256 || ((pte_val(pte) & _PAGE_ATTRIB_MASK) == _PAGE_NONE))
266 static inline int pte_write(pte_t pte) { return pte_val(pte) & _PAGE_WRITABLE; } in pte_write() argument
267 static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } in pte_dirty() argument
268 static inline int pte_young(pte_t pte) { return pte_val(pte) & _PAGE_ACCESSED; } in pte_young() argument
270 static inline pte_t pte_wrprotect(pte_t pte) in pte_wrprotect() argument
271 { pte_val(pte) &= ~(_PAGE_WRITABLE | _PAGE_HW_WRITE); return pte; } in pte_wrprotect()
[all …]
/kernel/linux/linux-5.10/arch/powerpc/include/asm/book3s/64/
Dpgtable.h343 #define __rpte_to_pte(r) ((r).pte)
357 #define pte_pagesize_index(mm, addr, pte) MMU_PAGE_4K argument
398 static inline int __pte_write(pte_t pte) in __pte_write() argument
400 return !!(pte_raw(pte) & cpu_to_be64(_PAGE_WRITE)); in __pte_write()
405 static inline bool pte_savedwrite(pte_t pte) in pte_savedwrite() argument
414 return !(pte_raw(pte) & cpu_to_be64(_PAGE_RWX | _PAGE_PRIVILEGED)); in pte_savedwrite()
418 static inline bool pte_savedwrite(pte_t pte) in pte_savedwrite() argument
424 static inline int pte_write(pte_t pte) in pte_write() argument
426 return __pte_write(pte) || pte_savedwrite(pte); in pte_write()
429 static inline int pte_read(pte_t pte) in pte_read() argument
[all …]
/kernel/linux/linux-5.10/include/trace/events/
Dthp.h13 TP_PROTO(unsigned long addr, unsigned long pte),
14 TP_ARGS(addr, pte),
17 __field(unsigned long, pte)
22 __entry->pte = pte;
26 __entry->addr, __entry->pte)
49 TP_PROTO(unsigned long addr, unsigned long pte, unsigned long clr, unsigned long set),
50 TP_ARGS(addr, pte, clr, set),
53 __field(unsigned long, pte)
60 __entry->pte = pte;
66 …r 0x%lx and pte = 0x%lx clr = 0x%lx, set = 0x%lx", __entry->addr, __entry->pte, __entry->clr, __en…
[all …]
/kernel/linux/linux-5.10/arch/s390/include/asm/
Dhugetlb.h19 pte_t *ptep, pte_t pte);
61 pte_t pte, int dirty) in huge_ptep_set_access_flags() argument
63 int changed = !pte_same(huge_ptep_get(ptep), pte); in huge_ptep_set_access_flags()
66 set_huge_pte_at(vma->vm_mm, addr, ptep, pte); in huge_ptep_set_access_flags()
74 pte_t pte = huge_ptep_get_and_clear(mm, addr, ptep); in huge_ptep_set_wrprotect() local
75 set_huge_pte_at(mm, addr, ptep, pte_wrprotect(pte)); in huge_ptep_set_wrprotect()
83 static inline int huge_pte_none(pte_t pte) in huge_pte_none() argument
85 return pte_none(pte); in huge_pte_none()
88 static inline int huge_pte_write(pte_t pte) in huge_pte_write() argument
90 return pte_write(pte); in huge_pte_write()
[all …]
/kernel/linux/linux-5.10/drivers/iommu/intel/
Dpasid.c499 struct pasid_entry *pte; in intel_pasid_tear_down_entry() local
502 pte = intel_pasid_get_entry(dev, pasid); in intel_pasid_tear_down_entry()
503 if (WARN_ON(!pte)) in intel_pasid_tear_down_entry()
506 did = pasid_get_domain_id(pte); in intel_pasid_tear_down_entry()
507 pgtt = pasid_pte_get_pgtt(pte); in intel_pasid_tear_down_entry()
512 clflush_cache_range(pte, sizeof(*pte)); in intel_pasid_tear_down_entry()
527 struct pasid_entry *pte, in pasid_flush_caches() argument
531 clflush_cache_range(pte, sizeof(*pte)); in pasid_flush_caches()
549 struct pasid_entry *pte; in intel_pasid_setup_first_level() local
557 pte = intel_pasid_get_entry(dev, pasid); in intel_pasid_setup_first_level()
[all …]

12345678910>>...19