Lines Matching refs:sg_set_buf
369 sg_set_buf(vi->rx_sg, &hdr->hdr, sizeof hdr->hdr); in add_recvbuf_small()
394 sg_set_buf(&vi->rx_sg[i], page_address(first), PAGE_SIZE); in add_recvbuf_big()
410 sg_set_buf(&vi->rx_sg[0], p, sizeof(struct virtio_net_hdr)); in add_recvbuf_big()
414 sg_set_buf(&vi->rx_sg[1], p + offset, PAGE_SIZE - offset); in add_recvbuf_big()
609 sg_set_buf(vi->tx_sg, &hdr->mhdr, sizeof hdr->mhdr); in xmit_skb()
611 sg_set_buf(vi->tx_sg, &hdr->hdr, sizeof hdr->hdr); in xmit_skb()
767 sg_set_buf(&sg[0], &ctrl, sizeof(ctrl)); in virtnet_send_command()
769 sg_set_buf(&sg[i + 1], sg_virt(s), s->length); in virtnet_send_command()
770 sg_set_buf(&sg[out + in - 1], &status, sizeof(status)); in virtnet_send_command()
851 sg_set_buf(&sg[0], mac_data, in virtnet_set_rx_mode()
862 sg_set_buf(&sg[1], mac_data, in virtnet_set_rx_mode()