|
#define | KERNEL_DS ((mm_segment_t) { ~0UL }) /* cf. access_ok() */ |
|
#define | USER_DS ((mm_segment_t) { TASK_SIZE-1 }) /* cf. access_ok() */ |
|
#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 | __access_ok(addr, size, segment) |
|
#define | access_ok(type, addr, size) __access_ok((addr), (size), get_fs()) |
|
#define | put_user(x, ptr) __put_user_check((__typeof__(*(ptr))) (x), (ptr), sizeof(*(ptr)), get_fs()) |
|
#define | get_user(x, ptr) __get_user_check((x), (ptr), sizeof(*(ptr)), get_fs()) |
|
#define | __put_user(x, ptr) __put_user_nocheck((__typeof__(*(ptr))) (x), (ptr), sizeof(*(ptr))) |
|
#define | __get_user(x, ptr) __get_user_nocheck((x), (ptr), sizeof(*(ptr))) |
|
#define | __put_user_unaligned(x, ptr) |
|
#define | __get_user_unaligned(x, ptr) |
|
#define | RELOC_TYPE 2 /* ip-rel */ |
|
#define | __get_user_size(val, addr, n, err) |
|
#define | __put_user_size(val, addr, n, err) |
|
#define | __do_get_user(check, x, ptr, size, segment) |
|
#define | __get_user_nocheck(x, ptr, size) __do_get_user(0, x, ptr, size, KERNEL_DS) |
|
#define | __get_user_check(x, ptr, size, segment) __do_get_user(1, x, ptr, size, segment) |
|
#define | __do_put_user(check, x, ptr, size, segment) |
|
#define | __put_user_nocheck(x, ptr, size) __do_put_user(0, x, ptr, size, KERNEL_DS) |
|
#define | __put_user_check(x, ptr, size, segment) __do_put_user(1, x, ptr, size, segment) |
|
#define | __copy_to_user_inatomic __copy_to_user |
|
#define | __copy_from_user_inatomic __copy_from_user |
|
#define | copy_to_user(to, from, n) |
|
#define | copy_from_user(to, from, n) |
|
#define | __copy_in_user(to, from, size) __copy_user((to), (from), (size)) |
|
#define | __clear_user(to, n) __do_clear_user(to, n) |
|
#define | clear_user(to, n) |
|
#define | strncpy_from_user(to, from, n) |
|
#define | strlen_user(str) |
|
#define | strnlen_user(str, len) |
|
#define | ARCH_HAS_SORT_EXTABLE |
|
#define | ARCH_HAS_SEARCH_EXTABLE |
|
#define | ARCH_HAS_TRANSLATE_MEM_PTR 1 |
|