Lines Matching refs:pfn
38 static void flush_pfn_alias(unsigned long pfn, unsigned long vaddr) in flush_pfn_alias() argument
43 set_top_pte(to, pfn_pte(pfn, PAGE_KERNEL)); in flush_pfn_alias()
52 static void flush_icache_alias(unsigned long pfn, unsigned long vaddr, unsigned long len) in flush_icache_alias() argument
58 set_top_pte(va, pfn_pte(pfn, PAGE_KERNEL)); in flush_icache_alias()
98 void flush_cache_pages(struct vm_area_struct *vma, unsigned long user_addr, unsigned long pfn, unsi… in flush_cache_pages() argument
101 vivt_flush_cache_pages(vma, user_addr, pfn, nr); in flush_cache_pages()
106 flush_pfn_alias(pfn, user_addr); in flush_cache_pages()
115 #define flush_pfn_alias(pfn,vaddr) do { } while (0) argument
116 #define flush_icache_alias(pfn,vaddr,len) do { } while (0) argument
255 unsigned long start, offset, pfn; in __flush_dcache_aliases() local
267 pfn = folio_pfn(folio); in __flush_dcache_aliases()
271 pfn -= offset; in __flush_dcache_aliases()
279 flush_cache_pages(vma, start, pfn, nr); in __flush_dcache_aliases()
287 unsigned long pfn; in __sync_icache_dcache() local
294 pfn = pte_pfn(pteval); in __sync_icache_dcache()
295 if (!pfn_valid(pfn)) in __sync_icache_dcache()
298 folio = page_folio(pfn_to_page(pfn)); in __sync_icache_dcache()
381 unsigned long pfn; in __flush_anon_page() local
390 pfn = page_to_pfn(page); in __flush_anon_page()
392 flush_cache_page(vma, vmaddr, pfn); in __flush_anon_page()
398 flush_pfn_alias(pfn, vmaddr); in __flush_anon_page()