Home
last modified time | relevance | path

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

/Linux-v5.4/tools/bpf/bpftool/
Dcgroup.c107 static int count_attached_bpf_progs(int cgroup_fd, enum bpf_attach_type type) in count_attached_bpf_progs()
120 static int show_attached_bpf_progs(int cgroup_fd, enum bpf_attach_type type, in show_attached_bpf_progs()
165 int cgroup_fd; in do_show() local
232 int cgroup_fd; in do_show_tree_fn() local
377 int cgroup_fd, prog_fd; in do_attach() local
437 int prog_fd, cgroup_fd; in do_detach() local
/Linux-v5.4/tools/testing/selftests/bpf/prog_tests/
Dsockopt_sk.c134 static int prog_attach(struct bpf_object *obj, int cgroup_fd, const char *title) in prog_attach()
163 static void run_test(int cgroup_fd) in run_test()
192 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()
227 int cgroup_fd; in test_sockopt_inherit() 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()
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
Dtcp_rtt.c119 static int run_test(int cgroup_fd, int server_fd) in run_test()
250 int server_fd, cgroup_fd; in test_tcp_rtt() local
/Linux-v5.4/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
Dtest_sock_fields.c419 int cgroup_fd, egress_fd, ingress_fd, err; in main() local
/Linux-v5.4/kernel/events/
Dcore.c10404 void *context, int cgroup_fd) in perf_event_alloc()
10894 int cgroup_fd = -1; in SYSCALL_DEFINE5() local