Home
last modified time | relevance | path

Searched defs:sock_fd (Results 1 – 21 of 21) sorted by relevance

/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/
Dcgroup_getset_retval.c19 static void test_setsockopt_set(int cgroup_fd, int sock_fd) in test_setsockopt_set()
55 static void test_setsockopt_set_and_get(int cgroup_fd, int sock_fd) in test_setsockopt_set_and_get()
98 static void test_setsockopt_default_zero(int cgroup_fd, int sock_fd) in test_setsockopt_default_zero()
134 static void test_setsockopt_default_zero_and_set(int cgroup_fd, int sock_fd) in test_setsockopt_default_zero_and_set()
178 static void test_setsockopt_override(int cgroup_fd, int sock_fd) in test_setsockopt_override()
228 static void test_setsockopt_legacy_eperm(int cgroup_fd, int sock_fd) in test_setsockopt_legacy_eperm()
273 static void test_setsockopt_legacy_no_override(int cgroup_fd, int sock_fd) in test_setsockopt_legacy_no_override()
325 static void test_getsockopt_get(int cgroup_fd, int sock_fd) in test_getsockopt_get()
367 static void test_getsockopt_override(int cgroup_fd, int sock_fd) in test_getsockopt_override()
405 static void test_getsockopt_retval_sync(int cgroup_fd, int sock_fd) in test_getsockopt_retval_sync()
[all …]
Dsockopt_multi.c8 int cg_child, int sock_fd) in run_getsockopt_test()
159 int cg_child, int sock_fd) in run_setsockopt_test()
257 int sock_fd = -1; in test_sockopt_multi() local
Dsockopt_qos_to_cc.c7 static void run_setsockopt_test(int cg_fd, int sock_fd) in run_setsockopt_test()
34 int sock_fd = -1; in test_sockopt_qos_to_cc() local
Dconnect_ping.c34 int sock_fd; in subtest() local
Dprobe_user.c16 int err, results_map_fd, sock_fd, duration = 0; in serial_test_probe_user() local
Dassign_reuse.c16 static int attach_reuseport(int sock_fd, int prog_fd) in attach_reuseport()
Dsockopt.c945 int sock_fd, err, prog_fd; in run_test() local
Dbpf_iter.c1123 int sock_fd = -1; in test_bpf_sk_storage_delete() local
1185 int sock_fd = -1; in test_bpf_sk_storage_get() local
1246 int sock_fd[3] = {-1, -1, -1}; in test_bpf_sk_storage_map() local
Dxdp_metadata.c293 int sock_fd; in test_xdp_metadata() local
Dsk_lookup.c87 static int attach_reuseport(int sock_fd, struct bpf_program *reuseport_prog) in attach_reuseport()
493 static int update_lookup_map(struct bpf_map *map, int index, int sock_fd) in update_lookup_map()
Dsockmap_basic.c197 __s64 *sock_fd = NULL; in test_sockmap_copy() local
/linux-6.6.21/tools/testing/selftests/net/
Dbind_bhash.c33 int sock_fd, reuse = 1, err; in bind_socket() local
74 int sock_fd, i; in setup() local
91 int listener_fd, sock_fd, i, j; in main() local
/linux-6.6.21/tools/testing/selftests/bpf/
Dtest_progs.c1108 int sock_fd; member
1111 static int read_prog_test_msg(int sock_fd, struct msg *msg, enum msg_type type) in read_prog_test_msg()
1124 static int dispatch_thread_read_log(int sock_fd, char **log_buf, size_t *log_cnt) in dispatch_thread_read_log()
1152 static int dispatch_thread_send_subtests(int sock_fd, struct test_state *state) in dispatch_thread_send_subtests()
1187 int sock_fd; in dispatch_thread() local
Dnetwork_helpers.c444 int get_socket_local_port(int sock_fd) in get_socket_local_port()
Dxdp_hw_metadata.c466 int sock_fd = xsk_socket__fd(rx_xsk[i].socket); in main() local
Dxsk.c447 int map_fd, sock_fd; in xsk_update_xskmap() local
/linux-6.6.21/drivers/infiniband/hw/usnic/
Dusnic_transport.c144 struct socket *usnic_transport_get_socket(int sock_fd) in usnic_transport_get_socket()
Dusnic_abi.h59 uint32_t sock_fd; member
Dusnic_ib_qp_grp.c266 int sock_fd; in create_udp_flow() local
/linux-6.6.21/arch/um/drivers/
Dport_user.c151 int sock_fd; member
/linux-6.6.21/tools/perf/
Dbuiltin-daemon.c809 static int handle_server_socket(struct daemon *daemon, int sock_fd) in handle_server_socket()
1255 int sock_fd = -1, conf_fd = -1, signal_fd = -1; in __cmd_start() local