Home
last modified time | relevance | path

Searched refs:__kernel_ok (Results 1 – 4 of 4) sorted by relevance

/linux-2.6.39/arch/unicore32/include/asm/
Duaccess.h27 #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/
Duaccess.h180 #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/
Duaccess.h52 #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/
Duaccess_32.h47 #define __kernel_ok (segment_eq(get_fs(), KERNEL_DS)) macro