Home
last modified time | relevance | path

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

12

/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A 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()
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()
473 static void test_exposed_hooks(int cgroup_fd, int sock_fd) in test_exposed_hooks()
[all …]
H A 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
H A 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
H A Dconnect_ping.c34 int sock_fd; in subtest() local
H A Dprobe_user.c16 int err, results_map_fd, sock_fd, duration = 0; in serial_test_probe_user() local
H A Dassign_reuse.c16 static int attach_reuseport(int sock_fd, int prog_fd) in attach_reuseport()
H A Dsockopt.c945 int sock_fd, err, prog_fd; in run_test() local
H A 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
H A Dxdp_metadata.c293 int sock_fd; in test_xdp_metadata() local
H A Dsk_lookup.c86 static int attach_reuseport(int sock_fd, struct bpf_program *reuseport_prog) in attach_reuseport()
492 static int update_lookup_map(struct bpf_map *map, int index, int sock_fd) in update_lookup_map()
H A Dsockmap_basic.c197 __s64 *sock_fd = NULL; in test_sockmap_copy() local
/openbmc/qemu/tests/qtest/
H A Dstm32l4x5_usart-test.c87 static void usart_receive_string(QTestState *qts, int sock_fd, const char *in, in usart_receive_string()
211 int sock_fd; in test_receive_char() local
240 int sock_fd; in test_send_char() local
270 int sock_fd; in test_receive_str() local
286 int sock_fd; in test_send_str() local
H A Dmicrobit-test.c49 static void uart_rw_to_rxd(QTestState *qts, int sock_fd, const char *in, in uart_rw_to_rxd()
76 int sock_fd; in test_nrf51_uart() local
/openbmc/linux/tools/testing/selftests/net/
H A 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
/openbmc/qemu/contrib/ivshmem-server/
H A Divshmem-server.h50 int sock_fd; /**< connected unix sock */ member
64 int sock_fd; /**< unix sock file descriptor */ member
H A Divshmem-server.c32 ivshmem_server_send_one_msg(int sock_fd, int64_t peer_id, int fd) in ivshmem_server_send_one_msg()
292 int shm_fd, sock_fd, ret; in ivshmem_server_start() local
/openbmc/qemu/contrib/ivshmem-client/
H A Divshmem-client.h71 int sock_fd; /**< unix sock filedesc */ member
/openbmc/linux/tools/testing/selftests/bpf/
H A Dtest_progs.c1122 int sock_fd; member
1125 static int read_prog_test_msg(int sock_fd, struct msg *msg, enum msg_type type) in read_prog_test_msg()
1138 static int dispatch_thread_read_log(int sock_fd, char **log_buf, size_t *log_cnt) in dispatch_thread_read_log()
1166 static int dispatch_thread_send_subtests(int sock_fd, struct test_state *state) in dispatch_thread_send_subtests()
1201 int sock_fd; in dispatch_thread() local
H A Dnetwork_helpers.c446 int get_socket_local_port(int sock_fd) in get_socket_local_port()
/openbmc/linux/drivers/infiniband/hw/usnic/
H A Dusnic_transport.c144 struct socket *usnic_transport_get_socket(int sock_fd) in usnic_transport_get_socket()
H A Dusnic_abi.h59 uint32_t sock_fd; member
H A Dusnic_ib_qp_grp.c266 int sock_fd; in create_udp_flow() local
/openbmc/linux/arch/um/drivers/
H A Dport_user.c151 int sock_fd; member
/openbmc/qemu/net/
H A Daf-xdp.c287 static int af_xdp_umem_create(AFXDPState *s, int sock_fd, Error **errp) in af_xdp_umem_create()
/openbmc/linux/tools/perf/
H A 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

12