Home
last modified time | relevance | path

Searched defs:fds (Results 1 – 25 of 68) sorted by relevance

123

/linux/tools/testing/selftests/net/
H A Dpsock_lib.h73 static __maybe_unused void pair_udp_open(int fds[], uint16_t port) in pair_udp_open() argument
109 static __maybe_unused void pair_udp_send_char(int fds[], int num, char payload) in pair_udp_send_char() argument
131 pair_udp_send(int fds[],int num) pair_udp_send() argument
136 pair_udp_close(int fds[]) pair_udp_close() argument
[all...]
H A Dpsock_fanout.c263 static int sock_fanout_read(int fds[], char *rings[], const int expect[]) in sock_fanout_read()
332 int fds[2]; in test_control_group() local
376 int fds[3]; in test_control_group_max_num_members() local
426 int fds[3]; in test_unique_fanout_group_ids() local
484 int fds[2], fds_udp[2][2], ret; in test_datapath() local
H A Dpsock_snd.c537 static void test_ignore_outgoing(int fds) in test_ignore_outgoing()
566 int fdr, fds, total_len; in run_test() local
H A Dip_local_port_range.c232 int fds[2], i; in TEST_F() local
310 int fds[8]; TEST_F() local
[all...]
/linux/tools/testing/selftests/pidfd/
H A Dpidfd_info_test.c203 struct pollfd fds = {}; in TEST_F() local
243 struct pollfd fds = {}; in TEST_F() local
421 struct pollfd fds = {}; TEST_F() local
570 struct pollfd fds = {}; TEST_F() local
[all...]
H A Dpidfd_poll_test.c28 struct pollfd fds; in main() local
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dbpf_iter_setsockopt.c22 static unsigned int set_bpf_cubic(int *fds, unsigned int nr_fds) in set_bpf_cubic()
35 static unsigned int check_bpf_dctcp(int *fds, unsigned int nr_fds) in check_bpf_dctcp()
H A Dsock_iter_batch.c89 static int get_seen_socket(int *fds, struct sock_count counts[], int n) in get_seen_socket()
99 static int get_nth_socket(int *fds, int fds_len, struct bpf_link *link, int n) in get_nth_socket()
175 static void check_n_were_seen_once(int *fds, int fds_len, int n, in check_n_were_seen_once()
785 int *fds = NULL; in do_resume_test() local
873 int *fds[2] = {}; in do_test() local
H A Dmigrate_reuseport.c128 init_fds(__s64 fds[],int len) init_fds() argument
136 close_fds(__s64 fds[],int len) close_fds() argument
H A Dlwt_helpers.h74 fd_set fds; in wait_for_packet() local
/linux/tools/bpf/bpftool/
H A Dcommon.c812 prog_fd_by_nametag(void * nametag,int ** fds,bool tag) prog_fd_by_nametag() argument
882 prog_parse_fds(int * argc,char *** argv,int ** fds) prog_parse_fds() argument
950 int *fds = NULL; prog_parse_fd() local
975 map_fd_by_name(char * name,int ** fds,const struct bpf_get_fd_by_id_opts * opts) map_fd_by_name() argument
1052 map_parse_fds(int * argc,char *** argv,int ** fds,__u32 open_flags) map_parse_fds() argument
1113 int *fds = NULL; map_parse_fd() local
[all...]
H A Dmap.c633 int *fds = NULL; do_show_subset() local
769 maps_have_btf(int * fds,int nb_fds) maps_have_btf() argument
907 int *fds = NULL; do_dump() local
[all...]
/linux/tools/testing/selftests/bpf/benchs/
H A Dbench_local_storage_create.c13 int *fds; member
149 if (fds[i] == -1) in sk_producer() local
[all...]
/linux/io_uring/
H A Dopenclose.c320 int __user *fds; global() member
349 int ret, fds[2] = { -1, -1 }; io_pipe_fixed() local
397 int ret, fds[2] = { -1, -1 }; io_pipe_fd() local
[all...]
H A Deventfd.c124 __s32 __user *fds = arg; in io_eventfd_register() local
/linux/arch/um/os-Linux/
H A Dfile.c365 int os_pipe(int *fds, int stream, int close_on_exec) in os_pipe()
507 ssize_t os_rcv_fd_msg(int fd, int *fds, unsigned int n_fds, in os_rcv_fd_msg()
643 int os_sendmsg_fds(int fd, const void *buf, unsigned int len, const int *fds, in os_sendmsg_fds()
678 int os_poll(unsigned int n, const int *fds) in os_poll()
/linux/tools/testing/vsock/
H A Dvsock_test_zerocopy.c152 struct pollfd fds = { 0 }; in test_client() local
370 struct pollfd fds; in test_stream_msgzcopy_mangle_client() local
H A Dvsock_perf.c204 struct pollfd fds = { 0 }; in run_receiver() local
329 struct pollfd fds = { 0 }; in run_sender() local
H A Dvsock_test.c208 int fds[MULTICONN_NFDS]; in test_stream_multiconn_client() local
232 int fds[MULTICONN_NFDS]; in test_stream_multiconn_server() local
878 struct pollfd fds; test_stream_poll_rcvlowat_client() local
1488 struct pollfd fds; test_stream_credit_update_test() local
1639 struct pollfd fds = { 0 }; test_stream_msgzcopy_leak_errq_client() local
[all...]
/linux/arch/um/drivers/
H A Dubd_user.c30 int fds[2], err; in start_io_thread() local
/linux/samples/nitro_enclaves/
H A Dne_ioctl_sample.c199 struct pollfd fds[1] = {}; in ne_poll_enclave_fd() local
656 struct pollfd fds[1] = {}; in ne_start_enclave_check_booted() local
/linux/tools/testing/selftests/powerpc/pmu/
H A Dlib.h20 int fds[2]; member
/linux/tools/testing/selftests/cgroup/
H A Dwait_inotify.c33 struct pollfd fds = { .events = POLLIN, }; in main() local
/linux/tools/include/nolibc/sys/
H A Dselect.h21 unsigned long fds[(FD_SETSIZE + FD_SETBITMASK) / FD_SETIDXMASK]; member
/linux/tools/testing/selftests/filesystems/mount_cycle/
H A Dmount_cover_test.c124 int fds[4], ret; in cover_child() local
246 int to_parent[2], to_child[2], fds[4], pidfd, status; in FIXTURE_SETUP() local

123