Lines Matching +full:data +full:- +full:mapping
1 // SPDX-License-Identifier: GPL-2.0-only
7 * Copyright (C) 2001-2010 GUAN Xue-tao
23 if (vma->vm_flags & VM_EXEC) in flush_cache_range()
35 /* VIPT non-aliasing D-cache */ in flush_ptrace_access()
36 if (vma->vm_flags & VM_EXEC) { in flush_ptrace_access()
44 * Copy user data from/to a page which is mapped into a different
58 void __flush_dcache_page(struct address_space *mapping, struct page *page) in __flush_dcache_page() argument
61 * Writeback any data associated with the kernel mapping of this in __flush_dcache_page()
62 * page. This ensures that data in the physical page is mutually in __flush_dcache_page()
63 * coherent with the kernels mapping. in __flush_dcache_page()
69 * Ensure cache coherency between kernel mapping and userspace mapping
74 struct address_space *mapping; in flush_dcache_page() local
83 mapping = page_mapping_file(page); in flush_dcache_page()
85 if (mapping && !mapping_mapped(mapping)) in flush_dcache_page()
86 clear_bit(PG_dcache_clean, &page->flags); in flush_dcache_page()
88 __flush_dcache_page(mapping, page); in flush_dcache_page()
89 if (mapping) in flush_dcache_page()
91 set_bit(PG_dcache_clean, &page->flags); in flush_dcache_page()