Searched refs:uaccess_kernel (Results 1 – 25 of 28) sorted by relevance
12
144 if (uaccess_kernel()) { in raw_copy_from_user()164 if (uaccess_kernel()) { in raw_copy_to_user()192 if (uaccess_kernel()) { in __strncpy_from_user()213 if (uaccess_kernel()) { in __clear_user()238 if (uaccess_kernel()) in __strnlen_user()
11 (uaccess_kernel() ? ~0UL : TASK_SIZE)
40 #define __kernel_ok (uaccess_kernel())
53 if (uaccess_kernel()) in csum_partial_copy_from_user()85 if (uaccess_kernel()) in csum_and_copy_to_user()
717 if (!uaccess_kernel()) { \
91 return uaccess_kernel(); in eva_kernel_access()
41 #define __kernel_ok (uaccess_kernel())47 #define user_addr_max() (uaccess_kernel() ? ~0UL : TASK_SIZE)
21 #define __kernel_ok (uaccess_kernel())
26 if (uaccess_kernel()) in _access_ok()
46 uaccess_kernel()); in __access_ok()
93 if (uaccess_kernel()) { in __copy_to_user_memcpy()165 if (uaccess_kernel()) { in __clear_user_memset()
30 #define get_user_space() (uaccess_kernel() ? 0 : mfsp(3))
103 return filp->f_cred == current_cred() && !uaccess_kernel(); in ib_safe_file_access()
95 if (uaccess_kernel() && !uaddr) in futex_atomic_cmpxchg_inatomic()
45 #define user_addr_max() (uaccess_kernel() ? ~0UL : TASK_SIZE)
263 (uaccess_kernel() ? ~0UL : TASK_SIZE)
12 #define uaccess_kernel() segment_eq(get_fs(), KERNEL_DS) macro
1055 if (uaccess_kernel()) in emulate_load_store_insn()1074 if (uaccess_kernel()) in emulate_load_store_insn()1093 if (uaccess_kernel()) in emulate_load_store_insn()1161 if (uaccess_kernel()) in emulate_load_store_insn()1181 if (uaccess_kernel()) in emulate_load_store_insn()
180 uaccess_kernel() ? "kernel" : "user"); in __show_regs()
30 #define __kernel_ok (uaccess_kernel())
327 (uaccess_kernel() ? ~0UL : TASK_SIZE)
381 (uaccess_kernel() ? ~0UL : TASK_SIZE)
251 (uaccess_kernel() ? ~0UL : get_fs())
612 return uaccess_kernel(); in tomoyo_kernel_service()
134 if (unlikely(uaccess_kernel())) in BPF_CALL_3()