Searched refs:bpf_program__attach_cgroup (Results 1 – 19 of 19) sorted by relevance
/Linux-v5.15/tools/testing/selftests/bpf/prog_tests/ |
D | cg_storage_multi.c | 103 parent_link = bpf_program__attach_cgroup(obj->progs.egress, in test_egress_only() 126 child_link = bpf_program__attach_cgroup(obj->progs.egress, in test_egress_only() 173 parent_egress1_link = bpf_program__attach_cgroup(obj->progs.egress1, in test_isolated() 177 parent_egress2_link = bpf_program__attach_cgroup(obj->progs.egress2, in test_isolated() 181 parent_ingress_link = bpf_program__attach_cgroup(obj->progs.ingress, in test_isolated() 215 child_egress1_link = bpf_program__attach_cgroup(obj->progs.egress1, in test_isolated() 219 child_egress2_link = bpf_program__attach_cgroup(obj->progs.egress2, in test_isolated() 223 child_ingress_link = bpf_program__attach_cgroup(obj->progs.ingress, in test_isolated() 286 parent_egress1_link = bpf_program__attach_cgroup(obj->progs.egress1, in test_shared() 290 parent_egress2_link = bpf_program__attach_cgroup(obj->progs.egress2, in test_shared() [all …]
|
D | udp_limit.c | 24 skel->links.sock = bpf_program__attach_cgroup(skel->progs.sock, cgroup_fd); in test_udp_limit() 27 skel->links.sock_release = bpf_program__attach_cgroup(skel->progs.sock_release, cgroup_fd); in test_udp_limit()
|
D | socket_cookie.c | 33 skel->links.set_cookie = bpf_program__attach_cgroup( in test_socket_cookie() 38 skel->links.update_cookie_sockops = bpf_program__attach_cgroup( in test_socket_cookie()
|
D | cgroup_link.c | 66 links[i] = bpf_program__attach_cgroup(skel->progs.egress, in test_cgroup_link() 121 links[last_cg] = bpf_program__attach_cgroup(skel->progs.egress, in test_cgroup_link() 146 tmp_link = bpf_program__attach_cgroup(skel->progs.egress, in test_cgroup_link() 164 links[last_cg] = bpf_program__attach_cgroup(skel->progs.egress, in test_cgroup_link()
|
D | bind_perm.c | 86 skel->links.bind_v4_prog = bpf_program__attach_cgroup(skel->progs.bind_v4_prog, cgroup_fd); in test_bind_perm() 90 skel->links.bind_v6_prog = bpf_program__attach_cgroup(skel->progs.bind_v6_prog, cgroup_fd); in test_bind_perm()
|
D | tcp_hdr_options.c | 355 link = bpf_program__attach_cgroup(skel->progs.estab, cg_fd); in fastopen_estab() 399 link = bpf_program__attach_cgroup(skel->progs.estab, cg_fd); in syncookie_estab() 431 link = bpf_program__attach_cgroup(skel->progs.estab, cg_fd); in fin() 470 link = bpf_program__attach_cgroup(skel->progs.estab, cg_fd); in __simple_estab() 507 link = bpf_program__attach_cgroup(misc_skel->progs.misc_estab, cg_fd); in misc()
|
D | sockopt_sk.c | 206 bpf_program__attach_cgroup(skel->progs._setsockopt, cgroup_fd); in run_test() 211 bpf_program__attach_cgroup(skel->progs._getsockopt, cgroup_fd); in run_test()
|
D | sockopt_qos_to_cc.c | 55 bpf_program__attach_cgroup(skel->progs.sockopt_qos_to_cc, in test_sockopt_qos_to_cc()
|
D | cgroup_v1v2.c | 23 bpf_program__attach_cgroup(skel->progs.connect_v4_dropper, in run_test()
|
D | netcnt.c | 37 skel->links.bpf_nextcnt = bpf_program__attach_cgroup(skel->progs.bpf_nextcnt, cg_fd); in test_netcnt()
|
D | cgroup_skb_sk_lookup.c | 62 link = bpf_program__attach_cgroup(skel->progs.ingress_lookup, cgfd); in run_cgroup_bpf_test()
|
D | netns_cookie.c | 30 skel->links.get_netns_cookie_sockops = bpf_program__attach_cgroup( in test_netns_cookie()
|
D | tcpbpf_user.c | 135 skel->links.bpf_testcb = bpf_program__attach_cgroup(skel->progs.bpf_testcb, cg_fd); in test_tcpbpf_user()
|
D | sock_fields.c | 356 egress_link = bpf_program__attach_cgroup(skel->progs.egress_read_sock_fields, in test_sock_fields() 361 ingress_link = bpf_program__attach_cgroup(skel->progs.ingress_read_sock_fields, in test_sock_fields()
|
/Linux-v5.15/samples/bpf/ |
D | test_cgrp2_sock2.c | 76 link = bpf_program__attach_cgroup(progs[filter_id], cg_fd); in main()
|
D | hbm.c | 194 link = bpf_program__attach_cgroup(bpf_prog, cg1); in run_bpf_prog()
|
/Linux-v5.15/tools/lib/bpf/ |
D | libbpf.map | 250 bpf_program__attach_cgroup;
|
D | libbpf.h | 334 bpf_program__attach_cgroup(struct bpf_program *prog, int cgroup_fd);
|
D | libbpf.c | 9586 bpf_program__attach_cgroup(struct bpf_program *prog, int cgroup_fd) in bpf_program__attach_cgroup() function
|