/linux-6.3-rc2/tools/testing/selftests/bpf/prog_tests/ |
A D | cgroup_getset_retval.c | 19 static void test_setsockopt_set(int cgroup_fd, int sock_fd) in test_setsockopt_set() 53 static void test_setsockopt_set_and_get(int cgroup_fd, int sock_fd) in test_setsockopt_set_and_get() 94 static void test_setsockopt_default_zero(int cgroup_fd, int sock_fd) in test_setsockopt_default_zero() 170 static void test_setsockopt_override(int cgroup_fd, int sock_fd) in test_setsockopt_override() 218 static void test_setsockopt_legacy_eperm(int cgroup_fd, int sock_fd) in test_setsockopt_legacy_eperm() 261 static void test_setsockopt_legacy_no_override(int cgroup_fd, int sock_fd) in test_setsockopt_legacy_no_override() 311 static void test_getsockopt_get(int cgroup_fd, int sock_fd) in test_getsockopt_get() 351 static void test_getsockopt_override(int cgroup_fd, int sock_fd) in test_getsockopt_override() 387 static void test_getsockopt_retval_sync(int cgroup_fd, int sock_fd) in test_getsockopt_retval_sync() 453 static void test_exposed_hooks(int cgroup_fd, int sock_fd) in test_exposed_hooks() [all …]
|
A D | cgrp_local_storage.c | 22 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
|
A D | cgroup_v1v2.c | 10 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
|
A D | sockopt_inherit.c | 135 static int prog_attach(struct bpf_object *obj, int cgroup_fd, const char *title, in prog_attach() 165 static void run_test(int cgroup_fd) in run_test() 225 int cgroup_fd; in test_sockopt_inherit() local
|
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
|
A D | sockopt_sk.c | 195 static void run_test(int cgroup_fd) in run_test() 223 int cgroup_fd; in test_sockopt_sk() local
|
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
|
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
|
A D | sockopt_multi.c | 5 static int prog_attach(struct bpf_object *obj, int cgroup_fd, const char *title, const char *name) in prog_attach() 34 static int prog_detach(struct bpf_object *obj, int cgroup_fd, const char *title, const char *name) in prog_detach()
|
A D | tcp_rtt.c | 90 static int run_test(int cgroup_fd, int server_fd) in run_test() 148 int server_fd, cgroup_fd; in test_tcp_rtt() local
|
A D | mptcp.c | 94 static int run_test(int cgroup_fd, int server_fd, bool is_mptcp) in run_test() 141 int server_fd, cgroup_fd; in test_base() local
|
A D | sockopt.c | 876 static int run_test(int cgroup_fd, struct sockopt_test *test) in run_test() 972 int cgroup_fd, i; in test_sockopt() local
|
A D | udp_limit.c | 12 int cgroup_fd; in test_udp_limit() local
|
A D | load_bytes_relative.c | 12 int server_fd, cgroup_fd, prog_fd, map_fd, client_fd; in test_load_bytes_relative() local
|
A D | netns_cookie.c | 15 int server_fd = -1, client_fd = -1, cgroup_fd = -1; in test_netns_cookie() local
|
A D | socket_cookie.c | 18 int server_fd = 0, client_fd = 0, cgroup_fd = 0, err = 0; in test_socket_cookie() local
|
A D | bind_perm.c | 57 int cgroup_fd; in test_bind_perm() local
|
A D | rcu_read_lock.c | 132 int cgroup_fd; in test_rcu_read_lock() local
|
A D | cgroup_iter.c | 50 static void read_from_cgroup_iter(struct bpf_program *prog, int cgroup_fd, in read_from_cgroup_iter()
|
A D | cgroup_hierarchical_stats.c | 247 int cgroup_fd, const char *file_name) in setup_cgroup_iter()
|
/linux-6.3-rc2/tools/bpf/bpftool/ |
A D | cgroup.c | 169 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
|
/linux-6.3-rc2/tools/testing/selftests/bpf/ |
A D | test_dev_cgroup.c | 27 int prog_fd, cgroup_fd; in main() local
|
A D | test_cgroup_storage.c | 41 int map_fd, percpu_map_fd, prog_fd, cgroup_fd; in main() local
|
A D | get_cgroup_id_user.c | 53 int cgroup_fd, cgidmap_fd, pidmap_fd; in main() local
|
/linux-6.3-rc2/tools/testing/selftests/cgroup/ |
A D | cgroup_util.c | 346 pid_t clone_into_cgroup(int cgroup_fd) in clone_into_cgroup() 423 int cgroup_fd; in clone_into_cgroup_run_nowait() local 582 int cgroup_fd; in clone_into_cgroup_run_wait() local
|