Home
last modified time | relevance | path

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

/linux-6.12.1/net/bpf/
Dbpf_dummy_struct_ops.c174 bpf_link_init(&link->link, BPF_LINK_TYPE_STRUCT_OPS, &bpf_struct_ops_link_lops, prog); in bpf_struct_ops_test_run()
/linux-6.12.1/net/netfilter/
Dnf_bpf_link.c228 bpf_link_init(&link->link, BPF_LINK_TYPE_NETFILTER, &bpf_nf_link_lops, prog); in bpf_nf_link_attach()
/linux-6.12.1/kernel/bpf/
Dtcx.c304 bpf_link_init(&tcx->link, BPF_LINK_TYPE_TCX, &tcx_link_lops, prog); in tcx_link_init()
Dbpf_struct_ops.c715 bpf_link_init(&link->link, BPF_LINK_TYPE_STRUCT_OPS, in bpf_struct_ops_map_update_elem()
1227 bpf_link_init(&link->link, BPF_LINK_TYPE_STRUCT_OPS, &bpf_struct_ops_map_lops, NULL); in bpf_struct_ops_link_create()
Dnet_namespace.c503 bpf_link_init(&net_link->link, BPF_LINK_TYPE_NETNS, in netns_bpf_link_create()
Dbpf_iter.c557 bpf_link_init(&link->link, BPF_LINK_TYPE_ITER, &bpf_iter_link_lops, prog); in bpf_iter_link_attach()
Dtrampoline.c667 bpf_link_init(&shim_link->link.link, BPF_LINK_TYPE_UNSPEC, in cgroup_shim_alloc()
Dsyscall.c2936 void bpf_link_init(struct bpf_link *link, enum bpf_link_type type, in bpf_link_init() function
3347 bpf_link_init(&link->link.link, BPF_LINK_TYPE_TRACING, in bpf_tracing_prog_attach()
3762 bpf_link_init(&link->link, BPF_LINK_TYPE_PERF_EVENT, &bpf_perf_link_lops, prog); in bpf_perf_link_attach()
3838 bpf_link_init(&link->link, BPF_LINK_TYPE_RAW_TRACEPOINT, in bpf_raw_tp_link_attach()
Dcgroup.c1310 bpf_link_init(&link->link, BPF_LINK_TYPE_CGROUP, &bpf_cgroup_link_lops, in cgroup_bpf_link_attach()
/linux-6.12.1/drivers/net/
Dnetkit.c769 bpf_link_init(&nkl->link, BPF_LINK_TYPE_NETKIT, in netkit_link_init()
/linux-6.12.1/include/linux/
Dbpf.h2371 void bpf_link_init(struct bpf_link *link, enum bpf_link_type type,
2722 static inline void bpf_link_init(struct bpf_link *link, enum bpf_link_type type, in bpf_link_init() function
/linux-6.12.1/kernel/trace/
Dbpf_trace.c2996 bpf_link_init(&link->link, BPF_LINK_TYPE_KPROBE_MULTI, in bpf_kprobe_multi_link_attach()
3387 bpf_link_init(&link->link, BPF_LINK_TYPE_UPROBE_MULTI, in bpf_uprobe_multi_link_attach()
/linux-6.12.1/net/core/
Dsock_map.c1863 bpf_link_init(&sockmap_link->link, BPF_LINK_TYPE_SOCKMAP, &sock_map_link_ops, prog); in sock_map_link_create()
Ddev.c9771 bpf_link_init(&link->link, BPF_LINK_TYPE_XDP, &bpf_xdp_link_lops, prog); in bpf_xdp_link_attach()