#include <linux/compiler.h>
#include <asm/module.h>
Go to the source code of this file.
|
#define | get_user_page(vaddr) __get_free_page(GFP_KERNEL) |
|
#define | free_user_page(page, addr) free_page(addr) |
|
#define | clear_page(page) memset((page), 0, PAGE_SIZE) |
|
#define | copy_page(to, from) memcpy((to), (from), PAGE_SIZE) |
|
#define | clear_user_page(addr, vaddr, page) |
|
#define | copy_user_page(to, from, vaddr, page) |
|
#define | WANT_PAGE_VIRTUAL |
|
#define | __pa(vaddr) ___pa((void *)(long)(vaddr)) |
|
#define | virt_to_pfn(kaddr) (__pa(kaddr) >> PAGE_SHIFT) |
|
#define | pfn_to_virt(pfn) __va((pfn) << PAGE_SHIFT) |
|
#define | __virt_to_node(addr) (pg_data_table[(unsigned long)(addr) >> __virt_to_node_shift()]) |
|
#define | virt_to_page(addr) |
|
#define | page_to_virt(page) |
|
#define | pfn_to_page(pfn) |
|
#define | page_to_pfn(_page) |
|
#define | virt_addr_valid(kaddr) ((void *)(kaddr) >= (void *)PAGE_OFFSET && (void *)(kaddr) < high_memory) |
|
#define | pfn_valid(pfn) virt_addr_valid(pfn_to_virt(pfn)) |
|
#define | VM_DATA_DEFAULT_FLAGS |
|
Value:
flush_dcache_page(
page); \
} while (0)
Definition at line 58 of file page_mm.h.
Value:
flush_dcache_page(
page); \
} while (0)
Definition at line 62 of file page_mm.h.
#define page_to_pfn |
( |
|
_page | ) |
|
Value:({ \
const
struct page *__p = (_page);
\
})
Definition at line 164 of file page_mm.h.
#define page_to_virt |
( |
|
page | ) |
|
#define pfn_to_page |
( |
|
pfn | ) |
|
Value:({ \
unsigned
long __pfn = (pfn);
\
pgdat->node_mem_map + (__pfn - pgdat->node_start_pfn); \
})
Definition at line 158 of file page_mm.h.
#define virt_to_page |
( |
|
addr | ) |
|
#define VM_DATA_DEFAULT_FLAGS |
Value:(VM_READ | VM_WRITE | VM_EXEC | \
VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC)
Definition at line 176 of file page_mm.h.
#define WANT_PAGE_VIRTUAL |
unsigned long m68k_memoffset |
int m68k_virt_to_node_shift |