Searched refs:_vq (Results 1 – 3 of 3) sorted by relevance
/linux-6.6.21/drivers/virtio/ |
D | virtio_ring.c | 20 #define BAD_RING(_vq, fmt, args...) \ argument 22 dev_err(&(_vq)->vq.vdev->dev, \ 23 "%s:"fmt, (_vq)->vq.name, ##args); \ 27 #define START_USE(_vq) \ argument 29 if ((_vq)->in_use) \ 31 (_vq)->vq.name, (_vq)->in_use); \ 32 (_vq)->in_use = __LINE__; \ 34 #define END_USE(_vq) \ argument 35 do { BUG_ON(!(_vq)->in_use); (_vq)->in_use = 0; } while(0) 36 #define LAST_ADD_TIME_UPDATE(_vq) \ argument [all …]
|
/linux-6.6.21/include/linux/ |
D | virtio.h | 84 int virtqueue_set_dma_premapped(struct virtqueue *_vq); 148 void __virtqueue_break(struct virtqueue *_vq); 149 void __virtqueue_unbreak(struct virtqueue *_vq); 215 dma_addr_t virtqueue_dma_map_single_attrs(struct virtqueue *_vq, void *ptr, size_t size, 217 void virtqueue_dma_unmap_single_attrs(struct virtqueue *_vq, dma_addr_t addr, 220 int virtqueue_dma_mapping_error(struct virtqueue *_vq, dma_addr_t addr); 222 bool virtqueue_dma_need_sync(struct virtqueue *_vq, dma_addr_t addr); 223 void virtqueue_dma_sync_single_range_for_cpu(struct virtqueue *_vq, dma_addr_t addr, 226 void virtqueue_dma_sync_single_range_for_device(struct virtqueue *_vq, dma_addr_t addr,
|
D | virtio_ring.h | 120 irqreturn_t vring_interrupt(int irq, void *_vq); 122 u32 vring_notification_data(struct virtqueue *_vq);
|