Searched refs:tx_fd (Results 1 – 5 of 5) sorted by relevance
223 result->tx_fd = -1; in user_init_tap_fds()242 result->tx_fd = fd; in user_init_tap_fds()277 result->tx_fd = -1; in user_init_hybrid_fds()283 result->tx_fd = create_tap_fd(iface); in user_init_hybrid_fds()284 if (result->tx_fd < 0) { in user_init_hybrid_fds()285 printk(UM_KERN_ERR "uml_tap: failed to create tun interface: %i\n", result->tx_fd); in user_init_hybrid_fds()376 result->tx_fd = fd; in user_init_unix_fds()428 result->tx_fd = fd; in user_init_fd_fds()506 result->tx_fd = sv[0]; in user_init_vde_fds()543 result->tx_fd = txfd; in user_init_raw_fds()[all …]
403 if (!uml_raw_enable_vnet_headers(vp->fds->tx_fd)) in build_raw_transport_data()440 if (uml_tap_enable_vnet_headers(vp->fds->tx_fd)) in build_hybrid_transport_data()448 if (uml_tap_enable_vnet_headers(vp->fds->tx_fd)) { in build_tap_transport_data()
65 int tx_fd; member
416 vp->fds->tx_fd, in vector_send()916 vp->fds->tx_fd, in writev_tx()1047 if ((vp->fds->rx_fd != vp->fds->tx_fd) && (vp->tx_irq != 0)) in vector_net_start_xmit()1048 deactivate_fd(vp->fds->tx_fd, vp->tx_irq); in vector_net_start_xmit()1138 if (vp->fds->tx_fd > 0) { in vector_net_close()1139 os_close_file(vp->fds->tx_fd); in vector_net_close()1140 vp->fds->tx_fd = -1; in vector_net_close()1267 irq_rr + VECTOR_BASE_IRQ, vp->fds->tx_fd, in vector_net_open()
357 int tx_fd; in transfer_file() local364 tx_fd = open(filename, O_RDONLY); in transfer_file()365 if (tx_fd < 0) in transfer_file()376 bytes = read(tx_fd, tx, sb.st_size); in transfer_file()383 close(tx_fd); in transfer_file()