Searched refs:bpf_link_init (Results 1 – 14 of 14) sorted by relevance
/linux-6.12.1/net/bpf/ |
D | bpf_dummy_struct_ops.c | 174 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/ |
D | nf_bpf_link.c | 228 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/ |
D | tcx.c | 304 bpf_link_init(&tcx->link, BPF_LINK_TYPE_TCX, &tcx_link_lops, prog); in tcx_link_init()
|
D | bpf_struct_ops.c | 715 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()
|
D | net_namespace.c | 503 bpf_link_init(&net_link->link, BPF_LINK_TYPE_NETNS, in netns_bpf_link_create()
|
D | bpf_iter.c | 557 bpf_link_init(&link->link, BPF_LINK_TYPE_ITER, &bpf_iter_link_lops, prog); in bpf_iter_link_attach()
|
D | trampoline.c | 667 bpf_link_init(&shim_link->link.link, BPF_LINK_TYPE_UNSPEC, in cgroup_shim_alloc()
|
D | syscall.c | 2936 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()
|
D | cgroup.c | 1310 bpf_link_init(&link->link, BPF_LINK_TYPE_CGROUP, &bpf_cgroup_link_lops, in cgroup_bpf_link_attach()
|
/linux-6.12.1/drivers/net/ |
D | netkit.c | 769 bpf_link_init(&nkl->link, BPF_LINK_TYPE_NETKIT, in netkit_link_init()
|
/linux-6.12.1/include/linux/ |
D | bpf.h | 2371 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/ |
D | bpf_trace.c | 2996 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/ |
D | sock_map.c | 1863 bpf_link_init(&sockmap_link->link, BPF_LINK_TYPE_SOCKMAP, &sock_map_link_ops, prog); in sock_map_link_create()
|
D | dev.c | 9771 bpf_link_init(&link->link, BPF_LINK_TYPE_XDP, &bpf_xdp_link_lops, prog); in bpf_xdp_link_attach()
|