Home
last modified time | relevance | path

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

123

/linux/tools/testing/selftests/net/
H A Dpsock_lib.h77 static __maybe_unused void pair_udp_open(int fds[], uint16_t port) in pair_udp_open()
113 static __maybe_unused void pair_udp_send_char(int fds[], int num, char payload) in pair_udp_send_char()
135 static __maybe_unused void pair_udp_send(int fds[], int num) in pair_udp_send()
140 static __maybe_unused void pair_udp_close(int fds[]) in pair_udp_close()
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 Dip_local_port_range.c232 int fds[2], i; in TEST_F() local
310 int fds[8]; in TEST_F() 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 Dmigrate_reuseport.c128 static void init_fds(__s64 fds[], int len) in init_fds()
136 static void close_fds(__s64 fds[], int len) in close_fds()
H A Dsock_iter_batch.c18 int *fds[2] = {}; in do_test() local
H A Dlwt_helpers.h103 fd_set fds; in wait_for_packet() local
/linux/tools/bpf/bpftool/
H A Dcommon.c806 static int prog_fd_by_nametag(void *nametag, int **fds, bool tag) in prog_fd_by_nametag()
874 int prog_parse_fds(int *argc, char ***argv, int **fds) in prog_parse_fds()
942 int *fds = NULL; in prog_parse_fd() local
967 static int map_fd_by_name(char *name, int **fds) in map_fd_by_name()
1025 int map_parse_fds(int *argc, char ***argv, int **fds) in map_parse_fds()
1079 int *fds = NULL; in map_parse_fd() local
H A Dmap.c633 int *fds = NULL; in do_show_subset() local
768 static int maps_have_btf(int *fds, int nb_fds) in maps_have_btf()
901 int *fds = NULL; in do_dump() local
/linux/tools/testing/selftests/bpf/benchs/
H A Dbench_local_storage_create.c13 int *fds; member
149 int *fds = t->fds; in sk_producer() local
/linux/fs/
H A Dselect.c411 #define FDS_IN(fds, n) (fds->in + n) argument
412 #define FDS_OUT(fds, n) (fds->out + n) argument
413 #define FDS_EX(fds, n) (fds->ex + n) argument
415 #define BITS(fds, n) (*FDS_IN(fds, n)|*FDS_OUT(fds, n)|*FDS_EX(fds, n)) argument
417 static int max_select_fd(unsigned long n, fd_set_bits *fds) in max_select_fd()
483 static noinline_for_stack int do_select(int n, fd_set_bits *fds, struct timespec64 *end_time) in do_select()
624 fd_set_bits fds; in core_sys_select() local
1016 struct pollfd *fds = walk->entries; in do_sys_poll() local
1192 fd_set_bits fds; in compat_core_sys_select() local
/linux/arch/um/os-Linux/
H A Dfile.c380 int os_pipe(int *fds, int stream, int close_on_exec) in os_pipe()
522 ssize_t os_rcv_fd_msg(int fd, int *fds, unsigned int n_fds, in os_rcv_fd_msg()
658 int os_sendmsg_fds(int fd, const void *buf, unsigned int len, const int *fds, in os_sendmsg_fds()
693 int os_poll(unsigned int n, const int *fds) in os_poll()
H A Dhelper.c47 int pid, fds[2], ret, n; in run_helper() 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/vsock/
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.c216 int fds[MULTICONN_NFDS]; in test_stream_multiconn_client() local
240 int fds[MULTICONN_NFDS]; in test_stream_multiconn_server() local
842 struct pollfd fds; in test_stream_poll_rcvlowat_client() local
1360 struct pollfd fds; in test_stream_credit_update_test() local
/linux/tools/testing/selftests/pidfd/
H A Dpidfd_poll_test.c28 struct pollfd fds; in main() local
H A Dpidfd_getfd_test.c246 struct pollfd fds; in TEST_F() 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/scripts/
H A Djobserver-exec28 fds = opts[-1].split("=", 1)[1] variable
/linux/io_uring/
H A Drsrc.c162 __s32 __user *fds = u64_to_user_ptr(up->data); in __io_sqe_files_update() local
381 __s32 __user *fds = u64_to_user_ptr(up->arg); in io_files_update_with_index_alloc() local
482 __s32 __user *fds = (__s32 __user *) arg; in io_sqe_files_register() local
H A Deventfd.c159 __s32 __user *fds = arg; in io_eventfd_register() local
/linux/tools/testing/selftests/bpf/
H A Dnetwork_helpers.c181 int *fds; in start_reuseport_server() local
214 void free_fds(int *fds, unsigned int nr_close_fds) in free_fds()
894 fd_set fds; in traffic_monitor_thread() local
/linux/arch/um/os-Linux/drivers/
H A Dtuntap_user.c133 int err, fds[2], len, used; in tuntap_open() local

123