Home
last modified time | relevance | path

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

/linux/tools/bpf/bpftool/
A Dcgroup.c91 static int count_attached_bpf_progs(int cgroup_fd, enum bpf_attach_type type) in count_attached_bpf_progs()
104 static int cgroup_has_attached_progs(int cgroup_fd) in cgroup_has_attached_progs()
123 static int show_attached_bpf_progs(int cgroup_fd, enum bpf_attach_type type, in show_attached_bpf_progs()
169 int cgroup_fd; in do_show() local
247 int cgroup_fd; in do_show_tree_fn() local
383 int cgroup_fd, prog_fd; in do_attach() local
443 int prog_fd, cgroup_fd; in do_detach() local
/linux/tools/testing/selftests/bpf/prog_tests/
A 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
A Dsockopt_inherit.c139 static int prog_attach(struct bpf_object *obj, int cgroup_fd, const char *title) in prog_attach()
168 static void run_test(int cgroup_fd) in run_test()
228 int cgroup_fd; in test_sockopt_inherit() local
A Dsockopt_sk.c195 static void run_test(int cgroup_fd) in run_test()
223 int cgroup_fd; in test_sockopt_sk() local
A Dconnect_force_port.c49 static int run_test(int cgroup_fd, int server_fd, int family, int type) in run_test()
134 int server_fd, cgroup_fd; in test_connect_force_port() local
A Dsockopt_multi.c5 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 Dtcp_rtt.c92 static int run_test(int cgroup_fd, int server_fd) in run_test()
158 int server_fd, cgroup_fd; in test_tcp_rtt() local
A Dsockopt.c877 static int run_test(int cgroup_fd, struct sockopt_test *test) in run_test()
973 int cgroup_fd, i; in test_sockopt() local
A Dudp_limit.c14 int cgroup_fd; in test_udp_limit() local
A Dload_bytes_relative.c12 int server_fd, cgroup_fd, prog_fd, map_fd, client_fd; in test_load_bytes_relative() local
A Dnetns_cookie.c15 int server_fd = -1, client_fd = -1, cgroup_fd = -1; in test_netns_cookie() local
A Dsocket_cookie.c18 int server_fd = 0, client_fd = 0, cgroup_fd = 0, err = 0; in test_socket_cookie() local
A Dbind_perm.c76 int cgroup_fd; in test_bind_perm() local
/linux/tools/testing/selftests/bpf/
A Dtest_dev_cgroup.c27 int prog_fd, cgroup_fd; in main() local
A Dtest_cgroup_storage.c40 int map_fd, percpu_map_fd, prog_fd, cgroup_fd; in main() local
A Dget_cgroup_id_user.c53 int cgroup_fd, cgidmap_fd, pidmap_fd; in main() local
/linux/tools/testing/selftests/cgroup/
A Dcgroup_util.c341 pid_t clone_into_cgroup(int cgroup_fd) in clone_into_cgroup()
418 int cgroup_fd; in clone_into_cgroup_run_nowait() local
563 int cgroup_fd; in clone_into_cgroup_run_wait() local
A Dtest_core.c146 int cgroup_fd = -EBADF; in test_cgcore_populated() local
/linux/kernel/events/
A Dcore.c11478 void *context, int cgroup_fd) in perf_event_alloc()
12036 int cgroup_fd = -1; in SYSCALL_DEFINE5() local
/linux/tools/lib/bpf/
A Dlibbpf.c10244 bpf_program__attach_cgroup(const struct bpf_program *prog, int cgroup_fd) in bpf_program__attach_cgroup()

Completed in 61 milliseconds