|
#define | KERNEL_DS ((mm_segment_t) { 0UL }) |
|
#define | USER_DS ((mm_segment_t) { __UA_LIMIT }) |
|
#define | VERIFY_READ 0 |
|
#define | VERIFY_WRITE 1 |
|
#define | get_ds() (KERNEL_DS) |
|
#define | get_fs() (current_thread_info()->addr_limit) |
|
#define | set_fs(x) (current_thread_info()->addr_limit = (x)) |
|
#define | segment_eq(a, b) ((a).seg == (b).seg) |
|
#define | __ua_size(size) ((__builtin_constant_p(size) && (signed long) (size) > 0) ? 0 : (size)) |
|
#define | __access_mask get_fs().seg |
|
#define | __access_ok(addr, size, mask) |
|
#define | access_ok(type, addr, size) likely(__access_ok((addr), (size), __access_mask)) |
|
#define | put_user(x, ptr) __put_user_check((x), (ptr), sizeof(*(ptr))) |
|
#define | get_user(x, ptr) __get_user_check((x), (ptr), sizeof(*(ptr))) |
|
#define | __put_user(x, ptr) __put_user_nocheck((x), (ptr), sizeof(*(ptr))) |
|
#define | __get_user(x, ptr) __get_user_nocheck((x), (ptr), sizeof(*(ptr))) |
|
#define | __m(x) (*(struct __large_struct __user *)(x)) |
|
#define | __get_user_common(val, size, ptr) |
|
#define | __get_user_nocheck(x, ptr, size) |
|
#define | __get_user_check(x, ptr, size) |
|
#define | __get_user_asm(val, insn, addr) |
|
#define | __get_user_asm_ll32(val, addr) |
|
#define | __put_user_nocheck(x, ptr, size) |
|
#define | __put_user_check(x, ptr, size) |
|
#define | __put_user_asm(insn, ptr) |
|
#define | __put_user_asm_ll32(ptr) |
|
#define | put_user_unaligned(x, ptr) __put_user_unaligned_check((x),(ptr),sizeof(*(ptr))) |
|
#define | get_user_unaligned(x, ptr) __get_user_unaligned_check((x),(ptr),sizeof(*(ptr))) |
|
#define | __put_user_unaligned(x, ptr) __put_user_unaligned_nocheck((x),(ptr),sizeof(*(ptr))) |
|
#define | __get_user_unaligned(x, ptr) __get_user__unalignednocheck((x),(ptr),sizeof(*(ptr))) |
|
#define | __get_user_unaligned_common(val, size, ptr) |
|
#define | __get_user_unaligned_nocheck(x, ptr, size) |
|
#define | __get_user_unaligned_check(x, ptr, size) |
|
#define | __get_user_unaligned_asm(val, insn, addr) |
|
#define | __get_user_unaligned_asm_ll32(val, addr) |
|
#define | __put_user_unaligned_nocheck(x, ptr, size) |
|
#define | __put_user_unaligned_check(x, ptr, size) |
|
#define | __put_user_unaligned_asm(insn, ptr) |
|
#define | __put_user_unaligned_asm_ll32(ptr) |
|
#define | __MODULE_JAL(destination) "jal\t" #destination "\n\t" |
|
#define | DADDI_SCRATCH "$0" |
|
#define | __invoke_copy_to_user(to, from, n) |
|
#define | __copy_to_user(to, from, n) |
|
#define | __copy_to_user_inatomic(to, from, n) |
|
#define | __copy_from_user_inatomic(to, from, n) |
|
#define | copy_to_user(to, from, n) |
|
#define | __invoke_copy_from_user(to, from, n) |
|
#define | __invoke_copy_from_user_inatomic(to, from, n) |
|
#define | __copy_from_user(to, from, n) |
|
#define | copy_from_user(to, from, n) |
|
#define | __copy_in_user(to, from, n) |
|
#define | copy_in_user(to, from, n) |
|
#define | clear_user(addr, n) |
|