Home
last modified time | relevance | path

Searched full:rfds (Results 1 – 22 of 22) sorted by relevance

/linux/tools/include/nolibc/sys/
H A Dselect.h64 int _sys_select(int nfds, fd_set *rfds, fd_set *wfds, fd_set *efds, struct timeval *timeout) in sys_select() argument
73 return __nolibc_syscall6(__NR_pselect6_time64, nfds, rfds, wfds, efds, in sys_select()
82 return __nolibc_syscall6(__NR_pselect6, nfds, rfds, wfds, efds, in sys_select()
88 int select(int nfds, fd_set *rfds, fd_set *wfds, fd_set *efds, struct timeval *timeout) in sys_select()
90 return __sysret(_sys_select(nfds, rfds, wfds, efds, timeout)); in sys_select()
97 select(int nfds,fd_set * rfds,fd_set * wfds,fd_set * efds,struct timeval * timeout) select() argument
/linux/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 …]
/linux/tools/usb/ffs-aio-example/multibuff/device_app/
H A Daio_multibuff.c245 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/tools/usb/ffs-aio-example/simple/device_app/
H A Daio_simple.c233 fd_set rfds; in main() local
298 FD_ZERO(&rfds); in main()
299 FD_SET(ep0, &rfds); in main()
300 FD_SET(evfd, &rfds); in main()
303 &rfds, NULL, NULL, NULL); in main()
311 if (FD_ISSET(ep0, &rfds)) in main()
319 if (FD_ISSET(evfd, &rfds)) { in main()
/linux/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)) {
/linux/drivers/net/ethernet/i825xx/
H A Dlib82596.c307 struct i596_rfd rfds[RX_RING_SIZE] __attribute__((aligned(32))); member
521 for (i = 0, rfd = dma->rfds; i < rx_ring_size; i++, rfd++) { in init_rx_bufs()
528 lp->rfd_head = dma->rfds; in init_rx_bufs()
529 dma->scb.rfd = SWAP32(virt_to_dma(lp, dma->rfds)); in init_rx_bufs()
530 rfd = dma->rfds; in init_rx_bufs()
532 rfd->v_prev = dma->rfds + rx_ring_size - 1; in init_rx_bufs()
533 rfd = dma->rfds + rx_ring_size - 1; in init_rx_bufs()
534 rfd->v_next = dma->rfds; in init_rx_bufs()
535 rfd->b_next = SWAP32(virt_to_dma(lp, dma->rfds)); in init_rx_bufs()
568 dma->rfds[i].rbd = I596_NULL; in rebuild_rx_bufs()
[all …]
H A D82596.c331 struct i596_rfd rfds[RX_RING_SIZE]; member
574 for (i = 0, rfd = lp->rfds; i < rx_ring_size; i++, rfd++) { in init_rx_bufs()
581 lp->rfd_head = lp->rfds; in init_rx_bufs()
582 lp->scb.rfd = WSWAPrfd(virt_to_bus(lp->rfds)); in init_rx_bufs()
583 rfd = lp->rfds; in init_rx_bufs()
585 rfd->v_prev = lp->rfds + rx_ring_size - 1; in init_rx_bufs()
586 rfd = lp->rfds + rx_ring_size - 1; in init_rx_bufs()
587 rfd->v_next = lp->rfds; in init_rx_bufs()
588 rfd->b_next = WSWAPrfd(virt_to_bus(lp->rfds)); in init_rx_bufs()
603 lp->rfds[i].rbd = I596_NULL; in rebuild_rx_bufs()
[all …]
H A Dsun3_82586.c856 volatile struct rfd_struct *rfds=p->rfd_top; in sun3_82586_rcv_int()
861 rbds = (struct rbd_struct *) make32(rfds->rbd_offset); in sun3_82586_rcv_int()
862 printk("%04x:%04x ",rfds->status,rbds->status); in sun3_82586_rcv_int()
863 rfds = (struct rfd_struct *) make32(rfds->next); in sun3_82586_rcv_int()
H A Dether1.c473 * all rfds circularly linked, rbds circularly linked. in ether1_init_for_open()
/linux/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()
259 " mov $rfds, %%ecx\n" /* ecx arg2 */ in run_syscall()
274 " cmp $rfds, %%ecx\n" /* ecx arg2 */ in run_syscall()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dsocket_helpers.h300 fd_set rfds; in poll_read() local
303 FD_ZERO(&rfds); in poll_read()
304 FD_SET(fd, &rfds); in poll_read()
306 r = select(fd + 1, &rfds, NULL, NULL, &timeout); in poll_read()
H A Dtc_redirect.c1119 fd_set rfds, wfds; in tun_relay_loop() local
1121 FD_ZERO(&rfds); in tun_relay_loop()
1128 FD_SET(src_fd, &rfds); in tun_relay_loop()
1129 FD_SET(target_fd, &rfds); in tun_relay_loop()
1131 if (select(1 + MAX(src_fd, target_fd), &rfds, NULL, NULL, NULL) < 0) { in tun_relay_loop()
1136 direction = FD_ISSET(src_fd, &rfds) ? SRC_TO_TARGET : TARGET_TO_SRC; in tun_relay_loop()
/linux/tools/testing/selftests/net/
H A Dnettest.c1253 fd_set rfds; in msg_loop() local
1277 FD_ZERO(&rfds); in msg_loop()
1278 FD_SET(sd, &rfds); in msg_loop()
1280 FD_SET(fileno(stdin), &rfds); in msg_loop()
1282 rc = select(nfds, &rfds, NULL, NULL, ptval); in msg_loop()
1296 if (FD_ISSET(sd, &rfds)) { in msg_loop()
1308 if (FD_ISSET(fileno(stdin), &rfds)) { in msg_loop()
1570 fd_set rfds; in do_server() local
1619 FD_ZERO(&rfds); in do_server()
1620 FD_SET(lsd, &rfds); in do_server()
[all …]
/linux/drivers/net/ethernet/intel/
H A De100.c92 * and the controller happily fills RFDs as frames arrive. If
93 * replacement RFDs cannot be allocated, or the RU goes non-active,
532 struct param_range rfds; member
1037 struct param_range rfds = { .min = 16, .max = 256, .count = 256 }; in e100_get_defaults() local
1045 nic->params.rfds = rfds; in e100_get_defaults()
2130 unsigned int i, count = nic->params.rfds.count; in e100_rx_clean_list()
2153 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()
[all …]
/linux/arch/x86/kernel/cpu/
H A Dcommon.c1277 #define RFDS BIT(7) macro
1319 VULNBL_INTEL_TYPE(INTEL_ALDERLAKE, ATOM, RFDS | VMSCAPE),
1321 VULNBL_INTEL_STEPS(INTEL_ALDERLAKE_L, X86_STEP_MAX, RFDS | VMSCAPE),
1322 VULNBL_INTEL_TYPE(INTEL_RAPTORLAKE, ATOM, RFDS | VMSCAPE),
1324 VULNBL_INTEL_STEPS(INTEL_RAPTORLAKE_P, X86_STEP_MAX, RFDS | VMSCAPE),
1325 VULNBL_INTEL_STEPS(INTEL_RAPTORLAKE_S, X86_STEP_MAX, RFDS | VMSCAPE),
1334 VULNBL_INTEL_STEPS(INTEL_ATOM_GRACEMONT, X86_STEP_MAX, RFDS | VMSCAPE),
1335 VULNBL_INTEL_STEPS(INTEL_ATOM_TREMONT, X86_STEP_MAX, MMIO | MMIO_SBDS | RFDS),
1336 VULNBL_INTEL_STEPS(INTEL_ATOM_TREMONT_D, X86_STEP_MAX, MMIO | RFDS),
1337 VULNBL_INTEL_STEPS(INTEL_ATOM_TREMONT_L, X86_STEP_MAX, MMIO | MMIO_SBDS | RFDS),
[all …]
/linux/tools/testing/selftests/net/mptcp/
H A Dpm_nl_ctl.c112 fd_set rfds; in capture_events() local
121 FD_ZERO(&rfds); in capture_events()
122 FD_SET(fd, &rfds); in capture_events()
126 ret = select(FD_SETSIZE, &rfds, NULL, NULL, NULL); in capture_events()
/linux/Documentation/admin-guide/hw-vuln/
H A Dattack_vector_controls.rst212 RFDS X X X X
/linux/drivers/net/ethernet/atheros/alx/
H A Dhw.h188 * 17 | Number of RFDs 17 |
/linux/arch/x86/
H A DKconfig2574 bool "RFDS Mitigation"
2578 Enable mitigation for Register File Data Sampling (RFDS) by default.
2579 RFDS is a hardware vulnerability which affects Intel Atom CPUs. It
/linux/drivers/net/ethernet/agere/
H A Det131x.c173 /* number of RFDs - default and min */
1995 /* The RFDs are going to be put on lists later on, so initialize the in et131x_rx_dma_memory_alloc()
2012 /* Free RFDs and associated packet descriptors */ in et131x_rx_dma_memory_free()
/linux/tools/arch/x86/include/asm/
H A Dcpufeatures.h566 #define X86_BUG_RFDS X86_BUG( 1*32+ 2) /* "rfds" CPU is vulnerable to Register File Data Sampling…
/linux/Documentation/admin-guide/
H A Dkernel-parameters.txt1355 Sampling (RFDS) vulnerability. RFDS is a CPU
1359 RFDS only affects Intel Atom processors.
1367 are enabled. In order to disable RFDS mitigation all