Searched refs:__kernel_ok (Results 1 – 4 of 4) sorted by relevance
/linux-2.6.39/arch/unicore32/include/asm/ |
D | uaccess.h | 27 #define __kernel_ok (segment_eq(get_fs(), KERNEL_DS)) macro 30 #define __access_ok(addr, size) (__kernel_ok || __user_ok((addr), (size)))
|
/linux-2.6.39/arch/xtensa/include/asm/ |
D | uaccess.h | 180 #define __kernel_ok (segment_eq(get_fs(), KERNEL_DS)) macro 182 #define __access_ok(addr,size) (__kernel_ok || __user_ok((addr),(size))) 475 unsigned long top = __kernel_ok ? ~0UL : TASK_SIZE - 1; in strnlen_user()
|
/linux-2.6.39/arch/cris/include/asm/ |
D | uaccess.h | 52 #define __kernel_ok (segment_eq(get_fs(), KERNEL_DS)) macro 54 #define __access_ok(addr,size) (__kernel_ok || __user_ok((addr),(size)))
|
/linux-2.6.39/arch/sparc/include/asm/ |
D | uaccess_32.h | 47 #define __kernel_ok (segment_eq(get_fs(), KERNEL_DS)) macro
|