Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
kmap.c File Reference
#include <linux/mm.h>
#include <linux/init.h>
#include <linux/mutex.h>
#include <linux/fs.h>
#include <linux/highmem.h>
#include <linux/module.h>
#include <asm/mmu_context.h>
#include <asm/cacheflush.h>

Go to the source code of this file.

Macros

#define kmap_get_fixmap_pte(vaddr)   pte_offset_kernel(pmd_offset(pud_offset(pgd_offset_k(vaddr), (vaddr)), (vaddr)), (vaddr))
 

Functions

void __init kmap_coherent_init (void)
 
voidkmap_coherent (struct page *page, unsigned long addr)
 
void kunmap_coherent (void *kvaddr)
 

Macro Definition Documentation

#define kmap_get_fixmap_pte (   vaddr)    pte_offset_kernel(pmd_offset(pud_offset(pgd_offset_k(vaddr), (vaddr)), (vaddr)), (vaddr))

Definition at line 18 of file kmap.c.

Function Documentation

void* kmap_coherent ( struct page page,
unsigned long  addr 
)

Definition at line 32 of file kmap.c.

void __init kmap_coherent_init ( void  )

Definition at line 23 of file kmap.c.

void kunmap_coherent ( void kvaddr)

Definition at line 53 of file kmap.c.