Home
last modified time | relevance | path

Searched refs:bpf_copy_from_user_str (Results 1 – 3 of 3) sorted by relevance

/linux/tools/testing/selftests/bpf/progs/
H A Dtest_attach_probe.c26 int bpf_copy_from_user_str(void *dst, u32, const void *, u64) __weak __ksym;
105 ret = bpf_copy_from_user_str(data_short, sizeof(data_short), user_ptr, 0); in verify_sleepable_user_copy_str()
110 ret = bpf_copy_from_user_str(data_short_pad, sizeof(data_short_pad), user_ptr, BPF_F_PAD_ZEROS); in verify_sleepable_user_copy_str()
116 ret = bpf_copy_from_user_str(data_long, dynamic_sz & sizeof(data_long), user_ptr, 0); in verify_sleepable_user_copy_str()
121 ret = bpf_copy_from_user_str(data_long, sizeof(data_long), user_ptr, 0); in verify_sleepable_user_copy_str()
126 ret = bpf_copy_from_user_str(data_long_pad, sizeof(data_long_pad), user_ptr, BPF_F_PAD_ZEROS); in verify_sleepable_user_copy_str()
131 …ret = bpf_copy_from_user_str(data_long_err, sizeof(data_long_err), (void *)data_long, BPF_F_PAD_ZE… in verify_sleepable_user_copy_str()
136 ret = bpf_copy_from_user_str(data_long, sizeof(data_long), user_ptr, 2); in verify_sleepable_user_copy_str()
H A Dread_vsyscall.c18 int bpf_copy_from_user_str(void *dst, u32, const void *, u64) __weak __ksym;
49 read_ret[8] = bpf_copy_from_user_str((char *)buf, sizeof(buf), user_ptr, 0); in do_copy_from_user()
/linux/kernel/bpf/
H A Dhelpers.c3034 __bpf_kfunc int bpf_copy_from_user_str(void *dst, u32 dst__sz, const void __user *unsafe_ptr__ign, … in bpf_copy_from_user_str() function
3147 BTF_ID_FLAGS(func, bpf_copy_from_user_str, KF_SLEEPABLE)