Linux Kernel
3.7.1
|
#include <linux/mm.h>
#include <linux/highmem.h>
#include <linux/blkdev.h>
#include <linux/module.h>
#include <linux/backing-dev.h>
#include <linux/interrupt.h>
#include <asm/uaccess.h>
#include <asm/mmx.h>
#include <asm/asm.h>
Go to the source code of this file.
Macros | |
#define | movsl_is_ok(a1, a2, n) __movsl_is_ok((unsigned long)(a1), (unsigned long)(a2), (n)) |
#define | __do_clear_user(addr, size) |
#define | __copy_user(to, from, size) |
#define | __copy_user_zeroing(to, from, size) |
Definition at line 498 of file usercopy_32.c.
Definition at line 531 of file usercopy_32.c.
Definition at line 40 of file usercopy_32.c.
Definition at line 33 of file usercopy_32.c.
__clear_user: - Zero a block of memory in user space, with less checking. : Destination address, in user space.
: Number of bytes to zero.
Zero a block of memory in user space. Caller must check the specified block with access_ok() before calling this function.
Returns number of bytes that could not be cleared. On success, this will be zero.
Definition at line 92 of file usercopy_32.c.
Definition at line 640 of file usercopy_32.c.
Definition at line 667 of file usercopy_32.c.
unsigned long __copy_from_user_ll_nocache_nozero | ( | void * | to, |
const void __user * | from, | ||
unsigned long | n | ||
) |
Definition at line 684 of file usercopy_32.c.
Definition at line 653 of file usercopy_32.c.
Definition at line 570 of file usercopy_32.c.
unsigned long __copy_user_zeroing_intel_nocache | ( | void * | to, |
const void __user * | from, | ||
unsigned long | size | ||
) |
copy_from_user: - Copy a block of data from user space. : Destination address, in kernel space. : Source address, in user space.
: Number of bytes to copy.
Context: User context only. This function may sleep.
Copy data from user space to kernel space.
Returns number of bytes that could not be copied. On success, this will be zero.
If some data could not be copied, this function will pad the copied data to the requested size using zero bytes.
Definition at line 740 of file usercopy_32.c.
clear_user: - Zero a block of memory in user space. : Destination address, in user space.
: Number of bytes to zero.
Zero a block of memory in user space.
Returns number of bytes that could not be cleared. On success, this will be zero.
Definition at line 71 of file usercopy_32.c.
Definition at line 750 of file usercopy_32.c.
copy_to_user: - Copy a block of data into user space. : Destination address, in user space. : Source address, in kernel space.
: Number of bytes to copy.
Context: User context only. This function may sleep.
Copy data from kernel space to user space.
Returns number of bytes that could not be copied. On success, this will be zero.
Definition at line 715 of file usercopy_32.c.
EXPORT_SYMBOL | ( | clear_user | ) |
EXPORT_SYMBOL | ( | __clear_user | ) |
EXPORT_SYMBOL | ( | __copy_to_user_ll | ) |
EXPORT_SYMBOL | ( | __copy_from_user_ll | ) |
EXPORT_SYMBOL | ( | __copy_from_user_ll_nozero | ) |
EXPORT_SYMBOL | ( | __copy_from_user_ll_nocache | ) |
EXPORT_SYMBOL | ( | __copy_from_user_ll_nocache_nozero | ) |
EXPORT_SYMBOL | ( | copy_to_user | ) |
EXPORT_SYMBOL | ( | _copy_from_user | ) |
EXPORT_SYMBOL | ( | copy_from_user_overflow | ) |