Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
tlb.h File Reference
#include <linux/mm.h>
#include <linux/pagemap.h>
#include <linux/swap.h>
#include <asm/pgalloc.h>
#include <asm/processor.h>
#include <asm/tlbflush.h>
#include <asm/machvec.h>

Go to the source code of this file.

Data Structures

struct  mmu_gather
 
struct  ia64_tr_entry
 

Macros

#define tlb_fast_mode(tlb)   (1)
 
#define IA64_GATHER_BUNDLE   8
 
#define RR_TO_VE(val)   (((val) >> 0) & 0x0000000000000001)
 
#define RR_VE(val)   (((val) & 0x0000000000000001) << 0)
 
#define RR_VE_MASK   0x0000000000000001L
 
#define RR_VE_SHIFT   0
 
#define RR_TO_PS(val)   (((val) >> 2) & 0x000000000000003f)
 
#define RR_PS(val)   (((val) & 0x000000000000003f) << 2)
 
#define RR_PS_MASK   0x00000000000000fcL
 
#define RR_PS_SHIFT   2
 
#define RR_RID_MASK   0x00000000ffffff00L
 
#define RR_TO_RID(val)   ((val >> 8) & 0xffffff)
 
#define tlb_migrate_finish(mm)   platform_tlb_migrate_finish(mm)
 
#define tlb_start_vma(tlb, vma)   do { } while (0)
 
#define tlb_end_vma(tlb, vma)   do { } while (0)
 
#define tlb_remove_tlb_entry(tlb, ptep, addr)
 
#define pte_free_tlb(tlb, ptep, address)
 
#define pmd_free_tlb(tlb, ptep, address)
 
#define pud_free_tlb(tlb, pudp, address)
 

Functions

int ia64_itr_entry (u64 target_mask, u64 va, u64 pte, u64 log_size)
 
void ia64_ptr_entry (u64 target_mask, int slot)
 

Variables

struct ia64_tr_entryia64_idtrs [NR_CPUS]
 

Macro Definition Documentation

#define IA64_GATHER_BUNDLE   8

Definition at line 59 of file tlb.h.

#define pmd_free_tlb (   tlb,
  ptep,
  address 
)
Value:
do { \
tlb->need_flush = 1; \
__pmd_free_tlb(tlb, ptep, address); \
} while (0)

Definition at line 271 of file tlb.h.

#define pte_free_tlb (   tlb,
  ptep,
  address 
)
Value:
do { \
tlb->need_flush = 1; \
__pte_free_tlb(tlb, ptep, address); \
} while (0)

Definition at line 265 of file tlb.h.

#define pud_free_tlb (   tlb,
  pudp,
  address 
)
Value:
do { \
tlb->need_flush = 1; \
__pud_free_tlb(tlb, pudp, address); \
} while (0)

Definition at line 277 of file tlb.h.

#define RR_PS (   val)    (((val) & 0x000000000000003f) << 2)

Definition at line 93 of file tlb.h.

#define RR_PS_MASK   0x00000000000000fcL

Definition at line 94 of file tlb.h.

#define RR_PS_SHIFT   2

Definition at line 95 of file tlb.h.

#define RR_RID_MASK   0x00000000ffffff00L

Definition at line 96 of file tlb.h.

#define RR_TO_PS (   val)    (((val) >> 2) & 0x000000000000003f)

Definition at line 92 of file tlb.h.

#define RR_TO_RID (   val)    ((val >> 8) & 0xffffff)

Definition at line 97 of file tlb.h.

#define RR_TO_VE (   val)    (((val) >> 0) & 0x0000000000000001)

Definition at line 88 of file tlb.h.

#define RR_VE (   val)    (((val) & 0x0000000000000001) << 0)

Definition at line 89 of file tlb.h.

#define RR_VE_MASK   0x0000000000000001L

Definition at line 90 of file tlb.h.

#define RR_VE_SHIFT   0

Definition at line 91 of file tlb.h.

#define tlb_end_vma (   tlb,
  vma 
)    do { } while (0)

Definition at line 257 of file tlb.h.

#define tlb_fast_mode (   tlb)    (1)

Definition at line 52 of file tlb.h.

#define tlb_migrate_finish (   mm)    platform_tlb_migrate_finish(mm)

Definition at line 254 of file tlb.h.

#define tlb_remove_tlb_entry (   tlb,
  ptep,
  addr 
)
Value:
do { \
tlb->need_flush = 1; \
__tlb_remove_tlb_entry(tlb, ptep, addr); \
} while (0)

Definition at line 259 of file tlb.h.

#define tlb_start_vma (   tlb,
  vma 
)    do { } while (0)

Definition at line 256 of file tlb.h.

Function Documentation

int ia64_itr_entry ( u64  target_mask,
u64  va,
u64  pte,
u64  log_size 
)

Definition at line 426 of file tlb.c.

void ia64_ptr_entry ( u64  target_mask,
int  slot 
)

Definition at line 528 of file tlb.c.

Variable Documentation

Definition at line 52 of file tlb.c.