Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/tools/bpf/bpftool/
H 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
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/prog_tests/
H A 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
H 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
H 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
H A 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()
H 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
H 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
H A Dudp_limit.c14 int cgroup_fd; in test_udp_limit() local
H A Dload_bytes_relative.c12 int server_fd, cgroup_fd, prog_fd, map_fd, client_fd; in test_load_bytes_relative() local
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/
H A Dtest_dev_cgroup.c27 int prog_fd, cgroup_fd; in main() local
H A Dtest_cgroup_storage.c40 int map_fd, percpu_map_fd, prog_fd, cgroup_fd; in main() local
H A Dtest_netcnt.c42 int prog_fd, cgroup_fd; in main() local
H A Dget_cgroup_id_user.c53 int cgroup_fd, cgidmap_fd, pidmap_fd; in main() local
/OK3568_Linux_fs/kernel/tools/testing/selftests/cgroup/
H A 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
H A Dtest_core.c146 int cgroup_fd = -EBADF; in test_cgcore_populated() local
/OK3568_Linux_fs/kernel/kernel/events/
H A Dcore.c11210 void *context, int cgroup_fd) in perf_event_alloc()
11731 int cgroup_fd = -1; in SYSCALL_DEFINE5() local
/OK3568_Linux_fs/kernel/tools/lib/bpf/
H A Dlibbpf.c9744 bpf_program__attach_cgroup(struct bpf_program *prog, int cgroup_fd) in bpf_program__attach_cgroup()