Home
last modified time | relevance | path

Searched refs:bpf_prog_run (Results 1 – 16 of 16) sorted by relevance

/linux/net/core/
H A Dptp_classifier.c102 return bpf_prog_run(ptp_insns, skb);
H A Ddev.c4639 ret = bpf_prog_run(prog, skb); in sch_handle_egress()
H A Dfilter.c132 * wrapper to bpf_prog_run. It returns 0 if the packet should
11761 action = bpf_prog_run(prog, &reuse_kern); in BPF_CALL_4()
/linux/Documentation/bpf/
H A Dindex.rst27 bpf_prog_run
/linux/kernel/bpf/
H A Dcgroup.c164 ctx, bpf_prog_run, 0, NULL); in __cgroup_bpf_run_lsm_current()
186 ctx, bpf_prog_run, 0, NULL); in bpf_cgroup_atype_find()
205 ctx, bpf_prog_run, 0, NULL); in bpf_cgroup_atype_get()
1867 return bpf_prog_run_array_cg(&cgrp->bpf, atype, sk, bpf_prog_run, 0, in BPF_CALL_1()
1918 ret = bpf_prog_run_array_cg(&cgrp->bpf, atype, &ctx, bpf_prog_run, in cgroup_dev_is_valid_access()
1950 return bpf_prog_run_array_cg(&cgrp->bpf, atype, sock_ops, bpf_prog_run,
1968 ret = bpf_prog_run_array_cg(&cgrp->bpf, atype, &ctx, bpf_prog_run, 0, in __cgroup_bpf_run_filter_sysctl()
2155 ret = bpf_prog_run_array_cg(&cgrp->bpf, atype, &ctx, bpf_prog_run, 0, in __cgroup_bpf_run_filter_getsockopt()
2250 &ctx, bpf_prog_run, 0, NULL); in __cgroup_bpf_run_filter_getsockopt_kern()
2359 &ctx, bpf_prog_run, retva in copy_sysctl_value()
[all...]
H A Dbpf_iter.c715 ret = bpf_prog_run(prog, ctx); in BPF_CALL_4()
722 ret = bpf_prog_run(prog, ctx);
H A Dsyscall.c6656 attr->test.retval = bpf_prog_run(prog, (void *) (long) attr->test.ctx_in); in syscall_prog_func_proto()
6657 __bpf_prog_exit_sleepable_recur(prog, 0 /* bpf_prog_run does runtime stats */, in syscall_prog_func_proto()
/linux/net/netfilter/
H A Dxt_bpf.c93 return bpf_prog_run(info->filter, skb); in bpf_mt()
/linux/include/linux/
H A Dfilter.h812 static __always_inline u32 bpf_prog_run(const struct bpf_prog *prog, const void *ctx) in is_stack_arg_ldx()
831 ret = bpf_prog_run(prog, ctx);
1023 res = bpf_prog_run(prog, skb);
1085 res = bpf_prog_run(prog, skb); in bpf_prog_run_clear_cb()
1887 act = BPF_PROG_SK_LOOKUP_RUN_ARRAY(run_array, ctx, bpf_prog_run); in __bpf_xdp_redirect_map()
1926 act = BPF_PROG_SK_LOOKUP_RUN_ARRAY(run_array, ctx, bpf_prog_run); in __bpf_xdp_load_bytes()
784 static __always_inline u32 bpf_prog_run(const struct bpf_prog *prog, const void *ctx) bpf_prog_run() function
/linux/drivers/media/rc/
H A Dbpf-lirc.c222 &raw->bpf_sample, bpf_prog_run); in lirc_bpf_run()
/linux/net/bpf/
H A Dtest_run.c422 *retval = bpf_prog_run(prog, ctx); in bpf_test_run()
767 info->retval = bpf_prog_run(info->prog, info->ctx); in __bpf_prog_test_run_raw_tp()
1657 retval = BPF_PROG_SK_LOOKUP_RUN_ARRAY(progs, ctx, bpf_prog_run); in bpf_prog_test_run_sk_lookup()
/linux/kernel/trace/
H A Dbpf_trace.c148 ctx, bpf_prog_run); in trace_call_bpf()
182 return bpf_prog_run_array_sleepable(prog_array, ctx, bpf_prog_run); in trace_call_bpf_faultable()
2130 (void)bpf_prog_run(prog, args); in __bpf_trace_run()
2629 * to use migrate_disable for bpf_prog_run again. The check here just for in kprobe_multi_link_prog_run()
2643 err = bpf_prog_run(link->link.prog, regs); in kprobe_multi_link_handler()
3171 err = bpf_prog_run(link->link.prog, regs); in uprobe_multi_link_filter()
H A Dtrace_uprobe.c1409 ret = bpf_prog_run_array_uprobe(array, regs, bpf_prog_run); in __uprobe_perf_func()
/linux/drivers/net/ppp/
H A Dppp_generic.c1795 bpf_prog_run(ppp->pass_filter, skb) == 0) { in ppp_prepare_tx_skb()
1805 bpf_prog_run(ppp->active_filter, skb) == 0)) in ppp_prepare_tx_skb()
2508 bpf_prog_run(ppp->pass_filter, skb) == 0) { in ppp_receive_nonmp_frame()
2517 bpf_prog_run(ppp->active_filter, skb) == 0)) in ppp_receive_nonmp_frame()
/linux/Documentation/networking/
H A Dfilter.rst437 bpf_prog_run(filter, ctx) transparently invokes eBPF interpreter or JITed
/linux/kernel/events/
H A Dcore.c10785 ret = bpf_prog_run(prog, &ctx); in bpf_overflow_handler()