Home
last modified time | relevance | path

Searched refs:bpf_copy_from_user (Results 1 – 14 of 14) sorted by relevance

/linux/tools/testing/selftests/bpf/progs/
H A Dlsm.c123 bpf_copy_from_user(args, sizeof(args), (void *)bprm->vma->vm_mm->arg_start); in BPF_PROG()
124 bpf_copy_from_user(args, sizeof(args), (void *)bprm->mm->arg_start); in BPF_PROG()
175 ret = bpf_copy_from_user(&buf, sizeof(buf), ptr); in BPF_PROG()
H A Dtest_ptr_untrusted.c14 bpf_copy_from_user(tp_name, sizeof(tp_name) - 1, in BPF_PROG()
H A Dtest_custom_sec_handlers.c58 bpf_copy_from_user(&whatever, sizeof(whatever), NULL); in xyz()
H A Dbpf_mod_race.c79 bpf_copy_from_user(&dst, 1, bpf_mod_race_config.fault_addr); in BPF_PROG()
H A Dread_vsyscall.c48 read_ret[6] = bpf_copy_from_user(buf, sizeof(buf), user_ptr); in do_copy_from_user()
H A Duprobe_multi.c40 bpf_copy_from_user(data, sizeof(data), user_ptr); in uprobe_multi_check()
H A Dverifier_const.c77 bpf_copy_from_user(p, len, val); in write_dyn()
H A Dtest_verify_pkcs7_sig.c61 ret = bpf_copy_from_user(data_val, sizeof(struct data), in BPF_PROG()
H A Dpreempt_lock.c107 __failure __msg("sleepable helper bpf_copy_from_user#")
113 bpf_copy_from_user(&data, sizeof(data), NULL); in preempt_sleepable_helper()
158 bpf_copy_from_user(&i, sizeof(i), NULL);
H A Dtest_attach_probe.c92 bpf_copy_from_user(data, sizeof(data), user_ptr); in verify_sleepable_user_copy()
H A Dmem_rdonly_untrusted.c143 bpf_copy_from_user(p, 0, (void *)42); in helper_param_not_ok()
H A Dirq.c196 __failure __msg("sleepable helper bpf_copy_from_user#") in irq_sleepable_helper()
203 bpf_copy_from_user(&data, sizeof(data), NULL); in irq_sleepable_helper()
459 bpf_copy_from_user(&i, sizeof(i), NULL);
H A Drcu_read_lock.c499 bpf_copy_from_user(&i, sizeof(i), NULL); in rcu_read_lock_sleepable_global_subprog_indirect()
/linux/kernel/bpf/
H A Dhelpers.c659 BPF_CALL_3(bpf_copy_from_user, void *, dst, u32, size, in BPF_CALL_3() argument
673 .func = bpf_copy_from_user,