Searched refs:cpu_to_vhost32 (Results 1 – 4 of 4) sorted by relevance
| /linux/drivers/vhost/ |
| H A D | net.c | 862 vq->heads[0].id = cpu_to_vhost32(vq, head); in handle_tx_copy() 864 vq->heads[nvq->done_idx].id = cpu_to_vhost32(vq, head); in handle_tx_copy() 925 vq->heads[nvq->upend_idx].id = cpu_to_vhost32(vq, head); in handle_tx_zerocopy() 1112 heads[headcount].id = cpu_to_vhost32(vq, d); in get_rx_bufs() 1113 heads[headcount].len = cpu_to_vhost32(vq, len); in get_rx_bufs() 1132 heads[headcount - 1].len = cpu_to_vhost32(vq, len + datalen); in get_rx_bufs() 1134 heads[0].len = cpu_to_vhost32(vq, len + datalen); in get_rx_bufs() 1135 heads[0].id = cpu_to_vhost32(vq, d); in get_rx_bufs()
|
| H A D | vhost.h | 394 static inline __virtio32 cpu_to_vhost32(struct vhost_virtqueue *vq, u32 val) in cpu_to_vhost32() function
|
| H A D | scsi.c | 587 evt->event.event = cpu_to_vhost32(vq, event); in vhost_scsi_allocate_evt() 588 evt->event.reason = cpu_to_vhost32(vq, reason); in vhost_scsi_allocate_evt() 649 event->event |= cpu_to_vhost32(vq, VIRTIO_SCSI_T_EVENTS_MISSED); in vhost_scsi_do_evt_work() 742 v_rsp.resid = cpu_to_vhost32(cmd->tvc_vq, in vhost_scsi_complete_cmd_work() 746 v_rsp.sense_len = cpu_to_vhost32(cmd->tvc_vq, in vhost_scsi_complete_cmd_work()
|
| H A D | vhost.c | 3094 cpu_to_vhost32(vq, head), in vhost_add_used() 3095 cpu_to_vhost32(vq, len) in vhost_add_used()
|