/linux/tools/testing/selftests/net/ |
H A 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()
|
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/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 | 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 | sock_iter_batch.c | 18 int *fds[2] = {}; in do_test() local
|
H A D | lwt_helpers.h | 103 fd_set fds; in wait_for_packet() local
|
/linux/tools/bpf/bpftool/ |
H A D | common.c | 806 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 D | map.c | 633 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 D | bench_local_storage_create.c | 13 int *fds; member 149 int *fds = t->fds; in sk_producer() 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/arch/um/os-Linux/ |
H A D | file.c | 380 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 D | helper.c | 47 int pid, fds[2], ret, n; in run_helper() local
|
/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/vsock/ |
H A D | vsock_perf.c | 204 struct pollfd fds = { 0 }; in run_receiver() local 329 struct pollfd fds = { 0 }; in run_sender() local
|
H A D | vsock_test.c | 216 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 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/powerpc/pmu/ |
H A D | lib.h | 20 int fds[2]; member
|
/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/io_uring/ |
H A D | rsrc.c | 162 __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 D | eventfd.c | 159 __s32 __user *fds = arg; in io_eventfd_register() local
|
/linux/tools/testing/selftests/bpf/ |
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() 894 fd_set fds; in traffic_monitor_thread() local
|
/linux/arch/um/os-Linux/drivers/ |
H A D | tuntap_user.c | 133 int err, fds[2], len, used; in tuntap_open() local
|