Lines Matching refs:unsafe_ptr
163 bpf_probe_read_user_common(void *dst, u32 size, const void __user *unsafe_ptr) in bpf_probe_read_user_common() argument
167 ret = copy_from_user_nofault(dst, unsafe_ptr, size); in bpf_probe_read_user_common()
174 const void __user *, unsafe_ptr) in BPF_CALL_3() argument
176 return bpf_probe_read_user_common(dst, size, unsafe_ptr); in BPF_CALL_3()
190 const void __user *unsafe_ptr) in bpf_probe_read_user_str_common() argument
204 ret = strncpy_from_user_nofault(dst, unsafe_ptr, size); in bpf_probe_read_user_str_common()
211 const void __user *, unsafe_ptr) in BPF_CALL_3() argument
213 return bpf_probe_read_user_str_common(dst, size, unsafe_ptr); in BPF_CALL_3()
226 bpf_probe_read_kernel_common(void *dst, u32 size, const void *unsafe_ptr) in bpf_probe_read_kernel_common() argument
230 ret = copy_from_kernel_nofault(dst, unsafe_ptr, size); in bpf_probe_read_kernel_common()
237 const void *, unsafe_ptr) in BPF_CALL_3() argument
239 return bpf_probe_read_kernel_common(dst, size, unsafe_ptr); in BPF_CALL_3()
252 bpf_probe_read_kernel_str_common(void *dst, u32 size, const void *unsafe_ptr) in bpf_probe_read_kernel_str_common() argument
265 ret = strncpy_from_kernel_nofault(dst, unsafe_ptr, size); in bpf_probe_read_kernel_str_common()
272 const void *, unsafe_ptr) in BPF_CALL_3() argument
274 return bpf_probe_read_kernel_str_common(dst, size, unsafe_ptr); in BPF_CALL_3()
288 const void *, unsafe_ptr) in BPF_CALL_3() argument
290 if ((unsigned long)unsafe_ptr < TASK_SIZE) { in BPF_CALL_3()
292 (__force void __user *)unsafe_ptr); in BPF_CALL_3()
294 return bpf_probe_read_kernel_common(dst, size, unsafe_ptr); in BPF_CALL_3()
307 const void *, unsafe_ptr) in BPF_CALL_3() argument
309 if ((unsigned long)unsafe_ptr < TASK_SIZE) { in BPF_CALL_3()
311 (__force void __user *)unsafe_ptr); in BPF_CALL_3()
313 return bpf_probe_read_kernel_str_common(dst, size, unsafe_ptr); in BPF_CALL_3()
326 BPF_CALL_3(bpf_probe_write_user, void __user *, unsafe_ptr, const void *, src, in BPF_CALL_3() argument
348 return copy_to_user_nofault(unsafe_ptr, src, size); in BPF_CALL_3()