Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
grufault.c File Reference
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/spinlock.h>
#include <linux/mm.h>
#include <linux/hugetlb.h>
#include <linux/device.h>
#include <linux/io.h>
#include <linux/uaccess.h>
#include <linux/security.h>
#include <linux/prefetch.h>
#include <asm/pgtable.h>
#include "gru.h"
#include "grutables.h"
#include "grulib.h"
#include "gru_instructions.h"
#include <asm/uv/uv_hub.h>

Go to the source code of this file.

Macros

#define VTOP_SUCCESS   0
 
#define VTOP_INVALID   -1
 
#define VTOP_RETRY   -2
 

Functions

struct vm_area_structgru_find_vma (unsigned long vaddr)
 
irqreturn_t gru0_intr (int irq, void *dev_id)
 
irqreturn_t gru1_intr (int irq, void *dev_id)
 
irqreturn_t gru_intr_mblade (int irq, void *dev_id)
 
int gru_handle_user_call_os (unsigned long cb)
 
int gru_get_exception_detail (unsigned long arg)
 
int gru_user_unload_context (unsigned long arg)
 
int gru_user_flush_tlb (unsigned long arg)
 
long gru_get_gseg_statistics (unsigned long arg)
 
int gru_set_context_option (unsigned long arg)
 

Macro Definition Documentation

#define VTOP_INVALID   -1

Definition at line 46 of file grufault.c.

#define VTOP_RETRY   -2

Definition at line 47 of file grufault.c.

#define VTOP_SUCCESS   0

Definition at line 45 of file grufault.c.

Function Documentation

irqreturn_t gru0_intr ( int  irq,
void dev_id 
)

Definition at line 598 of file grufault.c.

irqreturn_t gru1_intr ( int  irq,
void dev_id 
)

Definition at line 603 of file grufault.c.

struct vm_area_struct* gru_find_vma ( unsigned long  vaddr)
read

Definition at line 61 of file grufault.c.

int gru_get_exception_detail ( unsigned long  arg)

Definition at line 695 of file grufault.c.

long gru_get_gseg_statistics ( unsigned long  arg)

Definition at line 827 of file grufault.c.

int gru_handle_user_call_os ( unsigned long  cb)

Definition at line 646 of file grufault.c.

irqreturn_t gru_intr_mblade ( int  irq,
void dev_id 
)

Definition at line 608 of file grufault.c.

int gru_set_context_option ( unsigned long  arg)

Definition at line 858 of file grufault.c.

int gru_user_flush_tlb ( unsigned long  arg)

Definition at line 800 of file grufault.c.

int gru_user_unload_context ( unsigned long  arg)

Definition at line 771 of file grufault.c.