Lines Matching refs:start

19 static void __flush_dcache(unsigned long start, unsigned long end)  in __flush_dcache()  argument
23 start &= ~(cpuinfo.dcache_line_size - 1); in __flush_dcache()
27 if (end > start + cpuinfo.dcache_size) in __flush_dcache()
28 end = start + cpuinfo.dcache_size; in __flush_dcache()
30 for (addr = start; addr < end; addr += cpuinfo.dcache_line_size) { in __flush_dcache()
38 static void __invalidate_dcache(unsigned long start, unsigned long end) in __invalidate_dcache() argument
42 start &= ~(cpuinfo.dcache_line_size - 1); in __invalidate_dcache()
46 for (addr = start; addr < end; addr += cpuinfo.dcache_line_size) { in __invalidate_dcache()
54 static void __flush_icache(unsigned long start, unsigned long end) in __flush_icache() argument
58 start &= ~(cpuinfo.icache_line_size - 1); in __flush_icache()
62 if (end > start + cpuinfo.icache_size) in __flush_icache()
63 end = start + cpuinfo.icache_size; in __flush_icache()
65 for (addr = start; addr < end; addr += cpuinfo.icache_line_size) { in __flush_icache()
86 unsigned long start; in flush_aliases() local
93 start = vma->vm_start + ((pgoff - vma->vm_pgoff) << PAGE_SHIFT); in flush_aliases()
94 flush_cache_range(vma, start, start + nr * PAGE_SIZE); in flush_aliases()
115 void flush_icache_range(unsigned long start, unsigned long end) in flush_icache_range() argument
117 __flush_dcache(start, end); in flush_icache_range()
118 __flush_icache(start, end); in flush_icache_range()
121 void flush_dcache_range(unsigned long start, unsigned long end) in flush_dcache_range() argument
123 __flush_dcache(start, end); in flush_dcache_range()
124 __flush_icache(start, end); in flush_dcache_range()
128 void invalidate_dcache_range(unsigned long start, unsigned long end) in invalidate_dcache_range() argument
130 __invalidate_dcache(start, end); in invalidate_dcache_range()
134 void flush_cache_range(struct vm_area_struct *vma, unsigned long start, in flush_cache_range() argument
137 __flush_dcache(start, end); in flush_cache_range()
139 __flush_icache(start, end); in flush_cache_range()
145 unsigned long start = (unsigned long) page_address(page); in flush_icache_pages() local
146 unsigned long end = start + nr * PAGE_SIZE; in flush_icache_pages()
148 __flush_dcache(start, end); in flush_icache_pages()
149 __flush_icache(start, end); in flush_icache_pages()
155 unsigned long start = vmaddr; in flush_cache_page() local
156 unsigned long end = start + PAGE_SIZE; in flush_cache_page()
158 __flush_dcache(start, end); in flush_cache_page()
160 __flush_icache(start, end); in flush_cache_page()
170 unsigned long start = (unsigned long)folio_address(folio); in __flush_dcache_folio() local
172 __flush_dcache(start, start + folio_size(folio)); in __flush_dcache_folio()
194 unsigned long start = (unsigned long)folio_address(folio); in flush_dcache_folio() local
196 flush_icache_range(start, start + folio_size(folio)); in flush_dcache_folio()