| /kernel/linux/linux-5.10/tools/testing/selftests/net/ |
| D | psock_lib.h | 75 static __maybe_unused void pair_udp_open(int fds[], uint16_t port) in pair_udp_open() 111 static __maybe_unused void pair_udp_send_char(int fds[], int num, char payload) in pair_udp_send_char() 133 static __maybe_unused void pair_udp_send(int fds[], int num) in pair_udp_send() 138 static __maybe_unused void pair_udp_close(int fds[]) in pair_udp_close()
|
| D | psock_fanout.c | 221 static int sock_fanout_read(int fds[], char *rings[], const int expect[]) in sock_fanout_read() 255 int fds[2]; in test_control_group() local 292 int fds[3]; in test_unique_fanout_group_ids() local 350 int fds[2], fds_udp[2][2], ret; in test_datapath() local
|
| /kernel/linux/linux-6.6/tools/testing/selftests/net/ |
| D | psock_lib.h | 77 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()
|
| D | psock_fanout.c | 235 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
|
| /kernel/liteos_m/kal/posix/src/ |
| D | poll.c | 91 STATIC INT32 QueryFds(struct pollfd *fds, nfds_t nfds, struct PollTable *table) in QueryFds() 157 STATIC INLINE INT32 PollTimedWait(struct pollfd *fds, nfds_t nfds, struct PollTable *table, INT32 t… in PollTimedWait() 200 int poll(struct pollfd *fds, nfds_t nfds, int timeout) in poll()
|
| /kernel/linux/linux-5.10/tools/bpf/bpftool/ |
| D | common.c | 654 static int prog_fd_by_nametag(void *nametag, int **fds, bool tag) in prog_fd_by_nametag() 713 int prog_parse_fds(int *argc, char ***argv, int **fds) in prog_parse_fds() 781 int *fds = NULL; in prog_parse_fd() local 806 static int map_fd_by_name(char *name, int **fds) in map_fd_by_name() 864 int map_parse_fds(int *argc, char ***argv, int **fds) in map_parse_fds() 918 int *fds = NULL; in map_parse_fd() local
|
| /kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/ |
| D | bpf_iter_setsockopt.c | 22 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()
|
| /kernel/linux/linux-6.6/tools/bpf/bpftool/ |
| D | common.c | 734 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
|
| /kernel/liteos_a/testsuites/unittest/net/socket/smoke/ |
| D | net_socket_test_011.cpp | 53 static void GetReadfds(fd_set *fds, int *nfd) in GetReadfds() 118 static int HandleReadfds(fd_set *fds, int lsfd) in HandleReadfds()
|
| D | net_socket_test_008.cpp | 54 static void GetReadfds(fd_set *fds, int *nfd) in GetReadfds() 139 static int HandleReadfds(fd_set *fds, int lsfd) in HandleReadfds()
|
| D | net_socket_test_009.cpp | 54 static void GetReadfds(struct pollfd *fds, int *nfd) in GetReadfds() 138 static int HandleReadfds(struct pollfd *fds, int nfds, int lsfd) in HandleReadfds()
|
| D | net_socket_test_013.cpp | 55 static void GetReadfds(fd_set *fds, int *nfd) in GetReadfds() 120 static int HandleReadfds(fd_set *fds, int lsfd) in HandleReadfds()
|
| /kernel/linux/linux-6.6/tools/testing/selftests/bpf/benchs/ |
| D | bench_local_storage_create.c | 13 int *fds; member 149 int *fds = t->fds; in sk_producer() local
|
| /kernel/linux/linux-5.10/tools/testing/vsock/ |
| D | vsock_test.c | 207 int fds[MULTICONN_NFDS]; in test_stream_multiconn_client() local 231 int fds[MULTICONN_NFDS]; in test_stream_multiconn_server() local
|
| /kernel/linux/linux-6.6/arch/um/drivers/ |
| D | ubd_user.c | 30 int pid, fds[2], err; in start_io_thread() local
|
| /kernel/linux/linux-5.10/arch/um/drivers/ |
| D | ubd_user.c | 30 int pid, fds[2], err; in start_io_thread() local
|
| /kernel/linux/linux-5.10/scripts/ |
| D | jobserver-exec | 26 fds = opts[0].split("=", 1)[1] variable
|
| /kernel/linux/linux-5.10/tools/testing/selftests/pidfd/ |
| D | pidfd_poll_test.c | 28 struct pollfd fds; in main() local
|
| /kernel/linux/linux-6.6/tools/testing/selftests/pidfd/ |
| D | pidfd_poll_test.c | 28 struct pollfd fds; in main() local
|
| /kernel/linux/linux-5.10/tools/testing/selftests/powerpc/pmu/ |
| D | lib.h | 20 int fds[2]; member
|
| /kernel/linux/linux-6.6/tools/testing/selftests/powerpc/pmu/ |
| D | lib.h | 20 int fds[2]; member
|
| /kernel/linux/linux-6.6/fs/ |
| D | select.c | 414 #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 noinline_for_stack 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
|
| /kernel/linux/linux-5.10/fs/ |
| D | select.c | 413 #define FDS_IN(fds, n) (fds->in + n) argument 414 #define FDS_OUT(fds, n) (fds->out + n) argument 415 #define FDS_EX(fds, n) (fds->ex + n) argument 417 #define BITS(fds, n) (*FDS_IN(fds, n)|*FDS_OUT(fds, n)|*FDS_EX(fds, n)) argument 419 static int max_select_fd(unsigned long n, fd_set_bits *fds) in max_select_fd() 478 static int do_select(int n, fd_set_bits *fds, struct timespec64 *end_time) in do_select() 627 fd_set_bits fds; in core_sys_select() local 1021 struct pollfd *fds = walk->entries; in do_sys_poll() local 1197 fd_set_bits fds; in compat_core_sys_select() local
|
| /kernel/linux/linux-6.6/tools/testing/selftests/cgroup/ |
| D | wait_inotify.c | 33 struct pollfd fds = { .events = POLLIN, }; in main() local
|
| /kernel/linux/linux-6.6/scripts/ |
| D | jobserver-exec | 28 fds = opts[-1].split("=", 1)[1] variable
|