Lines Matching refs:out_num

1546                                   unsigned out_num)  in virtio_net_handle_ctrl_iov()  argument
1555 iov_size(out_sg, out_num) < sizeof(ctrl)) { in virtio_net_handle_ctrl_iov()
1560 iov2 = iov = g_memdup2(out_sg, sizeof(struct iovec) * out_num); in virtio_net_handle_ctrl_iov()
1561 s = iov_to_buf(iov, out_num, 0, &ctrl, sizeof(ctrl)); in virtio_net_handle_ctrl_iov()
1562 iov_discard_front(&iov, &out_num, sizeof(ctrl)); in virtio_net_handle_ctrl_iov()
1566 status = virtio_net_handle_rx_mode(n, ctrl.cmd, iov, out_num); in virtio_net_handle_ctrl_iov()
1568 status = virtio_net_handle_mac(n, ctrl.cmd, iov, out_num); in virtio_net_handle_ctrl_iov()
1570 status = virtio_net_handle_vlan_table(n, ctrl.cmd, iov, out_num); in virtio_net_handle_ctrl_iov()
1572 status = virtio_net_handle_announce(n, ctrl.cmd, iov, out_num); in virtio_net_handle_ctrl_iov()
1574 status = virtio_net_handle_mq(n, ctrl.cmd, iov, out_num); in virtio_net_handle_ctrl_iov()
1576 status = virtio_net_handle_offloads(n, ctrl.cmd, iov, out_num); in virtio_net_handle_ctrl_iov()
1598 elem->out_sg, elem->out_num); in virtio_net_handle_ctrl()
2704 unsigned int out_num; in virtio_net_flush_tx() local
2713 out_num = elem->out_num; in virtio_net_flush_tx()
2715 if (out_num < 1) { in virtio_net_flush_tx()
2721 if (iov_to_buf(out_sg, out_num, 0, &vhdr, sizeof(vhdr)) < in virtio_net_flush_tx()
2729 out_num = iov_copy(&sg2[1], ARRAY_SIZE(sg2) - 1, out_sg, out_num, in virtio_net_flush_tx()
2731 if (out_num == VIRTQUEUE_MAX_SIZE) { in virtio_net_flush_tx()
2734 out_num += 1; in virtio_net_flush_tx()
2744 if (iov_size(out_sg, out_num) < n->guest_hdr_len) { in virtio_net_flush_tx()
2749 out_sg, out_num, in virtio_net_flush_tx()
2752 out_sg, out_num, in virtio_net_flush_tx()
2754 out_num = sg_num; in virtio_net_flush_tx()
2757 if (out_num < 1) { in virtio_net_flush_tx()
2764 out_sg, out_num, virtio_net_tx_complete); in virtio_net_flush_tx()