Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/tools/testing/selftests/net/
Dpsock_lib.h75 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()
Dpsock_fanout.c221 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/liteos_m/kal/posix/src/
Dpoll.c91 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/
Dcommon.c651 static int prog_fd_by_nametag(void *nametag, int **fds, bool tag) in prog_fd_by_nametag()
710 int prog_parse_fds(int *argc, char ***argv, int **fds) in prog_parse_fds()
778 int *fds = NULL; in prog_parse_fd() local
803 static int map_fd_by_name(char *name, int **fds) in map_fd_by_name()
861 int map_parse_fds(int *argc, char ***argv, int **fds) in map_parse_fds()
915 int *fds = NULL; in map_parse_fd() local
Dmap.c648 int *fds = NULL; in do_show_subset() local
773 static int maps_have_btf(int *fds, int nb_fds) in maps_have_btf()
907 int *fds = NULL; in do_dump() local
/kernel/liteos_a/testsuites/unittest/net/socket/smoke/
Dnet_socket_test_011.cpp53 static void GetReadfds(fd_set *fds, int *nfd) in GetReadfds()
118 static int HandleReadfds(fd_set *fds, int lsfd) in HandleReadfds()
Dnet_socket_test_008.cpp54 static void GetReadfds(fd_set *fds, int *nfd) in GetReadfds()
139 static int HandleReadfds(fd_set *fds, int lsfd) in HandleReadfds()
Dnet_socket_test_009.cpp54 static void GetReadfds(struct pollfd *fds, int *nfd) in GetReadfds()
138 static int HandleReadfds(struct pollfd *fds, int nfds, int lsfd) in HandleReadfds()
Dnet_socket_test_013.cpp55 static void GetReadfds(fd_set *fds, int *nfd) in GetReadfds()
120 static int HandleReadfds(fd_set *fds, int lsfd) in HandleReadfds()
/kernel/linux/linux-5.10/tools/testing/vsock/
Dvsock_test.c207 int fds[MULTICONN_NFDS]; in test_stream_multiconn_client() local
231 int fds[MULTICONN_NFDS]; in test_stream_multiconn_server() local
/kernel/linux/linux-5.10/scripts/
Djobserver-exec26 fds = opts[0].split("=", 1)[1] variable
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/pmu/
Dlib.h20 int fds[2]; member
/kernel/linux/linux-5.10/tools/testing/selftests/pidfd/
Dpidfd_poll_test.c28 struct pollfd fds; in main() local
/kernel/liteos_a/testsuites/unittest/libc/io/full/
DIt_stdlib_poll_002.cpp42 struct pollfd fds[LISTEN_FD_NUM] = {0}; in Pthread01() local
/kernel/linux/linux-5.10/fs/
Dselect.c413 #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-5.10/samples/nitro_enclaves/
Dne_ioctl_sample.c200 struct pollfd fds[1] = {}; in ne_poll_enclave_fd() local
657 struct pollfd fds[1] = {}; in ne_start_enclave_check_booted() local
/kernel/linux/linux-5.10/samples/bpf/
Dxdpsock_user.c1102 struct pollfd *fds) in complete_tx_l2fwd()
1175 static void rx_drop(struct xsk_socket_info *xsk, struct pollfd *fds) in rx_drop()
1220 struct pollfd fds[MAX_SOCKS] = {}; in rx_drop_all() local
1300 struct pollfd fds[MAX_SOCKS] = {}; in tx_only_all() local
1337 static void l2fwd(struct xsk_socket_info *xsk, struct pollfd *fds) in l2fwd()
1390 struct pollfd fds[MAX_SOCKS] = {}; in l2fwd_all() local
/kernel/linux/linux-5.10/arch/um/os-Linux/
Dfile.c375 int os_pipe(int *fds, int stream, int close_on_exec) in os_pipe()
637 int os_sendmsg_fds(int fd, const void *buf, unsigned int len, const int *fds, in os_sendmsg_fds()
672 int os_poll(unsigned int n, const int *fds) in os_poll()
Dhelper.c46 int pid, fds[2], ret, n; in run_helper() local
/kernel/liteos_a/kernel/common/
Dvirtual_serial.c174 STATIC INT32 SerialPoll(struct file *filep, poll_table *fds) in SerialPoll()
/kernel/linux/linux-5.10/drivers/vfio/pci/
Dvfio_pci_intrs.c368 unsigned count, int32_t *fds, bool msix) in vfio_msi_set_block()
526 int32_t *fds = data; in vfio_pci_set_msi_trigger() local
/kernel/linux/linux-5.10/arch/um/os-Linux/drivers/
Dtuntap_user.c133 int err, fds[2], len, used; in tuntap_open() local
/kernel/linux/linux-5.10/tools/testing/selftests/sync/
Dsync.c60 struct pollfd fds; in sync_wait() local

123