Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/tools/bpf/bpftool/
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
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
Dsockopt_sk.c166 static int prog_attach(struct bpf_object *obj, int cgroup_fd, const char *title) in prog_attach()
195 static void run_test(int cgroup_fd) in run_test()
224 int cgroup_fd; in test_sockopt_sk() local
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
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
Dsockopt_multi.c5 static int prog_attach(struct bpf_object *obj, int cgroup_fd, const char *title) in prog_attach()
34 static int prog_detach(struct bpf_object *obj, int cgroup_fd, const char *title) in prog_detach()
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
Dudp_limit.c14 int cgroup_fd; in test_udp_limit() local
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
Dload_bytes_relative.c12 int server_fd, cgroup_fd, prog_fd, map_fd, client_fd; in test_load_bytes_relative() local
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
Dtest_dev_cgroup.c27 int prog_fd, cgroup_fd; in main() local
Dtest_cgroup_storage.c40 int map_fd, percpu_map_fd, prog_fd, cgroup_fd; in main() local
Dtest_netcnt.c42 int prog_fd, cgroup_fd; in main() local
Dget_cgroup_id_user.c53 int cgroup_fd, cgidmap_fd, pidmap_fd; in main() local
/kernel/linux/linux-5.10/tools/testing/selftests/cgroup/
Dcgroup_util.c335 pid_t clone_into_cgroup(int cgroup_fd) in clone_into_cgroup()
412 int cgroup_fd; in clone_into_cgroup_run_nowait() local
557 int cgroup_fd; in clone_into_cgroup_run_wait() local
Dtest_core.c146 int cgroup_fd = -EBADF; in test_cgcore_populated() local
/kernel/linux/linux-5.10/kernel/events/
Dcore.c11313 void *context, int cgroup_fd) in perf_event_alloc()
11834 int cgroup_fd = -1; in SYSCALL_DEFINE5() local
/kernel/linux/linux-5.10/tools/lib/bpf/
Dlibbpf.c9747 bpf_program__attach_cgroup(struct bpf_program *prog, int cgroup_fd) in bpf_program__attach_cgroup()