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

Go to the source code of this file.

Functions

int _set_memory_uc (unsigned long addr, int numpages)
 
int _set_memory_wc (unsigned long addr, int numpages)
 
int _set_memory_wb (unsigned long addr, int numpages)
 
int set_memory_uc (unsigned long addr, int numpages)
 
int set_memory_wc (unsigned long addr, int numpages)
 
int set_memory_wb (unsigned long addr, int numpages)
 
int set_memory_x (unsigned long addr, int numpages)
 
int set_memory_nx (unsigned long addr, int numpages)
 
int set_memory_ro (unsigned long addr, int numpages)
 
int set_memory_rw (unsigned long addr, int numpages)
 
int set_memory_np (unsigned long addr, int numpages)
 
int set_memory_4k (unsigned long addr, int numpages)
 
int set_memory_array_uc (unsigned long *addr, int addrinarray)
 
int set_memory_array_wc (unsigned long *addr, int addrinarray)
 
int set_memory_array_wb (unsigned long *addr, int addrinarray)
 
int set_pages_array_uc (struct page **pages, int addrinarray)
 
int set_pages_array_wc (struct page **pages, int addrinarray)
 
int set_pages_array_wb (struct page **pages, int addrinarray)
 
int set_pages_uc (struct page *page, int numpages)
 
int set_pages_wb (struct page *page, int numpages)
 
int set_pages_x (struct page *page, int numpages)
 
int set_pages_nx (struct page *page, int numpages)
 
int set_pages_ro (struct page *page, int numpages)
 
int set_pages_rw (struct page *page, int numpages)
 
void clflush_cache_range (void *addr, unsigned int size)
 

Function Documentation

int _set_memory_uc ( unsigned long  addr,
int  numpages 
)

Definition at line 967 of file pageattr.c.

int _set_memory_wb ( unsigned long  addr,
int  numpages 
)

Definition at line 1090 of file pageattr.c.

int _set_memory_wc ( unsigned long  addr,
int  numpages 
)

Definition at line 1049 of file pageattr.c.

void clflush_cache_range ( void vaddr,
unsigned int  size 
)

clflush_cache_range - flush a cache range with clflush : virtual start address : number of bytes to flush

clflush is an unordered instruction which needs fencing with mfence to avoid ordering issues.

Definition at line 131 of file pageattr.c.

int set_memory_4k ( unsigned long  addr,
int  numpages 
)

Definition at line 1161 of file pageattr.c.

int set_memory_array_uc ( unsigned long addr,
int  addrinarray 
)

Definition at line 1037 of file pageattr.c.

int set_memory_array_wb ( unsigned long addr,
int  addrinarray 
)

Definition at line 1109 of file pageattr.c.

int set_memory_array_wc ( unsigned long addr,
int  addrinarray 
)

Definition at line 1043 of file pageattr.c.

int set_memory_np ( unsigned long  addr,
int  numpages 
)

Definition at line 1156 of file pageattr.c.

int set_memory_nx ( unsigned long  addr,
int  numpages 
)

Definition at line 64 of file pageattr.c.

int set_memory_ro ( unsigned long  addr,
int  numpages 
)

Definition at line 51 of file pageattr.c.

int set_memory_rw ( unsigned long  addr,
int  numpages 
)

Definition at line 57 of file pageattr.c.

int set_memory_uc ( unsigned long  addr,
int  numpages 
)

Definition at line 976 of file pageattr.c.

int set_memory_wb ( unsigned long  addr,
int  numpages 
)

Definition at line 1096 of file pageattr.c.

int set_memory_wc ( unsigned long  addr,
int  numpages 
)

Definition at line 1065 of file pageattr.c.

int set_memory_x ( unsigned long  addr,
int  numpages 
)

Definition at line 69 of file pageattr.c.

int set_pages_array_uc ( struct page **  pages,
int  addrinarray 
)

Definition at line 1215 of file pageattr.c.

int set_pages_array_wb ( struct page **  pages,
int  addrinarray 
)

Definition at line 1235 of file pageattr.c.

int set_pages_array_wc ( struct page **  pages,
int  addrinarray 
)

Definition at line 1221 of file pageattr.c.

int set_pages_nx ( struct page page,
int  numpages 
)

Definition at line 1267 of file pageattr.c.

int set_pages_ro ( struct page page,
int  numpages 
)

Definition at line 1275 of file pageattr.c.

int set_pages_rw ( struct page page,
int  numpages 
)

Definition at line 1282 of file pageattr.c.

int set_pages_uc ( struct page page,
int  numpages 
)

Definition at line 1167 of file pageattr.c.

int set_pages_wb ( struct page page,
int  numpages 
)

Definition at line 1227 of file pageattr.c.

int set_pages_x ( struct page page,
int  numpages 
)

Definition at line 1259 of file pageattr.c.