Home
last modified time | relevance | path

Searched refs:link_primer (Results 1 – 10 of 10) sorted by relevance

/openbmc/linux/kernel/bpf/
H A Dtcx.c299 struct bpf_link_primer *link_primer, in tcx_link_init() argument
307 return bpf_link_prime(&tcx->link, link_primer); in tcx_link_init()
313 struct bpf_link_primer link_primer; in tcx_link_attach() local
329 ret = tcx_link_init(tcx, &link_primer, attr, dev, prog); in tcx_link_attach()
339 bpf_link_cleanup(&link_primer); in tcx_link_attach()
342 ret = bpf_link_settle(&link_primer); in tcx_link_attach()
H A Dnet_namespace.c480 struct bpf_link_primer link_primer; in netns_bpf_link_create() local
509 err = bpf_link_prime(&net_link->link, &link_primer); in netns_bpf_link_create()
517 bpf_link_cleanup(&link_primer); in netns_bpf_link_create()
522 return bpf_link_settle(&link_primer); in netns_bpf_link_create()
H A Dbpf_struct_ops.c868 struct bpf_link_primer link_primer; in bpf_struct_ops_link_create() local
891 err = bpf_link_prime(&link->link, &link_primer); in bpf_struct_ops_link_create()
897 bpf_link_cleanup(&link_primer); in bpf_struct_ops_link_create()
903 return bpf_link_settle(&link_primer); in bpf_struct_ops_link_create()
H A Dbpf_iter.c511 struct bpf_link_primer link_primer; in bpf_iter_link_attach() local
561 err = bpf_link_prime(&link->link, &link_primer); in bpf_iter_link_attach()
570 bpf_link_cleanup(&link_primer); in bpf_iter_link_attach()
575 return bpf_link_settle(&link_primer); in bpf_iter_link_attach()
H A Dsyscall.c3171 struct bpf_link_primer link_primer; in bpf_tracing_prog_attach() local
3316 err = bpf_link_prime(&link->link.link, &link_primer); in bpf_tracing_prog_attach()
3322 bpf_link_cleanup(&link_primer); in bpf_tracing_prog_attach()
3346 return bpf_link_settle(&link_primer); in bpf_tracing_prog_attach()
3633 struct bpf_link_primer link_primer; in bpf_perf_link_attach() local
3654 err = bpf_link_prime(&link->link, &link_primer); in bpf_perf_link_attach()
3663 bpf_link_cleanup(&link_primer); in bpf_perf_link_attach()
3669 return bpf_link_settle(&link_primer); in bpf_perf_link_attach()
3685 struct bpf_link_primer link_primer; in bpf_raw_tp_link_attach() local
3731 err = bpf_link_prime(&link->link, &link_primer); in bpf_raw_tp_link_attach()
[all …]
H A Dcgroup.c1293 struct bpf_link_primer link_primer; in cgroup_bpf_link_attach() local
1315 err = bpf_link_prime(&link->link, &link_primer); in cgroup_bpf_link_attach()
1324 bpf_link_cleanup(&link_primer); in cgroup_bpf_link_attach()
1328 return bpf_link_settle(&link_primer); in cgroup_bpf_link_attach()
/openbmc/linux/net/netfilter/
H A Dnf_bpf_link.c213 struct bpf_link_primer link_primer; in bpf_nf_link_attach() local
242 err = bpf_link_prime(&link->link, &link_primer); in bpf_nf_link_attach()
251 bpf_link_cleanup(&link_primer); in bpf_nf_link_attach()
259 bpf_link_cleanup(&link_primer); in bpf_nf_link_attach()
265 return bpf_link_settle(&link_primer); in bpf_nf_link_attach()
/openbmc/linux/drivers/hid/bpf/
H A Dhid_bpf_jmp_table.c400 struct bpf_link_primer link_primer; in __hid_bpf_attach_prog() local
460 err = bpf_link_prime(&link->link, &link_primer); in __hid_bpf_attach_prog()
466 return bpf_link_settle(&link_primer); in __hid_bpf_attach_prog()
/openbmc/linux/kernel/trace/
H A Dbpf_trace.c2885 struct bpf_link_primer link_primer; in bpf_kprobe_multi_link_attach() local
2975 err = bpf_link_prime(&link->link, &link_primer); in bpf_kprobe_multi_link_attach()
3004 bpf_link_cleanup(&link_primer); in bpf_kprobe_multi_link_attach()
3012 bpf_link_cleanup(&link_primer); in bpf_kprobe_multi_link_attach()
3016 return bpf_link_settle(&link_primer); in bpf_kprobe_multi_link_attach()
3184 struct bpf_link_primer link_primer; in bpf_uprobe_multi_link_attach() local
3302 err = bpf_link_prime(&link->link, &link_primer); in bpf_uprobe_multi_link_attach()
3306 return bpf_link_settle(&link_primer); in bpf_uprobe_multi_link_attach()
/openbmc/linux/net/core/
H A Ddev.c9525 struct bpf_link_primer link_primer; in bpf_xdp_link_attach() local
9548 err = bpf_link_prime(&link->link, &link_primer); in bpf_xdp_link_attach()
9559 bpf_link_cleanup(&link_primer); in bpf_xdp_link_attach()
9564 fd = bpf_link_settle(&link_primer); in bpf_xdp_link_attach()