Searched refs:link_primer (Results 1 – 10 of 10) sorted by relevance
/openbmc/linux/kernel/bpf/ |
H A D | tcx.c | 299 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 D | net_namespace.c | 480 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 D | bpf_struct_ops.c | 868 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 D | bpf_iter.c | 511 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 D | syscall.c | 3171 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 D | cgroup.c | 1293 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 D | nf_bpf_link.c | 213 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 D | hid_bpf_jmp_table.c | 400 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 D | bpf_trace.c | 2885 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 D | dev.c | 9525 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()
|