Home
last modified time | relevance | path

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

/linux-6.1.9/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.c870 pkt_len = uml_vector_recvmsg(vp->fds->rx_fd, &hdr, 0); in vector_legacy_rx()
976 vp->fds->rx_fd, qi->mmsg_vector, qi->max_depth, 0); in vector_mmsg_rx()
1053 deactivate_fd(vp->fds->rx_fd, vp->rx_irq); in vector_net_start_xmit()
1054 if ((vp->fds->rx_fd != vp->fds->tx_fd) && (vp->tx_irq != 0)) in vector_net_start_xmit()
1138 if (vp->fds->rx_fd > 0) { in vector_net_close()
1140 uml_vector_detach_bpf(vp->fds->rx_fd, vp->bpf); in vector_net_close()
1141 os_close_file(vp->fds->rx_fd); in vector_net_close()
1142 vp->fds->rx_fd = -1; in vector_net_close()
1264 irq_rr + VECTOR_BASE_IRQ, vp->fds->rx_fd, in vector_net_open()
1293 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-6.1.9/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-6.1.9/drivers/net/ethernet/atheros/
Dag71xx.c767 u32 rx_sm, tx_sm, rx_fd; in ag71xx_check_dma_stuck() local
781 rx_fd = ag71xx_rr(ag, AG71XX_REG_FIFO_DEPTH); in ag71xx_check_dma_stuck()
783 ((rx_sm >> 4) & 0x7) == 0 && rx_fd == 0) in ag71xx_check_dma_stuck()