Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
cache.c File Reference
#include <linux/fs.h>
#include <linux/fcntl.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/linkage.h>
#include <linux/module.h>
#include <linux/sched.h>
#include <linux/syscalls.h>
#include <linux/mm.h>
#include <asm/cacheflush.h>
#include <asm/processor.h>
#include <asm/cpu.h>
#include <asm/cpu-features.h>

Go to the source code of this file.

Functions

 EXPORT_SYMBOL_GPL (__flush_kernel_vmap_range)
 
 EXPORT_SYMBOL_GPL (local_flush_data_cache_page)
 
 EXPORT_SYMBOL (flush_data_cache_page)
 
 SYSCALL_DEFINE3 (cacheflush, unsigned long, addr, unsigned long, bytes, unsigned int, cache)
 
void __flush_dcache_page (struct page *page)
 
 EXPORT_SYMBOL (__flush_dcache_page)
 
void __flush_anon_page (struct page *page, unsigned long vmaddr)
 
 EXPORT_SYMBOL (__flush_anon_page)
 
void __update_cache (struct vm_area_struct *vma, unsigned long address, pte_t pte)
 
 EXPORT_SYMBOL (_page_cachable_default)
 
void __cpuinit cpu_cache_init (void)
 
int __weak __uncached_access (struct file *file, unsigned long addr)
 

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_kernel_vmap_range )(unsigned long vaddr, int size)
 
void(* __invalidate_kernel_vmap_range )(unsigned long vaddr, int size)
 
void(* flush_cache_sigtramp )(unsigned long addr)
 
void(* local_flush_data_cache_page )(void *addr)
 
void(* flush_data_cache_page )(unsigned long addr)
 
void(* flush_icache_all )(void)
 
unsigned long _page_cachable_default
 

Function Documentation

void __flush_anon_page ( struct page page,
unsigned long  vmaddr 
)

Definition at line 103 of file cache.c.

void __flush_dcache_page ( struct page page)

Definition at line 80 of file cache.c.

int __weak __uncached_access ( struct file file,
unsigned long  addr 
)

Definition at line 221 of file cache.c.

void __update_cache ( struct vm_area_struct vma,
unsigned long  address,
pte_t  pte 
)

Definition at line 121 of file cache.c.

void __cpuinit cpu_cache_init ( void  )

Definition at line 184 of file cache.c.

EXPORT_SYMBOL ( flush_data_cache_page  )
EXPORT_SYMBOL ( __flush_dcache_page  )
EXPORT_SYMBOL ( __flush_anon_page  )
EXPORT_SYMBOL ( _page_cachable_default  )
EXPORT_SYMBOL_GPL ( __flush_kernel_vmap_range  )
EXPORT_SYMBOL_GPL ( local_flush_data_cache_page  )
SYSCALL_DEFINE3 ( cacheflush  ,
unsigned  long,
addr  ,
unsigned  long,
bytes  ,
unsigned  int,
cache   
)

Definition at line 67 of file cache.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(* __invalidate_kernel_vmap_range)(unsigned long vaddr, int size)

Definition at line 39 of file cache.c.

unsigned long _page_cachable_default

Definition at line 140 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.