Home
last modified time | relevance | path

Searched refs:rfds (Results 1 – 17 of 17) sorted by relevance

/OK3568_Linux_fs/kernel/tools/power/acpi/tools/acpidbg/
H A Dacpidbg.c267 fd_set rfds; in acpi_aml_loop() local
285 FD_ZERO(&rfds); in acpi_aml_loop()
290 maxfd = acpi_aml_set_fd(STDIN_FILENO, maxfd, &rfds); in acpi_aml_loop()
302 maxfd = acpi_aml_set_fd(fd, maxfd, &rfds); in acpi_aml_loop()
306 ret = select(maxfd+1, &rfds, &wfds, NULL, &tv); in acpi_aml_loop()
312 if (FD_ISSET(STDIN_FILENO, &rfds)) in acpi_aml_loop()
320 if (FD_ISSET(fd, &rfds)) { in acpi_aml_loop()
338 fd_set rfds; in acpi_aml_readable() local
345 FD_ZERO(&rfds); in acpi_aml_readable()
346 maxfd = acpi_aml_set_fd(fd, maxfd, &rfds); in acpi_aml_readable()
[all …]
/OK3568_Linux_fs/kernel/tools/usb/ffs-aio-example/multibuff/device_app/
H A Daio_multibuff.c311 fd_set rfds; in main() local
369 FD_ZERO(&rfds); in main()
370 FD_SET(ep0, &rfds); in main()
371 FD_SET(evfd, &rfds); in main()
374 &rfds, NULL, NULL, NULL); in main()
382 if (FD_ISSET(ep0, &rfds)) in main()
415 if (!FD_ISSET(evfd, &rfds)) in main()
/OK3568_Linux_fs/kernel/tools/usb/ffs-aio-example/simple/device_app/
H A Daio_simple.c281 fd_set rfds; in main() local
346 FD_ZERO(&rfds); in main()
347 FD_SET(ep0, &rfds); in main()
348 FD_SET(evfd, &rfds); in main()
351 &rfds, NULL, NULL, NULL); in main()
359 if (FD_ISSET(ep0, &rfds)) in main()
367 if (FD_ISSET(evfd, &rfds)) { in main()
/OK3568_Linux_fs/u-boot/tools/
H A Dkwboot.c159 fd_set rfds; in kwboot_tty_recv() local
165 FD_ZERO(&rfds); in kwboot_tty_recv()
166 FD_SET(fd, &rfds); in kwboot_tty_recv()
176 nfds = select(fd + 1, &rfds, NULL, NULL, &tv); in kwboot_tty_recv()
533 fd_set rfds; in kwboot_terminal() local
536 FD_SET(tty, &rfds); in kwboot_terminal()
540 FD_SET(in, &rfds); in kwboot_terminal()
544 nfds = select(nfds + 1, &rfds, NULL, NULL, NULL); in kwboot_terminal()
548 if (FD_ISSET(tty, &rfds)) { in kwboot_terminal()
554 if (FD_ISSET(in, &rfds)) { in kwboot_terminal()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/i825xx/
H A D82596.c332 struct i596_rfd rfds[RX_RING_SIZE]; member
575 for (i = 0, rfd = lp->rfds; i < rx_ring_size; i++, rfd++) { in init_rx_bufs()
582 lp->rfd_head = lp->rfds; in init_rx_bufs()
583 lp->scb.rfd = WSWAPrfd(virt_to_bus(lp->rfds)); in init_rx_bufs()
584 rfd = lp->rfds; in init_rx_bufs()
586 rfd->v_prev = lp->rfds + rx_ring_size - 1; in init_rx_bufs()
587 rfd = lp->rfds + rx_ring_size - 1; in init_rx_bufs()
588 rfd->v_next = lp->rfds; in init_rx_bufs()
589 rfd->b_next = WSWAPrfd(virt_to_bus(lp->rfds)); in init_rx_bufs()
604 lp->rfds[i].rbd = I596_NULL; in rebuild_rx_bufs()
[all …]
H A Dlib82596.c308 struct i596_rfd rfds[RX_RING_SIZE] __attribute__((aligned(32))); member
522 for (i = 0, rfd = dma->rfds; i < rx_ring_size; i++, rfd++) { in init_rx_bufs()
529 lp->rfd_head = dma->rfds; in init_rx_bufs()
530 dma->scb.rfd = SWAP32(virt_to_dma(lp, dma->rfds)); in init_rx_bufs()
531 rfd = dma->rfds; in init_rx_bufs()
533 rfd->v_prev = dma->rfds + rx_ring_size - 1; in init_rx_bufs()
534 rfd = dma->rfds + rx_ring_size - 1; in init_rx_bufs()
535 rfd->v_next = dma->rfds; in init_rx_bufs()
536 rfd->b_next = SWAP32(virt_to_dma(lp, dma->rfds)); in init_rx_bufs()
569 dma->rfds[i].rbd = I596_NULL; in rebuild_rx_bufs()
[all …]
H A Dsun3_82586.c859 volatile struct rfd_struct *rfds=p->rfd_top; in sun3_82586_rcv_int()
864 rbds = (struct rbd_struct *) make32(rfds->rbd_offset); in sun3_82586_rcv_int()
865 printk("%04x:%04x ",rfds->status,rbds->status); in sun3_82586_rcv_int()
866 rfds = (struct rfd_struct *) make32(rfds->next); in sun3_82586_rcv_int()
/OK3568_Linux_fs/kernel/tools/testing/selftests/x86/
H A Dtest_syscall_vdso.c172 fd_set rfds; variable
185 FD_ZERO(&rfds); in prep_args()
188 FD_SET(0, &rfds); in prep_args()
/OK3568_Linux_fs/buildroot/dl/rtmpdump/git/
H A Drtmpsuck.c744 fd_set rfds; in doServe() local
752 FD_ZERO(&rfds); in doServe()
753 FD_SET(sockfd, &rfds); in doServe()
755 if (select(sockfd + 1, &rfds, NULL, NULL, &tv) <= 0) in doServe()
806 FD_ZERO(&rfds); in doServe()
808 FD_SET(sockfd, &rfds); in doServe()
810 FD_SET(server->rc.m_sb.sb_socket, &rfds); in doServe()
816 if (select(n + 1, &rfds, NULL, NULL, &tv) <= 0) in doServe()
831 FD_ISSET(server->rs.m_sb.sb_socket, &rfds)) in doServe()
834 FD_ISSET(server->rc.m_sb.sb_socket, &rfds)) in doServe()
/OK3568_Linux_fs/kernel/tools/testing/selftests/net/
H A Dnettest.c944 fd_set rfds; in msg_loop() local
968 FD_ZERO(&rfds); in msg_loop()
969 FD_SET(sd, &rfds); in msg_loop()
971 FD_SET(fileno(stdin), &rfds); in msg_loop()
973 rc = select(nfds, &rfds, NULL, NULL, ptval); in msg_loop()
987 if (FD_ISSET(sd, &rfds)) { in msg_loop()
999 if (FD_ISSET(fileno(stdin), &rfds)) { in msg_loop()
1190 fd_set rfds; in do_server() local
1223 FD_ZERO(&rfds); in do_server()
1224 FD_SET(lsd, &rfds); in do_server()
[all …]
/OK3568_Linux_fs/kernel/Documentation/usb/
H A Dgadget_hid.rst377 fd_set rfds;
400 FD_ZERO(&rfds);
401 FD_SET(STDIN_FILENO, &rfds);
402 FD_SET(fd, &rfds);
404 retval = select(fd + 1, &rfds, NULL, NULL, NULL);
412 if (FD_ISSET(fd, &rfds)) {
420 if (FD_ISSET(STDIN_FILENO, &rfds)) {
/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/
H A De100.c533 struct param_range rfds; member
1038 struct param_range rfds = { .min = 16, .max = 256, .count = 256 }; in e100_get_defaults() local
1046 nic->params.rfds = rfds; in e100_get_defaults()
2132 unsigned int i, count = nic->params.rfds.count; in e100_rx_clean_list()
2155 unsigned int i, count = nic->params.rfds.count; in e100_rx_alloc_list()
2560 struct param_range *rfds = &nic->params.rfds; in e100_get_ringparam() local
2563 ring->rx_max_pending = rfds->max; in e100_get_ringparam()
2565 ring->rx_pending = rfds->count; in e100_get_ringparam()
2573 struct param_range *rfds = &nic->params.rfds; in e100_set_ringparam() local
2581 rfds->count = max(ring->rx_pending, rfds->min); in e100_set_ringparam()
[all …]
/OK3568_Linux_fs/kernel/tools/include/nolibc/
H A Dnolibc.h1660 int sys_select(int nfds, fd_set *rfds, fd_set *wfds, fd_set *efds, struct timeval *timeout) in sys_select() argument
1667 } arg = { .n = nfds, .r = rfds, .w = wfds, .e = efds, .t = timeout }; in sys_select()
1676 return my_syscall6(__NR_pselect6, nfds, rfds, wfds, efds, timeout ? &t : NULL, NULL); in sys_select()
1681 return my_syscall5(__NR__newselect, nfds, rfds, wfds, efds, timeout); in sys_select()
2134 int select(int nfds, fd_set *rfds, fd_set *wfds, fd_set *efds, struct timeval *timeout) in select() argument
2136 int ret = sys_select(nfds, rfds, wfds, efds, timeout); in select()
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/
H A Dtest_sock_addr.c1343 fd_set rfds; in recvmsg_from_client() local
1345 FD_ZERO(&rfds); in recvmsg_from_client()
1346 FD_SET(sockfd, &rfds); in recvmsg_from_client()
1351 if (select(sockfd + 1, &rfds, NULL, NULL, &tv) <= 0 || in recvmsg_from_client()
1352 !FD_ISSET(sockfd, &rfds)) in recvmsg_from_client()
/OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/python/python3/
H A D0001-Lib-pty.py-handle-stdin-I-O-errors-same-way-as-maste.patch39 if STDIN_FILENO in rfds:
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/prog_tests/
H A Dsockmap_listen.c201 fd_set rfds; in poll_read() local
204 FD_ZERO(&rfds); in poll_read()
205 FD_SET(fd, &rfds); in poll_read()
207 r = select(fd + 1, &rfds, NULL, NULL, &timeout); in poll_read()
/OK3568_Linux_fs/buildroot/dl/stressapptest/git/src/
H A Dworker.cc2123 fd_set rfds; in Wait() local
2128 FD_ZERO(&rfds); in Wait()
2129 FD_SET(sock_, &rfds); in Wait()
2134 retval = select(sock_ + 1, &rfds, NULL, NULL, &tv); in Wait()