Home
last modified time | relevance | path

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

/linux-6.6.21/net/bpf/
Dbpf_dummy_struct_ops.c118 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/
Dnf_bpf_link.c225 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/
Dbpf_struct_ops.c494 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()
Dtcx.c304 bpf_link_init(&tcx->link, BPF_LINK_TYPE_TCX, &tcx_link_lops, prog); in tcx_link_init()
Dnet_namespace.c503 bpf_link_init(&net_link->link, BPF_LINK_TYPE_NETNS, in netns_bpf_link_create()
Dbpf_iter.c558 bpf_link_init(&link->link, BPF_LINK_TYPE_ITER, &bpf_iter_link_lops, prog); in bpf_iter_link_attach()
Dtrampoline.c654 bpf_link_init(&shim_link->link.link, BPF_LINK_TYPE_UNSPEC, in cgroup_shim_alloc()
Dsyscall.c2827 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()
Dcgroup.c1293 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/
Dhid_bpf_jmp_table.c413 bpf_link_init(&link->link, BPF_LINK_TYPE_UNSPEC, in __hid_bpf_attach_prog()
/linux-6.6.21/include/linux/
Dbpf.h2181 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/
Dbpf_trace.c2960 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/
Ddev.c9533 bpf_link_init(&link->link, BPF_LINK_TYPE_XDP, &bpf_xdp_link_lops, prog); in bpf_xdp_link_attach()