/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | cgroup_getset_retval.c | 19 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 …]
|
H A D | sockopt_multi.c | 8 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 D | sockopt_qos_to_cc.c | 7 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 D | connect_ping.c | 34 int sock_fd; in subtest() local
|
H A D | probe_user.c | 16 int err, results_map_fd, sock_fd, duration = 0; in serial_test_probe_user() local
|
H A D | xdp_metadata.c | 207 int sock_fd, err = 0; in generate_packet_inet() local 363 int sock_fd; in test_xdp_metadata() local
|
H A D | assign_reuse.c | 16 static int attach_reuseport(int sock_fd, int prog_fd) in attach_reuseport()
|
H A D | bpf_iter.c | 1131 int sock_fd = -1; in test_bpf_sk_storage_delete() local 1199 int sock_fd = -1; in test_bpf_sk_storage_get() local 1258 int sock_fd[3] = {-1, -1, -1}; in test_bpf_sk_storage_map() local
|
H A D | token.c | 285 static void child(int sock_fd, struct bpffs_opts *opts, child_callback_fn callback) in child() 429 static void parent(int child_pid, struct bpffs_opts *bpffs_opts, int sock_fd) in parent()
|
H A D | sk_lookup.c | 90 static int attach_reuseport(int sock_fd, struct bpf_program *reuseport_prog) in attach_reuseport() 433 static int update_lookup_map(struct bpf_map *map, int index, int sock_fd) in update_lookup_map()
|
H A D | sockopt.c | 1075 int sock_fd, err, prog_fd, link_fd = -1; in run_test() local
|
H A D | sockmap_basic.c | 290 __s64 *sock_fd = NULL; in test_sockmap_copy() local
|
/linux/tools/testing/selftests/net/ |
H A D | bind_bhash.c | 33 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/tools/testing/selftests/bpf/ |
H A D | test_progs.c | 1407 int sock_fd; member 1410 static int read_prog_test_msg(int sock_fd, struct msg *msg, enum msg_type type) in read_prog_test_msg() 1423 static int dispatch_thread_read_log(int sock_fd, char **log_buf, size_t *log_cnt) in dispatch_thread_read_log() 1451 static int dispatch_thread_send_subtests(int sock_fd, struct test_state *state) in dispatch_thread_send_subtests() 1486 int sock_fd; in dispatch_thread() local
|
H A D | xdp_hw_metadata.c | 714 int sock_fd = xsk_socket__fd(rx_xsk[i].socket); in main() local
|
H A D | xsk.c | 450 int map_fd, sock_fd; in xsk_update_xskmap() local
|
H A D | network_helpers.c | 551 int get_socket_local_port(int sock_fd) in get_socket_local_port()
|
/linux/drivers/infiniband/hw/usnic/ |
H A D | usnic_transport.c | 144 struct socket *usnic_transport_get_socket(int sock_fd) in usnic_transport_get_socket()
|
H A D | usnic_abi.h | 59 uint32_t sock_fd; member
|
H A D | usnic_ib_qp_grp.c | 266 int sock_fd; in create_udp_flow() local
|
/linux/tools/testing/selftests/landlock/ |
H A D | net_test.c | 184 static int bind_variant_addrlen(const int sock_fd, in bind_variant_addrlen() 214 static int bind_variant(const int sock_fd, in bind_variant() 220 static int connect_variant_addrlen(const int sock_fd, in connect_variant_addrlen() 250 static int connect_variant(const int sock_fd, in connect_variant()
|
/linux/arch/um/drivers/ |
H A D | port_user.c | 151 int sock_fd; member
|
/linux/tools/perf/ |
H A D | builtin-daemon.c | 810 static int handle_server_socket(struct daemon *daemon, int sock_fd) in handle_server_socket() 1256 int sock_fd = -1, conf_fd = -1, signal_fd = -1; in __cmd_start() local
|