Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
homecache.c File Reference
#include <linux/kernel.h>
#include <linux/mm.h>
#include <linux/spinlock.h>
#include <linux/list.h>
#include <linux/bootmem.h>
#include <linux/rmap.h>
#include <linux/pagemap.h>
#include <linux/mutex.h>
#include <linux/interrupt.h>
#include <linux/sysctl.h>
#include <linux/pagevec.h>
#include <linux/ptrace.h>
#include <linux/timex.h>
#include <linux/cache.h>
#include <linux/smp.h>
#include <linux/module.h>
#include <linux/hugetlb.h>
#include <asm/page.h>
#include <asm/sections.h>
#include <asm/tlbflush.h>
#include <asm/pgalloc.h>
#include <asm/homecache.h>
#include <arch/sim.h>
#include "migrate.h"

Go to the source code of this file.

Macros

#define noallocl2   0
 

Functions

void flush_remote (unsigned long cache_pfn, unsigned long cache_control, const struct cpumask *cache_cpumask_orig, HV_VirtAddr tlb_va, unsigned long tlb_length, unsigned long tlb_pgsize, const struct cpumask *tlb_cpumask_orig, HV_Remote_ASID *asids, int asidcount)
 
void homecache_finv_map_page (struct page *page, int home)
 
void homecache_finv_page (struct page *page)
 
void homecache_evict (const struct cpumask *mask)
 
pte_t pte_set_home (pte_t pte, int home)
 
 EXPORT_SYMBOL (pte_set_home)
 
int page_home (struct page *page)
 
 EXPORT_SYMBOL (page_home)
 
void homecache_change_page_home (struct page *page, int order, int home)
 
struct pagehomecache_alloc_pages (gfp_t gfp_mask, unsigned int order, int home)
 
 EXPORT_SYMBOL (homecache_alloc_pages)
 
struct pagehomecache_alloc_pages_node (int nid, gfp_t gfp_mask, unsigned int order, int home)
 
void __homecache_free_pages (struct page *page, unsigned int order)
 
 EXPORT_SYMBOL (__homecache_free_pages)
 
void homecache_free_pages (unsigned long addr, unsigned int order)
 
 EXPORT_SYMBOL (homecache_free_pages)
 

Macro Definition Documentation

#define noallocl2   0

Definition at line 63 of file homecache.c.

Function Documentation

void __homecache_free_pages ( struct page page,
unsigned int  order 
)

Definition at line 435 of file homecache.c.

EXPORT_SYMBOL ( pte_set_home  )
EXPORT_SYMBOL ( page_home  )
EXPORT_SYMBOL ( homecache_alloc_pages  )
EXPORT_SYMBOL ( __homecache_free_pages  )
EXPORT_SYMBOL ( homecache_free_pages  )
void flush_remote ( unsigned long  cache_pfn,
unsigned long  cache_control,
const struct cpumask cache_cpumask_orig,
HV_VirtAddr  tlb_va,
unsigned long  tlb_length,
unsigned long  tlb_pgsize,
const struct cpumask tlb_cpumask_orig,
HV_Remote_ASID asids,
int  asidcount 
)

Definition at line 116 of file homecache.c.

struct page* homecache_alloc_pages ( gfp_t  gfp_mask,
unsigned int  order,
int  home 
)
read

Definition at line 412 of file homecache.c.

struct page* homecache_alloc_pages_node ( int  nid,
gfp_t  gfp_mask,
unsigned int  order,
int  home 
)
read

Definition at line 424 of file homecache.c.

void homecache_change_page_home ( struct page page,
int  order,
int  home 
)

Definition at line 391 of file homecache.c.

void homecache_evict ( const struct cpumask mask)

Definition at line 249 of file homecache.c.

void homecache_finv_map_page ( struct page page,
int  home 
)

Definition at line 185 of file homecache.c.

void homecache_finv_page ( struct page page)

Definition at line 244 of file homecache.c.

void homecache_free_pages ( unsigned long  addr,
unsigned int  order 
)

Definition at line 449 of file homecache.c.

int page_home ( struct page page)

Definition at line 380 of file homecache.c.

pte_t pte_set_home ( pte_t  pte,
int  home 
)

Definition at line 275 of file homecache.c.