Home
last modified time | relevance | path

Searched refs:iov_ofs (Results 1 – 3 of 3) sorted by relevance

/openbmc/qemu/hw/net/
H A De1000e_core.c1493 size_t iov_ofs = 0; in e1000e_write_packet_to_guest() local
1553 iov_ofs += iov_copy; in e1000e_write_packet_to_guest()
1556 iov_ofs = 0; in e1000e_write_packet_to_guest()
1579 iov_ofs += iov_copy; in e1000e_write_packet_to_guest()
1580 if (iov_ofs == iov->iov_len) { in e1000e_write_packet_to_guest()
1582 iov_ofs = 0; in e1000e_write_packet_to_guest()
1636 size_t iov_ofs = 0; in e1000e_receive_internal() local
1652 iov_ofs = sizeof(struct virtio_net_hdr); in e1000e_receive_internal()
1658 size = orig_size - iov_ofs; in e1000e_receive_internal()
1662 iov_to_buf(iov, iovcnt, iov_ofs, buf, size); in e1000e_receive_internal()
[all …]
H A Digb_core.c1266 size_t iov_ofs; member
1777 pdma_st->iov_ofs += iov_copy; in igb_write_header_to_rx_buffers()
1778 if (pdma_st->iov_ofs == pdma_st->iov->iov_len) { in igb_write_header_to_rx_buffers()
1780 pdma_st->iov_ofs = 0; in igb_write_header_to_rx_buffers()
1845 pdma_st->iov_ofs += iov_copy; in igb_write_payload_to_rx_buffers()
1848 pdma_st->iov_ofs = 0; in igb_write_payload_to_rx_buffers()
1999 size_t iov_ofs = 0; in igb_receive_internal() local
2021 iov_ofs = sizeof(struct virtio_net_hdr); in igb_receive_internal()
2027 size = orig_size - iov_ofs; in igb_receive_internal()
2031 iov_to_buf(iov, iovcnt, iov_ofs, &buf, size); in igb_receive_internal()
[all …]
H A De1000.c888 size_t iov_ofs = 0; in e1000_receive_iov() local
920 iov_ofs = 4; in e1000_receive_iov()
925 while (iov->iov_len <= iov_ofs) { in e1000_receive_iov()
926 iov_ofs -= iov->iov_len; in e1000_receive_iov()
960 iov_copy = MIN(copy_size, iov->iov_len - iov_ofs); in e1000_receive_iov()
961 pci_dma_write(d, ba, iov->iov_base + iov_ofs, iov_copy); in e1000_receive_iov()
964 iov_ofs += iov_copy; in e1000_receive_iov()
965 if (iov_ofs == iov->iov_len) { in e1000_receive_iov()
967 iov_ofs = 0; in e1000_receive_iov()