Searched refs:bpf_link_init (Results 1 – 13 of 13) sorted by relevance
/linux-6.6.21/net/bpf/ |
D | bpf_dummy_struct_ops.c | 118 bpf_link_init(&link->link, BPF_LINK_TYPE_STRUCT_OPS, &bpf_struct_ops_link_lops, prog); in bpf_struct_ops_test_run()
|
/linux-6.6.21/net/netfilter/ |
D | nf_bpf_link.c | 225 bpf_link_init(&link->link, BPF_LINK_TYPE_NETFILTER, &bpf_nf_link_lops, prog); in bpf_nf_link_attach()
|
/linux-6.6.21/kernel/bpf/ |
D | bpf_struct_ops.c | 494 bpf_link_init(&link->link, BPF_LINK_TYPE_STRUCT_OPS, in bpf_struct_ops_map_update_elem() 889 bpf_link_init(&link->link, BPF_LINK_TYPE_STRUCT_OPS, &bpf_struct_ops_map_lops, NULL); in bpf_struct_ops_link_create()
|
D | tcx.c | 304 bpf_link_init(&tcx->link, BPF_LINK_TYPE_TCX, &tcx_link_lops, prog); in tcx_link_init()
|
D | net_namespace.c | 503 bpf_link_init(&net_link->link, BPF_LINK_TYPE_NETNS, in netns_bpf_link_create()
|
D | bpf_iter.c | 558 bpf_link_init(&link->link, BPF_LINK_TYPE_ITER, &bpf_iter_link_lops, prog); in bpf_iter_link_attach()
|
D | trampoline.c | 654 bpf_link_init(&shim_link->link.link, BPF_LINK_TYPE_UNSPEC, in cgroup_shim_alloc()
|
D | syscall.c | 2827 void bpf_link_init(struct bpf_link *link, enum bpf_link_type type, in bpf_link_init() function 3182 bpf_link_init(&link->link.link, BPF_LINK_TYPE_TRACING, in bpf_tracing_prog_attach() 3581 bpf_link_init(&link->link, BPF_LINK_TYPE_PERF_EVENT, &bpf_perf_link_lops, prog); in bpf_perf_link_attach() 3657 bpf_link_init(&link->link, BPF_LINK_TYPE_RAW_TRACEPOINT, in bpf_raw_tp_link_attach()
|
D | cgroup.c | 1293 bpf_link_init(&link->link, BPF_LINK_TYPE_CGROUP, &bpf_cgroup_link_lops, in cgroup_bpf_link_attach()
|
/linux-6.6.21/drivers/hid/bpf/ |
D | hid_bpf_jmp_table.c | 413 bpf_link_init(&link->link, BPF_LINK_TYPE_UNSPEC, in __hid_bpf_attach_prog()
|
/linux-6.6.21/include/linux/ |
D | bpf.h | 2181 void bpf_link_init(struct bpf_link *link, enum bpf_link_type type, 2517 static inline void bpf_link_init(struct bpf_link *link, enum bpf_link_type type, in bpf_link_init() function
|
/linux-6.6.21/kernel/trace/ |
D | bpf_trace.c | 2960 bpf_link_init(&link->link, BPF_LINK_TYPE_KPROBE_MULTI, in bpf_kprobe_multi_link_attach() 3283 bpf_link_init(&link->link, BPF_LINK_TYPE_UPROBE_MULTI, in bpf_uprobe_multi_link_attach()
|
/linux-6.6.21/net/core/ |
D | dev.c | 9533 bpf_link_init(&link->link, BPF_LINK_TYPE_XDP, &bpf_xdp_link_lops, prog); in bpf_xdp_link_attach()
|