Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
cache.c File Reference
#include <linux/highmem.h>
#include <linux/unistd.h>
#include <asm/cacheflush.h>
#include <asm/cachectl.h>
#include <asm/processor.h>
#include <asm/uaccess.h>
#include <asm/syscalls.h>

Go to the source code of this file.

Macros

#define CACHEFLUSH_MAX_LEN   1024
 

Functions

void invalidate_dcache_region (void *start, size_t size)
 
void clean_dcache_region (void *start, size_t size)
 
void flush_dcache_region (void *start, size_t size)
 
void invalidate_icache_region (void *start, size_t size)
 
void flush_icache_range (unsigned long start, unsigned long end)
 
void flush_icache_page (struct vm_area_struct *vma, struct page *page)
 
asmlinkage int sys_cacheflush (int operation, void __user *addr, size_t len)
 
void copy_to_user_page (struct vm_area_struct *vma, struct page *page, unsigned long vaddr, void *dst, const void *src, unsigned long len)
 

Macro Definition Documentation

#define CACHEFLUSH_MAX_LEN   1024

Definition at line 22 of file cache.c.

Function Documentation

void clean_dcache_region ( void start,
size_t  size 
)

Definition at line 52 of file cache.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 154 of file cache.c.

void flush_dcache_region ( void start,
size_t  size 
)

Definition at line 65 of file cache.c.

void flush_icache_page ( struct vm_area_struct vma,
struct page page 
)

Definition at line 118 of file cache.c.

void flush_icache_range ( unsigned long  start,
unsigned long  end 
)

Definition at line 106 of file cache.c.

void invalidate_dcache_region ( void start,
size_t  size 
)

Definition at line 24 of file cache.c.

void invalidate_icache_region ( void start,
size_t  size 
)

Definition at line 78 of file cache.c.

asmlinkage int sys_cacheflush ( int  operation,
void __user addr,
size_t  len 
)

Definition at line 126 of file cache.c.