Searched refs:uaccess_kernel (Results 1 – 25 of 29) 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)
39 #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()
646 if (!uaccess_kernel()) { \
90 return uaccess_kernel(); in eva_kernel_access()
18 #define __kernel_ok (uaccess_kernel())
23 if (uaccess_kernel()) in _access_ok()
40 #define __kernel_ok (uaccess_kernel())46 #define user_addr_max() (uaccess_kernel() ? ~0UL : TASK_SIZE)
46 uaccess_kernel()); in __access_ok()
90 if (uaccess_kernel()) { in __copy_to_user_memcpy()163 if (uaccess_kernel()) { in __clear_user_memset()
16 #define get_user_space() (uaccess_kernel() ? 0 : mfsp(3))
105 return filp->f_cred == current_cred() && !uaccess_kernel(); in ib_safe_file_access()
95 if (uaccess_kernel() && !uaddr) in futex_atomic_cmpxchg_inatomic()
44 #define user_addr_max() (uaccess_kernel() ? ~0UL : TASK_SIZE)
262 (uaccess_kernel() ? ~0UL : TASK_SIZE)
1049 if (uaccess_kernel()) in emulate_load_store_insn()1068 if (uaccess_kernel()) in emulate_load_store_insn()1087 if (uaccess_kernel()) in emulate_load_store_insn()1155 if (uaccess_kernel()) in emulate_load_store_insn()1175 if (uaccess_kernel()) in emulate_load_store_insn()
9 #define uaccess_kernel() segment_eq(get_fs(), KERNEL_DS) macro
177 uaccess_kernel() ? "kernel" : "user"); in __show_regs()
27 #define __kernel_ok (uaccess_kernel())
328 (uaccess_kernel() ? ~0UL : TASK_SIZE)
381 (uaccess_kernel() ? ~0UL : TASK_SIZE)
283 (uaccess_kernel() ? ~0UL : get_fs())
185 if (unlikely(uaccess_kernel())) in BPF_CALL_3()650 if (unlikely(uaccess_kernel())) in BPF_CALL_1()
616 return uaccess_kernel(); in tomoyo_kernel_service()