Home
last modified time | relevance | path

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

123

/linux-6.6.21/tools/testing/selftests/net/
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()
Dpsock_fanout.c235 static int sock_fanout_read(int fds[], char *rings[], const int expect[]) in sock_fanout_read()
269 int fds[2]; in test_control_group() local
306 int fds[3]; in test_control_group_max_num_members() local
356 int fds[3]; in test_unique_fanout_group_ids() local
414 int fds[2], fds_udp[2][2], ret; in test_datapath() local
Dip_local_port_range.c216 int fds[2], i; in TEST_F() local
294 int fds[8]; in TEST_F() local
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/
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()
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()
Dlwt_helpers.h104 fd_set fds; in wait_for_packet() local
/linux-6.6.21/tools/bpf/bpftool/
Dcommon.c734 static int prog_fd_by_nametag(void *nametag, int **fds, bool tag) in prog_fd_by_nametag()
802 int prog_parse_fds(int *argc, char ***argv, int **fds) in prog_parse_fds()
870 int *fds = NULL; in prog_parse_fd() local
895 static int map_fd_by_name(char *name, int **fds) in map_fd_by_name()
953 int map_parse_fds(int *argc, char ***argv, int **fds) in map_parse_fds()
1007 int *fds = NULL; in map_parse_fd() local
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-6.6.21/tools/testing/selftests/bpf/benchs/
Dbench_local_storage_create.c13 int *fds; member
149 int *fds = t->fds; in sk_producer() local
/linux-6.6.21/fs/
Dselect.c414 #define FDS_IN(fds, n) (fds->in + n) argument
415 #define FDS_OUT(fds, n) (fds->out + n) argument
416 #define FDS_EX(fds, n) (fds->ex + n) argument
418 #define BITS(fds, n) (*FDS_IN(fds, n)|*FDS_OUT(fds, n)|*FDS_EX(fds, n)) argument
420 static int max_select_fd(unsigned long n, fd_set_bits *fds) in max_select_fd()
479 static int do_select(int n, fd_set_bits *fds, struct timespec64 *end_time) in do_select()
628 fd_set_bits fds; in core_sys_select() local
1022 struct pollfd *fds = walk->entries; in do_sys_poll() local
1198 fd_set_bits fds; in compat_core_sys_select() local
/linux-6.6.21/arch/um/drivers/
Dubd_user.c30 int pid, fds[2], err; in start_io_thread() local
Dslirp_user.c52 int fds[2], pid, err; in slirp_open() local
Dslip_user.c78 int pid, fds[2], err, output_len; in slip_tramp() local
/linux-6.6.21/tools/testing/selftests/pidfd/
Dpidfd_poll_test.c28 struct pollfd fds; in main() local
/linux-6.6.21/tools/testing/selftests/powerpc/pmu/
Dlib.h20 int fds[2]; member
/linux-6.6.21/samples/nitro_enclaves/
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-6.6.21/tools/testing/selftests/cgroup/
Dwait_inotify.c33 struct pollfd fds = { .events = POLLIN, }; in main() local
/linux-6.6.21/scripts/
Djobserver-exec28 fds = opts[-1].split("=", 1)[1] variable
/linux-6.6.21/arch/um/os-Linux/
Dfile.c375 int os_pipe(int *fds, int stream, int close_on_exec) in os_pipe()
646 int os_sendmsg_fds(int fd, const void *buf, unsigned int len, const int *fds, in os_sendmsg_fds()
681 int os_poll(unsigned int n, const int *fds) in os_poll()
Dhelper.c47 int pid, fds[2], ret, n; in run_helper() local
/linux-6.6.21/tools/testing/vsock/
Dvsock_test.c212 int fds[MULTICONN_NFDS]; in test_stream_multiconn_client() local
236 int fds[MULTICONN_NFDS]; in test_stream_multiconn_server() local
909 struct pollfd fds; in test_stream_poll_rcvlowat_client() local
/linux-6.6.21/tools/testing/selftests/bpf/
Dnetwork_helpers.c152 int *fds; in start_reuseport_server() local
187 void free_fds(int *fds, unsigned int nr_close_fds) in free_fds()
/linux-6.6.21/io_uring/
Drsrc.c360 __s32 __user *fds = u64_to_user_ptr(up->data); in __io_sqe_files_update() local
586 __s32 __user *fds = u64_to_user_ptr(up->arg); in io_files_update_with_index_alloc() local
855 __s32 __user *fds = (__s32 __user *) arg; in io_sqe_files_register() local
/linux-6.6.21/arch/um/os-Linux/drivers/
Dtuntap_user.c133 int err, fds[2], len, used; in tuntap_open() local
/linux-6.6.21/tools/testing/selftests/sync/
Dsync.c60 struct pollfd fds; in sync_wait() local

123