/linux/tools/testing/selftests/net/ |
H A D | psock_fanout.c | 263 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 D | ip_local_port_range.c | 232 int fds[2], i; in TEST_F() local 310 int fds[8]; in TEST_F() local
|
/linux/tools/include/nolibc/ |
H A D | poll.h | 24 int sys_poll(struct pollfd *fds, int nfds, int timeout) in sys_poll() 50 int poll(struct pollfd *fds, int nfds, int timeout) in poll()
|
/linux/tools/testing/selftests/pidfd/ |
H A D | pidfd_info_test.c | 203 struct pollfd fds = {}; in TEST_F() local 243 struct pollfd fds = {}; in TEST_F() local 421 struct pollfd fds = {}; in TEST_F() local 570 struct pollfd fds = {}; in TEST_F() local
|
H A D | pidfd_poll_test.c | 28 struct pollfd fds; in main() local
|
H A D | pidfd_getfd_test.c | 246 struct pollfd fds; in TEST_F() local
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A 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()
|
H A D | sock_iter_batch.c | 89 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 D | migrate_reuseport.c | 128 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 D | lwt_helpers.h | 74 fd_set fds; in wait_for_packet() local
|
/linux/tools/bpf/bpftool/ |
H A D | common.c | 810 static int prog_fd_by_nametag(void *nametag, int **fds, bool tag) in prog_fd_by_nametag() 878 int prog_parse_fds(int *argc, char ***argv, int **fds) in prog_parse_fds() 946 int *fds = NULL; in prog_parse_fd() local 971 static int map_fd_by_name(char *name, int **fds, in map_fd_by_name() 1046 int map_parse_fds(int *argc, char ***argv, int **fds, __u32 open_flags) in map_parse_fds() 1107 int *fds = NULL; in map_parse_fd() local
|
/linux/drivers/vfio/cdx/ |
H A D | intr.c | 104 int32_t *fds) in vfio_cdx_msi_set_block() 161 s32 *fds = data; in vfio_cdx_set_msi_trigger() local
|
/linux/tools/testing/selftests/bpf/benchs/ |
H A D | bench_local_storage_create.c | 13 int *fds; member 149 int *fds = t->fds; in sk_producer() local
|
/linux/io_uring/ |
H A D | openclose.c | 310 int __user *fds; member 338 int ret, fds[2] = { -1, -1 }; in io_pipe_fixed() local 384 int ret, fds[2] = { -1, -1 }; in io_pipe_fd() local
|
H A D | eventfd.c | 119 __s32 __user *fds = arg; in io_eventfd_register() local
|
/linux/fs/ |
H A D | select.c | 411 #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/tools/testing/selftests/bpf/ |
H A D | io_helpers.c | 10 fd_set fds; in read_with_timeout() local
|
H A D | network_helpers.c | 181 int *fds; in start_reuseport_server() local 214 void free_fds(int *fds, unsigned int nr_close_fds) in free_fds() 962 fd_set fds; in traffic_monitor_thread() local
|
/linux/arch/um/drivers/ |
H A D | ubd_user.c | 30 int fds[2], err; in start_io_thread() local
|
/linux/tools/testing/selftests/powerpc/pmu/ |
H A D | lib.h | 20 int fds[2]; member
|
/linux/samples/nitro_enclaves/ |
H A D | ne_ioctl_sample.c | 199 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/cgroup/ |
H A D | wait_inotify.c | 33 struct pollfd fds = { .events = POLLIN, }; in main() local
|
/linux/scripts/ |
H A D | jobserver-exec | 28 fds = opts[-1].split("=", 1)[1] variable
|
/linux/tools/testing/vsock/ |
H A D | vsock_test.c | 208 int fds[MULTICONN_NFDS]; in test_stream_multiconn_client() local 232 int fds[MULTICONN_NFDS]; in test_stream_multiconn_server() local 834 struct pollfd fds; in test_stream_poll_rcvlowat_client() local 1444 struct pollfd fds; in test_stream_credit_update_test() local 1606 struct pollfd fds = { 0 }; in test_stream_msgzcopy_leak_errq_client() local
|
/linux/drivers/infiniband/core/ |
H A D | ucaps.c | 247 int ib_get_ucaps(int *fds, int fd_count, uint64_t *idx_mask) in ib_get_ucaps()
|