Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
cacheflush.h File Reference
#include <linux/mm.h>
#include <asm/cpu-features.h>

Go to the source code of this file.

Macros

#define flush_cache_dup_mm(mm)   do { (void) (mm); } while (0)
 
#define ARCH_IMPLEMENTS_FLUSH_DCACHE_PAGE   1
 
#define flush_dcache_mmap_lock(mapping)   do { } while (0)
 
#define flush_dcache_mmap_unlock(mapping)   do { } while (0)
 
#define ARCH_HAS_FLUSH_ANON_PAGE
 
#define PG_dcache_dirty   PG_arch_1
 
#define Page_dcache_dirty(page)   test_bit(PG_dcache_dirty, &(page)->flags)
 
#define SetPageDcacheDirty(page)   set_bit(PG_dcache_dirty, &(page)->flags)
 
#define ClearPageDcacheDirty(page)   clear_bit(PG_dcache_dirty, &(page)->flags)
 
#define ARCH_HAS_FLUSH_KERNEL_DCACHE_PAGE
 

Functions

void __flush_dcache_page (struct page *page)
 
void __flush_anon_page (struct page *, unsigned long)
 
void copy_to_user_page (struct vm_area_struct *vma, struct page *page, unsigned long vaddr, void *dst, const void *src, unsigned long len)
 
void copy_from_user_page (struct vm_area_struct *vma, struct page *page, unsigned long vaddr, void *dst, const void *src, unsigned long len)
 
unsigned long run_uncached (void *func)
 
voidkmap_coherent (struct page *page, unsigned long addr)
 
void kunmap_coherent (void)
 

Variables

void(* flush_cache_all )(void)
 
void(* __flush_cache_all )(void)
 
void(* flush_cache_mm )(struct mm_struct *mm)
 
void(* flush_cache_range )(struct vm_area_struct *vma, unsigned long start, unsigned long end)
 
void(* flush_cache_page )(struct vm_area_struct *vma, unsigned long page, unsigned long pfn)
 
void(* flush_icache_range )(unsigned long start, unsigned long end)
 
void(* local_flush_icache_range )(unsigned long start, unsigned long end)
 
void(* __flush_cache_vmap )(void)
 
void(* __flush_cache_vunmap )(void)
 
void(* flush_cache_sigtramp )(unsigned long addr)
 
void(* flush_icache_all )(void)
 
void(* local_flush_data_cache_page )(void *addr)
 
void(* flush_data_cache_page )(unsigned long addr)
 
void(* __flush_kernel_vmap_range )(unsigned long vaddr, int size)
 

Macro Definition Documentation

#define ARCH_HAS_FLUSH_ANON_PAGE

Definition at line 52 of file cacheflush.h.

#define ARCH_HAS_FLUSH_KERNEL_DCACHE_PAGE

Definition at line 117 of file cacheflush.h.

#define ARCH_IMPLEMENTS_FLUSH_DCACHE_PAGE   1

Definition at line 41 of file cacheflush.h.

#define ClearPageDcacheDirty (   page)    clear_bit(PG_dcache_dirty, &(page)->flags)

Definition at line 108 of file cacheflush.h.

#define flush_cache_dup_mm (   mm)    do { (void) (mm); } while (0)

Definition at line 35 of file cacheflush.h.

#define flush_dcache_mmap_lock (   mapping)    do { } while (0)

Definition at line 49 of file cacheflush.h.

#define flush_dcache_mmap_unlock (   mapping)    do { } while (0)

Definition at line 50 of file cacheflush.h.

#define Page_dcache_dirty (   page)    test_bit(PG_dcache_dirty, &(page)->flags)

Definition at line 104 of file cacheflush.h.

#define PG_dcache_dirty   PG_arch_1

Definition at line 102 of file cacheflush.h.

#define SetPageDcacheDirty (   page)    set_bit(PG_dcache_dirty, &(page)->flags)

Definition at line 106 of file cacheflush.h.

Function Documentation

void __flush_anon_page ( struct page ,
unsigned  long 
)

Definition at line 103 of file cache.c.

void __flush_dcache_page ( struct page page)

Definition at line 82 of file flush.c.

void copy_from_user_page ( struct vm_area_struct vma,
struct page page,
unsigned long  vaddr,
void dst,
const void src,
unsigned long  len 
)

Definition at line 247 of file init.c.

void copy_to_user_page ( struct vm_area_struct vma,
struct page page,
unsigned long  vaddr,
void dst,
const void src,
unsigned long  len 
)

Definition at line 149 of file flush.c.

void* kmap_coherent ( struct page page,
unsigned long  addr 
)

Definition at line 122 of file init.c.

void kunmap_coherent ( void  )

Definition at line 181 of file init.c.

unsigned long run_uncached ( void func)

Definition at line 39 of file uncached.c.

Variable Documentation

void(* __flush_cache_all)(void)

Definition at line 26 of file cache.c.

void(* __flush_cache_vmap)(void)

Definition at line 35 of file cache.c.

void(* __flush_cache_vunmap)(void)

Definition at line 36 of file cache.c.

void(* __flush_kernel_vmap_range)(unsigned long vaddr, int size)

Definition at line 38 of file cache.c.

void(* flush_cache_all)(void)

Definition at line 25 of file cache.c.

void(* flush_cache_mm)(struct mm_struct *mm)

Definition at line 27 of file cache.c.

void(* flush_cache_page)(struct vm_area_struct *vma, unsigned long page, unsigned long pfn)

Definition at line 30 of file cache.c.

void(* flush_cache_range)(struct vm_area_struct *vma, unsigned long start, unsigned long end)

Definition at line 28 of file cache.c.

void(* flush_cache_sigtramp)(unsigned long addr)

Definition at line 44 of file cache.c.

void(* flush_data_cache_page)(unsigned long addr)

Definition at line 46 of file cache.c.

void(* flush_icache_all)(void)

Definition at line 47 of file cache.c.

void(* flush_icache_range)(unsigned long start, unsigned long end)

Definition at line 32 of file cache.c.

void(* local_flush_data_cache_page)(void *addr)

Definition at line 45 of file cache.c.

void(* local_flush_icache_range)(unsigned long start, unsigned long end)

Definition at line 33 of file cache.c.