Home
last modified time | relevance | path

Searched refs:bpf_program__attach_cgroup (Results 1 – 23 of 23) sorted by relevance

/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/
Dcgroup_getset_retval.c31 link_set_eunatch = bpf_program__attach_cgroup(obj->progs.set_eunatch, in test_setsockopt_set()
65 link_set_eunatch = bpf_program__attach_cgroup(obj->progs.set_eunatch, in test_setsockopt_set_and_get()
69 link_get_retval = bpf_program__attach_cgroup(obj->progs.get_retval, in test_setsockopt_set_and_get()
106 link_get_retval = bpf_program__attach_cgroup(obj->progs.get_retval, in test_setsockopt_default_zero()
141 link_get_retval = bpf_program__attach_cgroup(obj->progs.get_retval, in test_setsockopt_default_zero_and_set()
145 link_set_eunatch = bpf_program__attach_cgroup(obj->progs.set_eunatch, in test_setsockopt_default_zero_and_set()
184 link_set_eunatch = bpf_program__attach_cgroup(obj->progs.set_eunatch, in test_setsockopt_override()
188 link_set_eisconn = bpf_program__attach_cgroup(obj->progs.set_eisconn, in test_setsockopt_override()
192 link_get_retval = bpf_program__attach_cgroup(obj->progs.get_retval, in test_setsockopt_override()
232 link_legacy_eperm = bpf_program__attach_cgroup(obj->progs.legacy_eperm, in test_setsockopt_legacy_eperm()
[all …]
Dcg_storage_multi.c103 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 …]
Dudp_limit.c22 skel->links.sock = bpf_program__attach_cgroup(skel->progs.sock, cgroup_fd); in test_udp_limit()
25 skel->links.sock_release = bpf_program__attach_cgroup(skel->progs.sock_release, cgroup_fd); in test_udp_limit()
Dcgroup_link.c66 links[i] = bpf_program__attach_cgroup(skel->progs.egress, in serial_test_cgroup_link()
118 links[last_cg] = bpf_program__attach_cgroup(skel->progs.egress, in serial_test_cgroup_link()
143 tmp_link = bpf_program__attach_cgroup(skel->progs.egress, in serial_test_cgroup_link()
161 links[last_cg] = bpf_program__attach_cgroup(skel->progs.egress, in serial_test_cgroup_link()
Dsocket_cookie.c33 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()
Dbind_perm.c70 skel->links.bind_v4_prog = bpf_program__attach_cgroup(skel->progs.bind_v4_prog, cgroup_fd); in test_bind_perm()
74 skel->links.bind_v6_prog = bpf_program__attach_cgroup(skel->progs.bind_v6_prog, cgroup_fd); in test_bind_perm()
Dsetget_sockopt.c108 bpf_program__attach_cgroup(skel->progs.skops_sockopt, cg_fd); in test_setget_sockopt()
113 bpf_program__attach_cgroup(skel->progs.socket_post_create, cg_fd); in test_setget_sockopt()
Dtcp_hdr_options.c319 link = bpf_program__attach_cgroup(skel->progs.estab, cg_fd); in fastopen_estab()
363 link = bpf_program__attach_cgroup(skel->progs.estab, cg_fd); in syncookie_estab()
395 link = bpf_program__attach_cgroup(skel->progs.estab, cg_fd); in fin()
434 link = bpf_program__attach_cgroup(skel->progs.estab, cg_fd); in __simple_estab()
471 link = bpf_program__attach_cgroup(misc_skel->progs.misc_estab, cg_fd); in misc()
Dconnect_ping.c134 bpf_program__attach_cgroup(skel->progs.connect_v4_prog, cgroup_fd); in test_connect_ping()
138 bpf_program__attach_cgroup(skel->progs.connect_v6_prog, cgroup_fd); in test_connect_ping()
Dsockopt_sk.c206 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()
Dsockopt_qos_to_cc.c55 bpf_program__attach_cgroup(skel->progs.sockopt_qos_to_cc, in test_sockopt_qos_to_cc()
Dsock_fields.c375 link = bpf_program__attach_cgroup(skel->progs.egress_read_sock_fields, child_cg_fd); in serial_test_sock_fields()
380 link = bpf_program__attach_cgroup(skel->progs.ingress_read_sock_fields, child_cg_fd); in serial_test_sock_fields()
385 link = bpf_program__attach_cgroup(skel->progs.read_sk_dst_port, child_cg_fd); in serial_test_sock_fields()
Dcgroup_v1v2.c23 bpf_program__attach_cgroup(skel->progs.connect_v4_dropper, in run_test()
Dcgroup_skb_sk_lookup.c62 link = bpf_program__attach_cgroup(skel->progs.ingress_lookup, cgfd); in run_cgroup_bpf_test()
Dnetcnt.c37 skel->links.bpf_nextcnt = bpf_program__attach_cgroup(skel->progs.bpf_nextcnt, cg_fd); in serial_test_netcnt()
Dnetns_cookie.c30 skel->links.get_netns_cookie_sockops = bpf_program__attach_cgroup( in test_netns_cookie()
Dtcpbpf_user.c127 skel->links.bpf_testcb = bpf_program__attach_cgroup(skel->progs.bpf_testcb, cg_fd); in test_tcpbpf_user()
Dfexit_bpf2bpf.c472 skel->links.bind_v4_prog = bpf_program__attach_cgroup(skel->progs.bind_v4_prog, cgroup_fd); in test_fentry_to_cgroup_bpf()
/linux-6.1.9/samples/bpf/
Dtest_cgrp2_sock2.c76 link = bpf_program__attach_cgroup(progs[filter_id], cg_fd); in main()
Dhbm.c201 link = bpf_program__attach_cgroup(bpf_prog, cg1); in run_bpf_prog()
/linux-6.1.9/tools/lib/bpf/
Dlibbpf.map156 bpf_program__attach_cgroup;
Dlibbpf.h642 bpf_program__attach_cgroup(const struct bpf_program *prog, int cgroup_fd);
Dlibbpf.c11289 bpf_program__attach_cgroup(const struct bpf_program *prog, int cgroup_fd) in bpf_program__attach_cgroup() function