Linux Kernel
3.7.1
|
#include <linux/module.h>
#include <linux/mm.h>
#include <linux/kernel.h>
#include <linux/string.h>
#include <linux/types.h>
#include <linux/init.h>
#include <linux/pagemap.h>
#include <linux/gfp.h>
#include <asm/setup.h>
#include <asm/segment.h>
#include <asm/page.h>
#include <asm/pgalloc.h>
#include <asm/traps.h>
#include <asm/machdep.h>
Go to the source code of this file.
Macros | |
#define | PD_PTABLE(page) ((ptable_desc *)&(virt_to_page(page)->lru)) |
#define | PD_PAGE(ptable) (list_entry(ptable, struct page, lru)) |
#define | PD_MARKBITS(dp) (*(unsigned char *)&PD_PAGE(dp)->index) |
#define | PTABLE_SIZE (PTRS_PER_PMD * sizeof(pmd_t)) |
Typedefs | |
typedef struct list_head | ptable_desc |
Functions | |
void __init | init_pointer_table (unsigned long ptable) |
pmd_t * | get_pointer_table (void) |
int | free_pointer_table (pmd_t *ptable) |
void | cache_clear (unsigned long paddr, int len) |
EXPORT_SYMBOL (cache_clear) | |
void | cache_push (unsigned long paddr, int len) |
EXPORT_SYMBOL (cache_push) | |
#define PD_PAGE | ( | ptable | ) | (list_entry(ptable, struct page, lru)) |
#define PD_PTABLE | ( | page | ) | ((ptable_desc *)&(virt_to_page(page)->lru)) |
#define PTABLE_SIZE (PTRS_PER_PMD * sizeof(pmd_t)) |
typedef struct list_head ptable_desc |
EXPORT_SYMBOL | ( | cache_clear | ) |
EXPORT_SYMBOL | ( | cache_push | ) |