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

Go to the source code of this file.

Macros

#define flush_cache_all()   do { } while (0)
 
#define flush_cache_mm(mm)   do { } while (0)
 
#define flush_cache_dup_mm(mm)   do { } while (0)
 
#define flush_cache_range(vma, start, end)   do { } while (0)
 
#define flush_cache_page(vma, vmaddr, pfn)   do { } while (0)
 
#define ARCH_IMPLEMENTS_FLUSH_DCACHE_PAGE   0
 
#define flush_dcache_page(page)   do { } while (0)
 
#define flush_dcache_mmap_lock(mapping)   do { } while (0)
 
#define flush_dcache_mmap_unlock(mapping)   do { } while (0)
 
#define flush_icache_range(start, end)   do { } while (0)
 
#define flush_icache_page(vma, pg)   do { } while (0)
 
#define flush_icache_user_range(vma, pg, adr, len)   do { } while (0)
 
#define flush_cache_sigtramp(addr)   do { } while (0)
 
#define flush_cache_vmap(start, end)   do { } while (0)
 
#define flush_cache_vunmap(start, end)   do { } while (0)
 
#define copy_to_user_page(vma, page, vaddr, dst, src, len)
 
#define copy_from_user_page(vma, page, vaddr, dst, src, len)   memcpy(dst, src, len)
 

Functions

void _flush_cache_all (void)
 
void _flush_cache_copyback_all (void)
 

Macro Definition Documentation

#define ARCH_IMPLEMENTS_FLUSH_DCACHE_PAGE   0

Definition at line 51 of file cacheflush.h.

#define copy_from_user_page (   vma,
  page,
  vaddr,
  dst,
  src,
  len 
)    memcpy(dst, src, len)

Definition at line 69 of file cacheflush.h.

#define copy_to_user_page (   vma,
  page,
  vaddr,
  dst,
  src,
  len 
)
Value:
do { \
memcpy(dst, src, len); \
flush_icache_user_range(vma, page, vaddr, len); \
} while (0)

Definition at line 64 of file cacheflush.h.

#define flush_cache_all (   void)    do { } while (0)

Definition at line 46 of file cacheflush.h.

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

Definition at line 48 of file cacheflush.h.

#define flush_cache_mm (   mm)    do { } while (0)

Definition at line 47 of file cacheflush.h.

#define flush_cache_page (   vma,
  vmaddr,
  pfn 
)    do { } while (0)

Definition at line 50 of file cacheflush.h.

#define flush_cache_range (   vma,
  start,
  end 
)    do { } while (0)

Definition at line 49 of file cacheflush.h.

#define flush_cache_sigtramp (   addr)    do { } while (0)

Definition at line 58 of file cacheflush.h.

#define flush_cache_vmap (   start,
  end 
)    do { } while (0)

Definition at line 61 of file cacheflush.h.

#define flush_cache_vunmap (   start,
  end 
)    do { } while (0)

Definition at line 62 of file cacheflush.h.

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

Definition at line 53 of file cacheflush.h.

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

Definition at line 54 of file cacheflush.h.

#define flush_dcache_page (   page)    do { } while (0)

Definition at line 52 of file cacheflush.h.

#define flush_icache_page (   vma,
  pg 
)    do { } while (0)

Definition at line 56 of file cacheflush.h.

#define flush_icache_range (   start,
  end 
)    do { } while (0)

Definition at line 55 of file cacheflush.h.

#define flush_icache_user_range (   vma,
  pg,
  adr,
  len 
)    do { } while (0)

Definition at line 57 of file cacheflush.h.

Function Documentation

void _flush_cache_all ( void  )

Definition at line 47 of file cache.c.

void _flush_cache_copyback_all ( void  )

Definition at line 69 of file cache.c.