/Linux-v6.1/tools/power/acpi/tools/acpidbg/ |
D | acpidbg.c | 267 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 …]
|
/Linux-v6.1/tools/usb/ffs-aio-example/simple/device_app/ |
D | aio_simple.c | 215 fd_set rfds; in main() local 280 FD_ZERO(&rfds); in main() 281 FD_SET(ep0, &rfds); in main() 282 FD_SET(evfd, &rfds); in main() 285 &rfds, NULL, NULL, NULL); in main() 293 if (FD_ISSET(ep0, &rfds)) in main() 301 if (FD_ISSET(evfd, &rfds)) { in main()
|
/Linux-v6.1/tools/usb/ffs-aio-example/multibuff/device_app/ |
D | aio_multibuff.c | 245 fd_set rfds; in main() local 303 FD_ZERO(&rfds); in main() 304 FD_SET(ep0, &rfds); in main() 305 FD_SET(evfd, &rfds); in main() 308 &rfds, NULL, NULL, NULL); in main() 316 if (FD_ISSET(ep0, &rfds)) in main() 349 if (!FD_ISSET(evfd, &rfds)) in main()
|
/Linux-v6.1/tools/testing/selftests/x86/ |
D | test_syscall_vdso.c | 172 fd_set rfds; variable 185 FD_ZERO(&rfds); in prep_args() 188 FD_SET(0, &rfds); in prep_args()
|
/Linux-v6.1/drivers/net/ethernet/i825xx/ |
D | 82596.c | 332 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 …]
|
D | lib82596.c | 308 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 …]
|
D | sun3_82586.c | 855 volatile struct rfd_struct *rfds=p->rfd_top; in sun3_82586_rcv_int() 860 rbds = (struct rbd_struct *) make32(rfds->rbd_offset); in sun3_82586_rcv_int() 861 printk("%04x:%04x ",rfds->status,rbds->status); in sun3_82586_rcv_int() 862 rfds = (struct rfd_struct *) make32(rfds->next); in sun3_82586_rcv_int()
|
/Linux-v6.1/Documentation/usb/ |
D | gadget_hid.rst | 377 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)) {
|
/Linux-v6.1/tools/testing/selftests/net/ |
D | nettest.c | 1208 fd_set rfds; in msg_loop() local 1232 FD_ZERO(&rfds); in msg_loop() 1233 FD_SET(sd, &rfds); in msg_loop() 1235 FD_SET(fileno(stdin), &rfds); in msg_loop() 1237 rc = select(nfds, &rfds, NULL, NULL, ptval); in msg_loop() 1251 if (FD_ISSET(sd, &rfds)) { in msg_loop() 1263 if (FD_ISSET(fileno(stdin), &rfds)) { in msg_loop() 1508 fd_set rfds; in do_server() local 1557 FD_ZERO(&rfds); in do_server() 1558 FD_SET(lsd, &rfds); in do_server() [all …]
|
/Linux-v6.1/tools/include/nolibc/ |
D | sys.h | 942 int sys_select(int nfds, fd_set *rfds, fd_set *wfds, fd_set *efds, struct timeval *timeout) in sys_select() argument 949 } arg = { .n = nfds, .r = rfds, .w = wfds, .e = efds, .t = timeout }; in sys_select() 958 return my_syscall6(__NR_pselect6, nfds, rfds, wfds, efds, timeout ? &t : NULL, NULL); in sys_select() 963 return my_syscall5(__NR__newselect, nfds, rfds, wfds, efds, timeout); in sys_select() 970 int select(int nfds, fd_set *rfds, fd_set *wfds, fd_set *efds, struct timeval *timeout) in select() argument 972 int ret = sys_select(nfds, rfds, wfds, efds, timeout); in select()
|
/Linux-v6.1/drivers/net/ethernet/intel/ |
D | e100.c | 533 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() 2131 unsigned int i, count = nic->params.rfds.count; in e100_rx_clean_list() 2154 unsigned int i, count = nic->params.rfds.count; in e100_rx_alloc_list() 2561 struct param_range *rfds = &nic->params.rfds; in e100_get_ringparam() local 2564 ring->rx_max_pending = rfds->max; in e100_get_ringparam() 2566 ring->rx_pending = rfds->count; in e100_get_ringparam() 2576 struct param_range *rfds = &nic->params.rfds; in e100_set_ringparam() local 2584 rfds->count = max(ring->rx_pending, rfds->min); in e100_set_ringparam() [all …]
|
/Linux-v6.1/tools/testing/selftests/bpf/prog_tests/ |
D | tc_redirect.c | 959 fd_set rfds, wfds; in tun_relay_loop() local 961 FD_ZERO(&rfds); in tun_relay_loop() 968 FD_SET(src_fd, &rfds); in tun_relay_loop() 969 FD_SET(target_fd, &rfds); in tun_relay_loop() 971 if (select(1 + MAX(src_fd, target_fd), &rfds, NULL, NULL, NULL) < 0) { in tun_relay_loop() 976 direction = FD_ISSET(src_fd, &rfds) ? SRC_TO_TARGET : TARGET_TO_SRC; in tun_relay_loop()
|
D | sockmap_listen.c | 201 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()
|
/Linux-v6.1/tools/testing/selftests/bpf/ |
D | test_sock_addr.c | 1118 fd_set rfds; in recvmsg_from_client() local 1120 FD_ZERO(&rfds); in recvmsg_from_client() 1121 FD_SET(sockfd, &rfds); in recvmsg_from_client() 1126 if (select(sockfd + 1, &rfds, NULL, NULL, &tv) <= 0 || in recvmsg_from_client() 1127 !FD_ISSET(sockfd, &rfds)) in recvmsg_from_client()
|
/Linux-v6.1/tools/testing/selftests/net/mptcp/ |
D | pm_nl_ctl.c | 109 fd_set rfds; in capture_events() local 116 FD_ZERO(&rfds); in capture_events() 117 FD_SET(fd, &rfds); in capture_events() 121 ret = select(FD_SETSIZE, &rfds, NULL, NULL, NULL); in capture_events()
|