Home
last modified time | relevance | path

Searched refs:rx_fd (Results 1 – 6 of 6) sorted by relevance

/Linux-v6.6/arch/um/drivers/
Dvector_user.c219 result->rx_fd = -1; in user_init_tap_fds()
240 result->rx_fd = fd; in user_init_tap_fds()
273 result->rx_fd = -1; in user_init_hybrid_fds()
288 result->rx_fd = create_raw_fd(iface, ETH_P_ALL, ETH_P_ALL); in user_init_hybrid_fds()
289 if (result->rx_fd == -1) { in user_init_hybrid_fds()
291 "uml_tap: failed to create paired raw socket: %i\n", result->rx_fd); in user_init_hybrid_fds()
372 result->rx_fd = fd; in user_init_unix_fds()
424 result->rx_fd = fd; in user_init_fd_fds()
461 result->rx_fd = rxfd; in user_init_raw_fds()
618 result->rx_fd = fd; in user_init_socket_fds()
Dvector_kern.c871 pkt_len = uml_vector_recvmsg(vp->fds->rx_fd, &hdr, 0); in vector_legacy_rx()
977 vp->fds->rx_fd, qi->mmsg_vector, qi->max_depth, 0); in vector_mmsg_rx()
1054 deactivate_fd(vp->fds->rx_fd, vp->rx_irq); in vector_net_start_xmit()
1055 if ((vp->fds->rx_fd != vp->fds->tx_fd) && (vp->tx_irq != 0)) in vector_net_start_xmit()
1139 if (vp->fds->rx_fd > 0) { in vector_net_close()
1141 uml_vector_detach_bpf(vp->fds->rx_fd, vp->bpf); in vector_net_close()
1142 os_close_file(vp->fds->rx_fd); in vector_net_close()
1143 vp->fds->rx_fd = -1; in vector_net_close()
1265 irq_rr + VECTOR_BASE_IRQ, vp->fds->rx_fd, in vector_net_open()
1294 if (!uml_raw_enable_qdisc_bypass(vp->fds->rx_fd)) in vector_net_open()
[all …]
Dvector_user.h64 int rx_fd; member
Dvector_transports.c402 if (uml_raw_enable_vnet_headers(vp->fds->rx_fd)) { in build_raw_transport_data()
423 if (uml_raw_enable_vnet_headers(vp->fds->rx_fd)) { in build_hybrid_transport_data()
/Linux-v6.6/tools/testing/selftests/bpf/
Dtest_sockmap.c740 int rx_fd, txpid, rxpid, err = 0; in sendmsg_test() local
750 rx_fd = p1; in sendmsg_test()
752 rx_fd = p2; in sendmsg_test()
760 err = sockmap_init_ktls(opt->verbose, rx_fd); in sendmsg_test()
797 err = msg_loop(rx_fd, iov_count, iov_buf, in sendmsg_test()
/Linux-v6.6/drivers/net/ethernet/atheros/
Dag71xx.c768 u32 rx_sm, tx_sm, rx_fd; in ag71xx_check_dma_stuck() local
782 rx_fd = ag71xx_rr(ag, AG71XX_REG_FIFO_DEPTH); in ag71xx_check_dma_stuck()
784 ((rx_sm >> 4) & 0x7) == 0 && rx_fd == 0) in ag71xx_check_dma_stuck()