/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | cgroup_getset_retval.c | 19 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() 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() 473 static void test_exposed_hooks(int cgroup_fd, int sock_fd) in test_exposed_hooks() [all …]
|
H A D | cgrp_local_storage.c | 37 static void test_tp_btf(int cgroup_fd) in test_tp_btf() 85 static void test_attach_cgroup(int cgroup_fd) in test_attach_cgroup() 141 static void test_recursion(int cgroup_fd) in test_recursion() 174 static void test_cgroup_iter_sleepable(int cgroup_fd, __u64 cgroup_id) in test_cgroup_iter_sleepable() 284 int cgroup_fd; in cgrp2_local_storage() local
|
H A D | cgroup_v1v2.c | 10 static int run_test(int cgroup_fd, int server_fd, bool classid) in run_test() 50 int server_fd, client_fd, cgroup_fd; in test_cgroup_v1v2() local
|
H A D | connect_ping.c | 20 static void subtest(int cgroup_fd, struct connect_ping *skel, in subtest() 99 int cgroup_fd; in test_connect_ping() local
|
H A D | sockopt_sk.c | 223 static void run_test(int cgroup_fd) in run_test() 251 int cgroup_fd; in test_sockopt_sk() local
|
H A D | connect_force_port.c | 49 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
|
H A D | mptcp.c | 167 static int run_test(int cgroup_fd, int server_fd, bool is_mptcp) in run_test() 205 int server_fd, cgroup_fd; in test_base() local 278 static int run_mptcpify(int cgroup_fd) in run_mptcpify() 321 int cgroup_fd; in test_mptcpify() local
|
H A D | lsm_cgroup.c | 19 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
|
H A D | sockopt_inherit.c | 91 static void run_test(int cgroup_fd) in run_test() 164 int cgroup_fd; in test_sockopt_inherit() local
|
H A D | tcp_rtt.c | 105 static int run_test(int cgroup_fd, int server_fd) in run_test() 163 int server_fd, cgroup_fd; in test_tcp_rtt() local
|
H A D | cgroup_tcp_skb.c | 16 static int install_filters(int cgroup_fd, in install_filters() 242 int cgroup_fd = -1; in test_cgroup_tcp_skb() local
|
H A D | ns_current_pid_tgid.c | 83 int cgroup_fd = *(int *)args; in test_current_pid_tgid_cgrp() local 230 int cgroup_fd = -1; in serial_test_ns_current_pid_tgid() local
|
H A D | udp_limit.c | 12 int cgroup_fd; in test_udp_limit() local
|
H A D | cgroup_get_current_cgroup_id.c | 18 int cgroup_fd; in test_cgroup_get_current_cgroup_id() local
|
H A D | load_bytes_relative.c | 12 int server_fd, cgroup_fd, prog_fd, map_fd, client_fd; in test_load_bytes_relative() local
|
H A D | cgroup_storage.c | 40 int cgroup_fd; in test_cgroup_storage() local
|
H A D | netns_cookie.c | 15 int server_fd = -1, client_fd = -1, cgroup_fd = -1; in test_netns_cookie() local
|
H A D | socket_cookie.c | 18 int server_fd = 0, client_fd = 0, cgroup_fd = 0, err = 0; in test_socket_cookie() local
|
H A D | bind_perm.c | 55 int cgroup_fd; in test_bind_perm() local
|
H A D | test_ldsx_insn.c | 49 int err, fd, cgroup_fd; in test_ctx_member_sign_ext() local
|
H A D | percpu_alloc.c | 79 int err, cgroup_fd, prog_fd; in test_cgrp_local_storage() local
|
H A D | rcu_read_lock.c | 137 int cgroup_fd; in test_rcu_read_lock() local
|
H A D | sockopt.c | 1071 static int run_test(int cgroup_fd, struct sockopt_test *test, bool use_io_uring, in run_test() 1200 int cgroup_fd, i; in test_sockopt() local
|
H A D | cgroup_dev.c | 81 int cgroup_fd; in test_cgroup_dev() local
|
/linux/tools/bpf/bpftool/ |
H A D | cgroup.c | 203 static int count_attached_bpf_progs(int cgroup_fd, enum bpf_attach_type type) in count_attached_bpf_progs() 216 static int cgroup_has_attached_progs(int cgroup_fd) in cgroup_has_attached_progs() 236 static int show_effective_bpf_progs(int cgroup_fd, enum bpf_attach_type type, in show_effective_bpf_progs() 261 static int show_attached_bpf_progs(int cgroup_fd, enum bpf_attach_type type, in show_attached_bpf_progs() 311 static int show_bpf_progs(int cgroup_fd, enum bpf_attach_type type, in show_bpf_progs() 324 int cgroup_fd; in do_show() local 405 int cgroup_fd; in do_show_tree_fn() local 547 int cgroup_fd, prog_fd; in do_attach() local 607 int prog_fd, cgroup_fd; in do_detach() local
|