Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
uaccess.c File Reference
#include <linux/err.h>
#include <linux/highmem.h>
#include <linux/mm.h>
#include <linux/module.h>
#include <linux/sched.h>
#include <asm/current.h>
#include <asm/page.h>
#include <asm/pgtable.h>
#include <kern_util.h>
#include <os.h>

Go to the source code of this file.

Functions

pte_tvirt_to_pte (struct mm_struct *mm, unsigned long addr)
 
int copy_from_user (void *to, const void __user *from, int n)
 
 EXPORT_SYMBOL (copy_from_user)
 
int copy_to_user (void __user *to, const void *from, int n)
 
 EXPORT_SYMBOL (copy_to_user)
 
int strncpy_from_user (char *dst, const char __user *src, int count)
 
 EXPORT_SYMBOL (strncpy_from_user)
 
int __clear_user (void __user *mem, int len)
 
int clear_user (void __user *mem, int len)
 
 EXPORT_SYMBOL (clear_user)
 
int strnlen_user (const void __user *str, int len)
 
 EXPORT_SYMBOL (strnlen_user)
 

Function Documentation

int __clear_user ( void __user mem,
int  len 
)

Definition at line 218 of file uaccess.c.

int clear_user ( void __user mem,
int  len 
)

Definition at line 223 of file uaccess.c.

int copy_from_user ( void to,
const void __user from,
int  n 
)

Definition at line 142 of file uaccess.c.

int copy_to_user ( void __user to,
const void from,
int  n 
)

Definition at line 164 of file uaccess.c.

EXPORT_SYMBOL ( copy_from_user  )
EXPORT_SYMBOL ( copy_to_user  )
EXPORT_SYMBOL ( strncpy_from_user  )
EXPORT_SYMBOL ( clear_user  )
EXPORT_SYMBOL ( strnlen_user  )
int strncpy_from_user ( char dst,
const char __user src,
int  count 
)

Definition at line 191 of file uaccess.c.

int strnlen_user ( const void __user str,
int  len 
)

Definition at line 247 of file uaccess.c.

pte_t* virt_to_pte ( struct mm_struct mm,
unsigned long  addr 
)

Definition at line 17 of file uaccess.c.