~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/nios2/include/asm/cacheflush.h

Version: ~ [ linux-5.14-rc3 ] ~ [ linux-5.13.5 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.53 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.135 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.198 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.240 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.276 ] ~ [ linux-4.8.17 ] ~ [ linux-4.7.10 ] ~ [ linux-4.6.7 ] ~ [ linux-4.5.7 ] ~ [ linux-4.4.276 ] ~ [ linux-4.3.6 ] ~ [ linux-4.2.8 ] ~ [ linux-4.1.52 ] ~ [ linux-4.0.9 ] ~ [ linux-3.18.140 ] ~ [ linux-3.16.85 ] ~ [ linux-3.14.79 ] ~ [ linux-3.12.74 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.5 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 /*
  2  * Copyright (C) 2003 Microtronix Datacom Ltd.
  3  * Copyright (C) 2000-2002 Greg Ungerer <gerg@snapgear.com>
  4  *
  5  * This file is subject to the terms and conditions of the GNU General Public
  6  * License. See the file "COPYING" in the main directory of this archive
  7  * for more details.
  8  */
  9 
 10 #ifndef _ASM_NIOS2_CACHEFLUSH_H
 11 #define _ASM_NIOS2_CACHEFLUSH_H
 12 
 13 #include <linux/mm_types.h>
 14 
 15 /*
 16  * This flag is used to indicate that the page pointed to by a pte is clean
 17  * and does not require cleaning before returning it to the user.
 18  */
 19 #define PG_dcache_clean PG_arch_1
 20 
 21 struct mm_struct;
 22 
 23 extern void flush_cache_all(void);
 24 extern void flush_cache_mm(struct mm_struct *mm);
 25 extern void flush_cache_dup_mm(struct mm_struct *mm);
 26 extern void flush_cache_range(struct vm_area_struct *vma, unsigned long start,
 27         unsigned long end);
 28 extern void flush_cache_page(struct vm_area_struct *vma, unsigned long vmaddr,
 29         unsigned long pfn);
 30 #define ARCH_IMPLEMENTS_FLUSH_DCACHE_PAGE 1
 31 extern void flush_dcache_page(struct page *page);
 32 
 33 extern void flush_icache_range(unsigned long start, unsigned long end);
 34 extern void flush_icache_page(struct vm_area_struct *vma, struct page *page);
 35 
 36 #define flush_cache_vmap(start, end)            flush_dcache_range(start, end)
 37 #define flush_cache_vunmap(start, end)          flush_dcache_range(start, end)
 38 
 39 extern void copy_to_user_page(struct vm_area_struct *vma, struct page *page,
 40                                 unsigned long user_vaddr,
 41                                 void *dst, void *src, int len);
 42 extern void copy_from_user_page(struct vm_area_struct *vma, struct page *page,
 43                                 unsigned long user_vaddr,
 44                                 void *dst, void *src, int len);
 45 
 46 extern void flush_dcache_range(unsigned long start, unsigned long end);
 47 extern void invalidate_dcache_range(unsigned long start, unsigned long end);
 48 
 49 #define flush_dcache_mmap_lock(mapping)         do { } while (0)
 50 #define flush_dcache_mmap_unlock(mapping)       do { } while (0)
 51 
 52 #endif /* _ASM_NIOS2_CACHEFLUSH_H */
 53 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | Wiki (Japanese) | Wiki (English) | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

osdn.jp