|
Linux Kernel
3.7.1
|
#include <linux/kernel.h>#include "gru.h"#include "grulib.h"#include "grutables.h"#include <asm/tsc.h>Go to the source code of this file.
Macros | |
| #define | GRU_OPERATION_TIMEOUT ((cycles_t) tsc_khz*10*1000) |
| #define | CLKS2NSEC(c) ((c) * 1000000 / tsc_khz) |
| #define | GET_MSEG_HANDLE_STATUS(h) (((*(unsigned long *)(h)) >> 16) & 3) |
Functions | |
| int | cch_allocate (struct gru_context_configuration_handle *cch) |
| int | cch_start (struct gru_context_configuration_handle *cch) |
| int | cch_interrupt (struct gru_context_configuration_handle *cch) |
| int | cch_deallocate (struct gru_context_configuration_handle *cch) |
| int | cch_interrupt_sync (struct gru_context_configuration_handle *cch) |
| int | tgh_invalidate (struct gru_tlb_global_handle *tgh, unsigned long vaddr, unsigned long vaddrmask, int asid, int pagesize, int global, int n, unsigned short ctxbitmap) |
| int | tfh_write_only (struct gru_tlb_fault_handle *tfh, unsigned long paddr, int gaa, unsigned long vaddr, int asid, int dirty, int pagesize) |
| void | tfh_write_restart (struct gru_tlb_fault_handle *tfh, unsigned long paddr, int gaa, unsigned long vaddr, int asid, int dirty, int pagesize) |
| void | tfh_restart (struct gru_tlb_fault_handle *tfh) |
| void | tfh_user_polling_mode (struct gru_tlb_fault_handle *tfh) |
| void | tfh_exception (struct gru_tlb_fault_handle *tfh) |
Variables | |
| struct mcs_op_statistic | mcs_op_statistics [mcsop_last] |
Definition at line 34 of file gruhandles.c.
Definition at line 38 of file gruhandles.c.
Definition at line 33 of file gruhandles.c.
| int cch_allocate | ( | struct gru_context_configuration_handle * | cch | ) |
Definition at line 97 of file gruhandles.c.
| int cch_deallocate | ( | struct gru_context_configuration_handle * | cch | ) |
Definition at line 127 of file gruhandles.c.
| int cch_interrupt | ( | struct gru_context_configuration_handle * | cch | ) |
Definition at line 120 of file gruhandles.c.
| int cch_interrupt_sync | ( | struct gru_context_configuration_handle * | cch | ) |
Definition at line 143 of file gruhandles.c.
| int cch_start | ( | struct gru_context_configuration_handle * | cch | ) |
Definition at line 113 of file gruhandles.c.
| void tfh_exception | ( | struct gru_tlb_fault_handle * | tfh | ) |
Definition at line 211 of file gruhandles.c.
| void tfh_restart | ( | struct gru_tlb_fault_handle * | tfh | ) |
Definition at line 199 of file gruhandles.c.
| void tfh_user_polling_mode | ( | struct gru_tlb_fault_handle * | tfh | ) |
Definition at line 205 of file gruhandles.c.
| int tfh_write_only | ( | struct gru_tlb_fault_handle * | tfh, |
| unsigned long | paddr, | ||
| int | gaa, | ||
| unsigned long | vaddr, | ||
| int | asid, | ||
| int | dirty, | ||
| int | pagesize | ||
| ) |
Definition at line 168 of file gruhandles.c.
| void tfh_write_restart | ( | struct gru_tlb_fault_handle * | tfh, |
| unsigned long | paddr, | ||
| int | gaa, | ||
| unsigned long | vaddr, | ||
| int | asid, | ||
| int | dirty, | ||
| int | pagesize | ||
| ) |
Definition at line 184 of file gruhandles.c.
| int tgh_invalidate | ( | struct gru_tlb_global_handle * | tgh, |
| unsigned long | vaddr, | ||
| unsigned long | vaddrmask, | ||
| int | asid, | ||
| int | pagesize, | ||
| int | global, | ||
| int | n, | ||
| unsigned short | ctxbitmap | ||
| ) |
Definition at line 151 of file gruhandles.c.
| struct mcs_op_statistic mcs_op_statistics[mcsop_last] |
Definition at line 40 of file gruhandles.c.
1.8.2