Home
last modified time | relevance | path

Searched defs:cgroup_fd (Results 1 – 25 of 31) sorted by relevance

12

/tools/testing/selftests/bpf/prog_tests/
Dcgroup_getset_retval.c19 static void test_setsockopt_set(int cgroup_fd, int sock_fd) in test_setsockopt_set()
55 static void test_setsockopt_set_and_get(int cgroup_fd, int sock_fd) in test_setsockopt_set_and_get()
98 static void test_setsockopt_default_zero(int cgroup_fd, int sock_fd) in test_setsockopt_default_zero()
134 static void test_setsockopt_default_zero_and_set(int cgroup_fd, int sock_fd) in test_setsockopt_default_zero_and_set()
178 static void test_setsockopt_override(int cgroup_fd, int sock_fd) in test_setsockopt_override()
228 static void test_setsockopt_legacy_eperm(int cgroup_fd, int sock_fd) in test_setsockopt_legacy_eperm()
273 static void test_setsockopt_legacy_no_override(int cgroup_fd, int sock_fd) in test_setsockopt_legacy_no_override()
325 static void test_getsockopt_get(int cgroup_fd, int sock_fd) in test_getsockopt_get()
367 static void test_getsockopt_override(int cgroup_fd, int sock_fd) in test_getsockopt_override()
405 static void test_getsockopt_retval_sync(int cgroup_fd, int sock_fd) in test_getsockopt_retval_sync()
[all …]
Dcgrp_local_storage.c22 static void test_tp_btf(int cgroup_fd) in test_tp_btf()
68 static void test_attach_cgroup(int cgroup_fd) in test_attach_cgroup()
124 static void test_recursion(int cgroup_fd) in test_recursion()
155 static void test_cgroup_iter_sleepable(int cgroup_fd, __u64 cgroup_id) in test_cgroup_iter_sleepable()
242 int cgroup_fd; in test_cgrp_local_storage() local
Dcgroup_v1v2.c10 static int run_test(int cgroup_fd, int server_fd, bool classid) in run_test()
48 int server_fd, client_fd, cgroup_fd; in test_cgroup_v1v2() local
Dconnect_ping.c20 static void subtest(int cgroup_fd, struct connect_ping *skel, in subtest()
99 int cgroup_fd; in test_connect_ping() local
Dsockopt_sk.c223 static void run_test(int cgroup_fd) in run_test()
251 int cgroup_fd; in test_sockopt_sk() local
Dconnect_force_port.c49 static int run_test(int cgroup_fd, int server_fd, int family, int type) in run_test()
135 int server_fd, cgroup_fd; in test_connect_force_port() local
Dmptcp.c156 static int run_test(int cgroup_fd, int server_fd, bool is_mptcp) in run_test()
194 int server_fd, cgroup_fd; in test_base() local
267 static int run_mptcpify(int cgroup_fd) in run_mptcpify()
308 int cgroup_fd; in test_mptcpify() local
Dlsm_cgroup.c19 static __u32 query_prog_cnt(int cgroup_fd, const char *attach_func) in query_prog_cnt()
69 int cgroup_fd = -1, cgroup_fd2 = -1, cgroup_fd3 = -1; in test_lsm_cgroup_functional() local
Dtcp_rtt.c90 static int run_test(int cgroup_fd, int server_fd) in run_test()
148 int server_fd, cgroup_fd; in test_tcp_rtt() local
Dsockopt_inherit.c137 static void run_test(int cgroup_fd) in run_test()
202 int cgroup_fd; in test_sockopt_inherit() local
Dcgroup_tcp_skb.c16 static int install_filters(int cgroup_fd, in install_filters()
242 int cgroup_fd = -1; in test_cgroup_tcp_skb() local
Dudp_limit.c12 int cgroup_fd; in test_udp_limit() local
Dsockopt.c943 static int run_test(int cgroup_fd, struct sockopt_test *test) in run_test()
1056 int cgroup_fd, i; in test_sockopt() local
Dload_bytes_relative.c12 int server_fd, cgroup_fd, prog_fd, map_fd, client_fd; in test_load_bytes_relative() local
Dnetns_cookie.c15 int server_fd = -1, client_fd = -1, cgroup_fd = -1; in test_netns_cookie() local
Dsocket_cookie.c18 int server_fd = 0, client_fd = 0, cgroup_fd = 0, err = 0; in test_socket_cookie() local
Dbind_perm.c57 int cgroup_fd; in test_bind_perm() local
Dtest_ldsx_insn.c49 int err, fd, cgroup_fd; in test_ctx_member_sign_ext() local
Drcu_read_lock.c131 int cgroup_fd; in test_rcu_read_lock() local
Dsock_destroy.c181 int cgroup_fd; in test_sock_destroy() local
/tools/bpf/bpftool/
Dcgroup.c169 static int count_attached_bpf_progs(int cgroup_fd, enum bpf_attach_type type) in count_attached_bpf_progs()
182 static int cgroup_has_attached_progs(int cgroup_fd) in cgroup_has_attached_progs()
202 static int show_effective_bpf_progs(int cgroup_fd, enum bpf_attach_type type, in show_effective_bpf_progs()
227 static int show_attached_bpf_progs(int cgroup_fd, enum bpf_attach_type type, in show_attached_bpf_progs()
277 static int show_bpf_progs(int cgroup_fd, enum bpf_attach_type type, in show_bpf_progs()
290 int cgroup_fd; in do_show() local
371 int cgroup_fd; in do_show_tree_fn() local
513 int cgroup_fd, prog_fd; in do_attach() local
573 int prog_fd, cgroup_fd; in do_detach() local
/tools/testing/selftests/bpf/
Dtest_dev_cgroup.c27 int prog_fd, cgroup_fd; in main() local
Dtest_cgroup_storage.c41 int map_fd, percpu_map_fd, prog_fd, cgroup_fd; in main() local
Dget_cgroup_id_user.c53 int cgroup_fd, cgidmap_fd, pidmap_fd; in main() local
/tools/testing/selftests/cgroup/
Dcgroup_util.c350 pid_t clone_into_cgroup(int cgroup_fd) in clone_into_cgroup()
427 int cgroup_fd; in clone_into_cgroup_run_nowait() local
586 int cgroup_fd; in clone_into_cgroup_run_wait() local

12