Searched refs:vring_desc (Results 1 – 6 of 6) sorted by relevance
/lk-master/dev/virtio/include/dev/virtio/ |
A D | virtio_ring.h | 64 struct vring_desc { struct 104 struct vring_desc *desc; 148 vr->avail = p + num*sizeof(struct vring_desc); in vring_init() 154 return ((sizeof(struct vring_desc) * num + sizeof(uint16_t) * (3 + num) in vring_size()
|
/lk-master/dev/virtio/include/dev/ |
A D | virtio.h | 57 struct vring_desc *virtio_alloc_desc_chain(struct virtio_device *dev, uint ring_index, size_t count… 59 static inline struct vring_desc *virtio_desc_index_to_desc(struct virtio_device *dev, uint ring_ind… in virtio_desc_index_to_desc() 64 void virtio_dump_desc(const struct vring_desc *desc);
|
/lk-master/dev/virtio/ |
A D | virtio.c | 58 void virtio_dump_desc(const struct vring_desc *desc) { in virtio_dump_desc() 240 struct vring_desc *desc = &dev->ring[ring_index].desc[i]; in virtio_alloc_desc() 248 struct vring_desc *virtio_alloc_desc_chain(struct virtio_device *dev, uint ring_index, size_t count… in virtio_alloc_desc_chain() 253 struct vring_desc *last = 0; in virtio_alloc_desc_chain() 257 struct vring_desc *desc = &dev->ring[ring_index].desc[i]; in virtio_alloc_desc_chain()
|
/lk-master/dev/virtio/block/ |
A D | virtio-block.c | 169 struct vring_desc *desc = virtio_desc_index_to_desc(dev, ring, i); in virtio_block_irq_driver_callback() 197 struct vring_desc *desc; in virtio_block_read_write() 258 struct vring_desc *next_desc = virtio_desc_index_to_desc(dev, 0, next_i); in virtio_block_read_write()
|
/lk-master/dev/virtio/net/ |
A D | virtio-net.c | 210 struct vring_desc *desc = virtio_alloc_desc_chain(vdev, RING_TX, 2, &i); in virtio_net_queue_tx_pktbuf() 293 struct vring_desc *desc = virtio_alloc_desc_chain(vdev, RING_RX, 1, &i); in virtio_net_queue_rx() 327 struct vring_desc *desc = virtio_desc_index_to_desc(dev, ring, i); in virtio_net_irq_driver_callback()
|
/lk-master/dev/virtio/gpu/ |
A D | virtio-gpu.c | 71 struct vring_desc *desc = virtio_alloc_desc_chain(gdev->dev, 0, 2, &i); in send_command_response() 478 struct vring_desc *desc = virtio_desc_index_to_desc(dev, ring, i); in virtio_gpu_irq_driver_callback()
|
Completed in 9 milliseconds