Home
last modified time | relevance | path

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

/linux/net/vmw_vsock/
H A Dvirtio_transport_common.c40 static bool virtio_transport_can_zcopy(const struct virtio_transport *t_ops, in virtio_transport_can_zcopy() argument
59 t_ops = virtio_transport_get_ops(info->vsk); in virtio_transport_can_zcopy()
61 if (t_ops->can_msgzerocopy) { in virtio_transport_can_zcopy()
65 return t_ops->can_msgzerocopy(pages_to_send + 1); in virtio_transport_can_zcopy()
330 const struct virtio_transport *t_ops; in virtio_transport_send_pkt_info() local
339 t_ops = virtio_transport_get_ops(vsk); in virtio_transport_send_pkt_info()
340 if (unlikely(!t_ops)) in virtio_transport_send_pkt_info()
343 src_cid = t_ops->transport.get_local_cid(); in virtio_transport_send_pkt_info()
370 can_zcopy = virtio_transport_can_zcopy(t_ops, info, pkt_len); in virtio_transport_send_pkt_info()
411 ret = t_ops->send_pkt(skb); in virtio_transport_send_pkt_info()